@tilli-pro/cookieconsent-plugin 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,63 @@
|
|
1
|
+
/** NOTE: to auto-add `!important` suffixes, simply use this RegEx w/ Find + Replace:
|
2
|
+
* > Find: (:)(?![^;]*!important)([^;]+)(;)(?!.*\^)
|
3
|
+
* > Replace: :$2 !important;
|
4
|
+
*/
|
5
|
+
|
6
|
+
/** `tenant:freeman` color-scheme **/
|
7
|
+
.cc--tenant\:freeman-light {
|
8
|
+
--cc-bg: #ffffff !important;
|
9
|
+
--cc-primary-color: #2c2f31 !important;
|
10
|
+
--cc-secondary-color: #5e6266 !important;
|
11
|
+
|
12
|
+
--cc-btn-primary-bg: #00bdf6 !important;
|
13
|
+
--cc-btn-primary-color: #ffffff !important;
|
14
|
+
--cc-btn-primary-border-color: var(--cc-btn-primary-bg) !important;
|
15
|
+
--cc-btn-primary-hover-bg: #5ed6ff !important;
|
16
|
+
--cc-btn-primary-hover-color: #ffffff !important;
|
17
|
+
--cc-btn-primary-hover-border-color: var(
|
18
|
+
--cc-btn-primary-hover-bg
|
19
|
+
) !important;
|
20
|
+
|
21
|
+
--cc-btn-secondary-bg: #e2e8f0 !important;
|
22
|
+
--cc-btn-secondary-color: #334155 !important;
|
23
|
+
--cc-btn-secondary-border-color: var(--cc-btn-secondary-bg) !important;
|
24
|
+
--cc-btn-secondary-hover-bg: #f1f5f9 !important;
|
25
|
+
--cc-btn-secondary-hover-color: #000000 !important;
|
26
|
+
--cc-btn-secondary-hover-border-color: #d4dae0 !important;
|
27
|
+
|
28
|
+
--cc-separator-border-color: #f3f8fc !important;
|
29
|
+
|
30
|
+
--cc-toggle-on-bg: var(--cc-btn-primary-bg) !important;
|
31
|
+
--cc-toggle-off-bg: #667481 !important;
|
32
|
+
--cc-toggle-on-knob-bg: #ffffff !important;
|
33
|
+
--cc-toggle-off-knob-bg: var(--cc-toggle-on-knob-bg) !important;
|
34
|
+
|
35
|
+
--cc-toggle-enabled-icon-color: var(--cc-bg) !important; /* yes (v tick) */
|
36
|
+
--cc-toggle-disabled-icon-color: var(--cc-bg) !important; /* no (x tick) */
|
37
|
+
|
38
|
+
--cc-toggle-readonly-bg: #d5dee2 !important;
|
39
|
+
--cc-toggle-readonly-knob-bg: #fff !important;
|
40
|
+
--cc-toggle-readonly-knob-icon-color: var(--cc-toggle-readonly-bg) !important;
|
41
|
+
|
42
|
+
--cc-section-category-border: var(--cc-cookie-category-block-bg) !important;
|
43
|
+
|
44
|
+
--cc-cookie-category-block-bg: #f3f8fc !important;
|
45
|
+
--cc-cookie-category-block-border: #f3f8fc !important;
|
46
|
+
--cc-cookie-category-block-hover-bg: #f0f4f7 !important;
|
47
|
+
--cc-cookie-category-block-hover-border: #f0f4f7 !important;
|
48
|
+
--cc-cookie-category-expanded-block-bg: transparent !important;
|
49
|
+
--cc-cookie-category-expanded-block-hover-bg: #dee4e9 !important;
|
50
|
+
|
51
|
+
--cc-overlay-bg: rgba(0, 0, 0, 0.65) !important;
|
52
|
+
--cc-webkit-scrollbar-bg: var(--cc-section-category-border) !important;
|
53
|
+
--cc-webkit-scrollbar-hover-bg: var(--cc-btn-primary-hover-bg) !important;
|
54
|
+
|
55
|
+
--cc-footer-bg: #f3f8fc !important;
|
56
|
+
--cc-footer-color: var(--cc-secondary-color) !important;
|
57
|
+
--cc-footer-border-color: #e4eaed !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
/** font */
|
61
|
+
.cc--tenant\:freeman-light #cc-main {
|
62
|
+
font-family: var(--font-inter), var(--cc-font-family) !important;
|
63
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/** NOTE: to auto-add `!important` suffixes, simply use this RegEx w/ Find + Replace:
|
2
|
+
* > Find: (:)(?![^;]*!important)([^;]+)(;)(?!.*\^)
|
3
|
+
* > Replace: :$2 !important;
|
4
|
+
*/
|
5
|
+
|
6
|
+
/** `tenant:frontier` color-scheme **/
|
7
|
+
.cc--tenant\:frontier-light {
|
8
|
+
--cc-bg: #ffffff !important;
|
9
|
+
--cc-primary-color: #2c2f31 !important;
|
10
|
+
--cc-secondary-color: #5e6266 !important;
|
11
|
+
|
12
|
+
--cc-btn-primary-bg: #ff0037 !important;
|
13
|
+
--cc-btn-primary-color: #ffffff !important;
|
14
|
+
--cc-btn-primary-border-color: var(--cc-btn-primary-bg) !important;
|
15
|
+
--cc-btn-primary-hover-bg: #141928 !important;
|
16
|
+
--cc-btn-primary-hover-color: #ffffff !important;
|
17
|
+
--cc-btn-primary-hover-border-color: var(
|
18
|
+
--cc-btn-primary-hover-bg
|
19
|
+
) !important;
|
20
|
+
|
21
|
+
--cc-btn-secondary-bg: #eaeff2 !important;
|
22
|
+
--cc-btn-secondary-color: var(--cc-primary-color) !important;
|
23
|
+
--cc-btn-secondary-border-color: var(--cc-btn-secondary-bg) !important;
|
24
|
+
--cc-btn-secondary-hover-bg: #d4dae0 !important;
|
25
|
+
--cc-btn-secondary-hover-color: #000000 !important;
|
26
|
+
--cc-btn-secondary-hover-border-color: #d4dae0 !important;
|
27
|
+
|
28
|
+
--cc-separator-border-color: #f0f4f7 !important;
|
29
|
+
|
30
|
+
--cc-toggle-on-bg: var(--cc-btn-primary-bg) !important;
|
31
|
+
--cc-toggle-off-bg: #667481 !important;
|
32
|
+
--cc-toggle-on-knob-bg: #ffffff !important;
|
33
|
+
--cc-toggle-off-knob-bg: var(--cc-toggle-on-knob-bg) !important;
|
34
|
+
|
35
|
+
--cc-toggle-enabled-icon-color: var(--cc-bg) !important; /* yes (v tick) */
|
36
|
+
--cc-toggle-disabled-icon-color: var(--cc-bg) !important; /* no (x tick) */
|
37
|
+
|
38
|
+
--cc-toggle-readonly-bg: #d5dee2 !important;
|
39
|
+
--cc-toggle-readonly-knob-bg: #fff !important;
|
40
|
+
--cc-toggle-readonly-knob-icon-color: var(--cc-toggle-readonly-bg) !important;
|
41
|
+
|
42
|
+
--cc-section-category-border: var(--cc-cookie-category-block-bg) !important;
|
43
|
+
|
44
|
+
--cc-cookie-category-block-bg: #f0f4f7 !important;
|
45
|
+
--cc-cookie-category-block-border: #f0f4f7 !important;
|
46
|
+
--cc-cookie-category-block-hover-bg: #e9eff4 !important;
|
47
|
+
--cc-cookie-category-block-hover-border: #e9eff4 !important;
|
48
|
+
--cc-cookie-category-expanded-block-bg: transparent !important;
|
49
|
+
--cc-cookie-category-expanded-block-hover-bg: #dee4e9 !important;
|
50
|
+
|
51
|
+
--cc-overlay-bg: rgba(0, 0, 0, 0.65) !important;
|
52
|
+
--cc-webkit-scrollbar-bg: var(--cc-section-category-border) !important;
|
53
|
+
--cc-webkit-scrollbar-hover-bg: var(--cc-btn-primary-hover-bg) !important;
|
54
|
+
|
55
|
+
--cc-footer-bg: var(--cc-btn-secondary-bg) !important;
|
56
|
+
--cc-footer-color: var(--cc-secondary-color) !important;
|
57
|
+
--cc-footer-border-color: #e4eaed !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
.cc--tenant\:frontier-light button.cm__btn,
|
61
|
+
.cc--tenant\:frontier-light button.pm__btn {
|
62
|
+
border-radius: 9999px !important;
|
63
|
+
text-transform: uppercase !important;
|
64
|
+
font-weight: 700 !important;
|
65
|
+
letter-spacing: 0.025em !important;
|
66
|
+
}
|
67
|
+
|
68
|
+
/** font */
|
69
|
+
.cc--tenant\:frontier-light #cc-main {
|
70
|
+
font-family: var(--font-frontier-pp-object-sans), var(--cc-font-family) !important;
|
71
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tilli-pro/cookieconsent-plugin",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.11",
|
4
4
|
"private": false,
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -10,7 +10,8 @@
|
|
10
10
|
"./*": {
|
11
11
|
"types": "./dist/*.d.ts",
|
12
12
|
"default": [
|
13
|
-
"./dist/*.js"
|
13
|
+
"./dist/*.js",
|
14
|
+
"./dist/*.css"
|
14
15
|
]
|
15
16
|
}
|
16
17
|
},
|
@@ -25,13 +26,14 @@
|
|
25
26
|
"@types/node": "20.17.10",
|
26
27
|
"@types/react": "18.3.11",
|
27
28
|
"@types/react-dom": "18.3.0",
|
29
|
+
"cpx": "1.5.0",
|
28
30
|
"eslint": "9.12.0",
|
29
31
|
"prettier": "3.3.3",
|
30
32
|
"typescript": "5.6.2"
|
31
33
|
},
|
32
34
|
"prettier": "@tilli-pro/prettier-config",
|
33
35
|
"scripts": {
|
34
|
-
"build": "tsc",
|
36
|
+
"build": "tsc && cpx \"src/**/*.css\" dist",
|
35
37
|
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
36
38
|
"format": "prettier --check . --ignore-path ../../.gitignore --ignore-path .gitignore",
|
37
39
|
"lint": "eslint",
|