Skip to content

Commit

Permalink
Merge pull request #95 from humhub/fix-cookie-consent-color-vars
Browse files Browse the repository at this point in the history
FIX - Cookie Color Vars
  • Loading branch information
luke- authored Feb 11, 2025
2 parents f0d8070 + 6c05735 commit 4b2c6ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog
--------------------------
- Fix #85: Fix downloading of large user export data file
- Enh #90: Use PHP CS Fixer
- Fix #95: Fix Color Variables for Cookie Consent Box

1.4.2 (September 13, 2024)
--------------------------
Expand Down
8 changes: 1 addition & 7 deletions resources/cookieconsent.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions widgets/views/cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@
<script <?= Html::nonce() ?>>
window.addEventListener("load", function () {
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "var(--primary)",
"text": "var(--text-color-contrast)"
},
"button": {
"background": "var(--success)",
"text": "var(--text-color-contrast)"
}
},
"showLink": false,
"theme": "classic",
"position": "bottom-right",
Expand Down

0 comments on commit 4b2c6ec

Please sign in to comment.