@polyfen/polykit-tokens 0.3.0 → 0.4.0

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.
@@ -1,82 +1,138 @@
1
1
  {
2
2
  "name": "indigo",
3
- "description": "Fictional example brand: Indigo primary accent, no secondary.",
4
- "secondary": false,
3
+ "description": "Fictional example brand: Indigo primary accent with a magenta secondary, like a marketing site.",
4
+ "secondary": true,
5
5
  "colors": {
6
6
  "light": {
7
7
  "accent": {
8
- "css": "#5b6bd6",
9
- "value": "#5b6bd6"
8
+ "css": "#7a55f5",
9
+ "value": "#7a55f5"
10
10
  },
11
11
  "accent-hover": {
12
- "css": "#7c89de",
13
- "value": "#7c89de"
12
+ "css": "#9274f7",
13
+ "value": "#9274f7"
14
14
  },
15
15
  "accent-tint": {
16
- "css": "#ebedfa",
17
- "value": "#ebedfa"
16
+ "css": "#efe9fe",
17
+ "value": "#efe9fe"
18
18
  },
19
19
  "accent-tint-strong": {
20
- "css": "#ced3f3",
21
- "value": "#ced3f3"
20
+ "css": "#d8cbfc",
21
+ "value": "#d8cbfc"
22
22
  },
23
23
  "on-accent-tint": {
24
- "css": "#2f3a6e",
25
- "value": "#2f3a6e"
24
+ "css": "#2c1170",
25
+ "value": "#2c1170"
26
26
  },
27
27
  "accent-fill": {
28
- "css": "#5b6bd6",
29
- "value": "#5b6bd6"
28
+ "css": "#7a55f5",
29
+ "value": "#7a55f5"
30
30
  },
31
31
  "on-accent": {
32
32
  "css": "#ffffff",
33
33
  "value": "#ffffff"
34
34
  },
35
35
  "focus-field": {
36
- "css": "#5b6bd6",
37
- "value": "#5b6bd6"
36
+ "css": "#7a55f5",
37
+ "value": "#7a55f5"
38
38
  },
39
39
  "focus-halo": {
40
- "css": "rgb(91 107 214 / 0.3)",
41
- "value": "rgb(91 107 214 / 0.3)"
40
+ "css": "rgb(122 85 245 / 0.3)",
41
+ "value": "rgb(122 85 245 / 0.3)"
42
+ },
43
+ "accent-secondary": {
44
+ "css": "#c8197a",
45
+ "value": "#c8197a"
46
+ },
47
+ "accent-secondary-hover": {
48
+ "css": "#dc3f93",
49
+ "value": "#dc3f93"
50
+ },
51
+ "accent-secondary-tint": {
52
+ "css": "#fde9f3",
53
+ "value": "#fde9f3"
54
+ },
55
+ "accent-secondary-tint-strong": {
56
+ "css": "#f8c5df",
57
+ "value": "#f8c5df"
58
+ },
59
+ "on-accent-secondary-tint": {
60
+ "css": "#650b3c",
61
+ "value": "#650b3c"
62
+ },
63
+ "accent-secondary-fill": {
64
+ "css": "#c8197a",
65
+ "value": "#c8197a"
66
+ },
67
+ "on-accent-secondary": {
68
+ "css": "#ffffff",
69
+ "value": "#ffffff"
42
70
  }
43
71
  },
44
72
  "dark": {
45
73
  "accent": {
46
- "css": "#8592f0",
47
- "value": "#8592f0"
74
+ "css": "#a183ff",
75
+ "value": "#a183ff"
48
76
  },
49
77
  "accent-hover": {
50
- "css": "#aab3f5",
51
- "value": "#aab3f5"
78
+ "css": "#bba6ff",
79
+ "value": "#bba6ff"
52
80
  },
53
81
  "accent-tint": {
54
- "css": "#262325",
55
- "value": "#262325"
82
+ "css": "#1f1838",
83
+ "value": "#1f1838"
56
84
  },
57
85
  "accent-tint-strong": {
58
- "css": "#33313f",
59
- "value": "#33313f"
86
+ "css": "#31255e",
87
+ "value": "#31255e"
60
88
  },
61
89
  "on-accent-tint": {
62
- "css": "#bcc3f7",
63
- "value": "#bcc3f7"
90
+ "css": "#cdbdff",
91
+ "value": "#cdbdff"
64
92
  },
65
93
  "accent-fill": {
66
- "css": "#5b6bd6",
67
- "value": "#5b6bd6"
94
+ "css": "#7a55f5",
95
+ "value": "#7a55f5"
68
96
  },
69
97
  "on-accent": {
70
98
  "css": "#ffffff",
71
99
  "value": "#ffffff"
72
100
  },
73
101
  "focus-field": {
74
- "css": "#8592f0",
75
- "value": "#8592f0"
102
+ "css": "#a183ff",
103
+ "value": "#a183ff"
76
104
  },
77
105
  "focus-halo": {
78
- "css": "rgb(133 146 240 / 0.3)",
79
- "value": "rgb(133 146 240 / 0.3)"
106
+ "css": "rgb(161 131 255 / 0.3)",
107
+ "value": "rgb(161 131 255 / 0.3)"
108
+ },
109
+ "accent-secondary": {
110
+ "css": "#ff66b2",
111
+ "value": "#ff66b2"
112
+ },
113
+ "accent-secondary-hover": {
114
+ "css": "#ff8fc6",
115
+ "value": "#ff8fc6"
116
+ },
117
+ "accent-secondary-tint": {
118
+ "css": "#34112a",
119
+ "value": "#34112a"
120
+ },
121
+ "accent-secondary-tint-strong": {
122
+ "css": "#541a43",
123
+ "value": "#541a43"
124
+ },
125
+ "on-accent-secondary-tint": {
126
+ "css": "#ffb0d6",
127
+ "value": "#ffb0d6"
128
+ },
129
+ "accent-secondary-fill": {
130
+ "css": "#c8197a",
131
+ "value": "#c8197a"
132
+ },
133
+ "on-accent-secondary": {
134
+ "css": "#ffffff",
135
+ "value": "#ffffff"
80
136
  }
81
137
  }
82
138
  },
@@ -0,0 +1,22 @@
1
+ /* Polykit brand "magenta".
2
+ * Fictional example brand: Magenta primary accent, with an orange secondary.
3
+ * Opt in with data-brand="magenta" on <html> or any element, after tokens.css.
4
+ * Needs light-dark() (Baseline 2024). */
5
+ [data-brand="magenta"] {
6
+ --pk-brand-accent: light-dark(#c8197a, #ff66b2);
7
+ --pk-brand-accent-hover: light-dark(#dc3f93, #ff8fc6);
8
+ --pk-brand-accent-tint: light-dark(#fde9f3, #34112a);
9
+ --pk-brand-accent-tint-strong: light-dark(#f8c5df, #541a43);
10
+ --pk-brand-on-accent-tint: light-dark(#650b3c, #ffb0d6);
11
+ --pk-brand-accent-fill: #c8197a;
12
+ --pk-brand-on-accent: #ffffff;
13
+ --pk-brand-focus-field: light-dark(#c8197a, #ff66b2);
14
+ --pk-brand-focus-halo: light-dark(rgb(200 25 122 / 0.3), rgb(255 102 178 / 0.3));
15
+ --pk-brand-accent-secondary: light-dark(var(--pk-orange-500), var(--pk-orange-400));
16
+ --pk-brand-accent-secondary-hover: light-dark(var(--pk-orange-400), var(--pk-orange-300));
17
+ --pk-brand-accent-secondary-tint: light-dark(var(--pk-orange-100), var(--pk-orange-850));
18
+ --pk-brand-accent-secondary-tint-strong: light-dark(var(--pk-orange-200), var(--pk-orange-800));
19
+ --pk-brand-on-accent-secondary-tint: light-dark(var(--pk-orange-850), var(--pk-orange-300));
20
+ --pk-brand-accent-secondary-fill: var(--pk-orange-600);
21
+ --pk-brand-on-accent-secondary: #ffffff;
22
+ }
@@ -0,0 +1,192 @@
1
+ {
2
+ "name": "magenta",
3
+ "description": "Fictional example brand: Magenta primary accent, with an orange secondary.",
4
+ "secondary": true,
5
+ "colors": {
6
+ "light": {
7
+ "accent": {
8
+ "css": "#c8197a",
9
+ "value": "#c8197a"
10
+ },
11
+ "accent-hover": {
12
+ "css": "#dc3f93",
13
+ "value": "#dc3f93"
14
+ },
15
+ "accent-tint": {
16
+ "css": "#fde9f3",
17
+ "value": "#fde9f3"
18
+ },
19
+ "accent-tint-strong": {
20
+ "css": "#f8c5df",
21
+ "value": "#f8c5df"
22
+ },
23
+ "on-accent-tint": {
24
+ "css": "#650b3c",
25
+ "value": "#650b3c"
26
+ },
27
+ "accent-fill": {
28
+ "css": "#c8197a",
29
+ "value": "#c8197a"
30
+ },
31
+ "on-accent": {
32
+ "css": "#ffffff",
33
+ "value": "#ffffff"
34
+ },
35
+ "focus-field": {
36
+ "css": "#c8197a",
37
+ "value": "#c8197a"
38
+ },
39
+ "focus-halo": {
40
+ "css": "rgb(200 25 122 / 0.3)",
41
+ "value": "rgb(200 25 122 / 0.3)"
42
+ },
43
+ "accent-secondary": {
44
+ "css": "var(--pk-orange-500)",
45
+ "value": "#f27430"
46
+ },
47
+ "accent-secondary-hover": {
48
+ "css": "var(--pk-orange-400)",
49
+ "value": "#f5925d"
50
+ },
51
+ "accent-secondary-tint": {
52
+ "css": "var(--pk-orange-100)",
53
+ "value": "#fdece2"
54
+ },
55
+ "accent-secondary-tint-strong": {
56
+ "css": "var(--pk-orange-200)",
57
+ "value": "#fbceb6"
58
+ },
59
+ "on-accent-secondary-tint": {
60
+ "css": "var(--pk-orange-850)",
61
+ "value": "#331200"
62
+ },
63
+ "accent-secondary-fill": {
64
+ "css": "var(--pk-orange-600)",
65
+ "value": "#ca6128"
66
+ },
67
+ "on-accent-secondary": {
68
+ "css": "#ffffff",
69
+ "value": "#ffffff"
70
+ }
71
+ },
72
+ "dark": {
73
+ "accent": {
74
+ "css": "#ff66b2",
75
+ "value": "#ff66b2"
76
+ },
77
+ "accent-hover": {
78
+ "css": "#ff8fc6",
79
+ "value": "#ff8fc6"
80
+ },
81
+ "accent-tint": {
82
+ "css": "#34112a",
83
+ "value": "#34112a"
84
+ },
85
+ "accent-tint-strong": {
86
+ "css": "#541a43",
87
+ "value": "#541a43"
88
+ },
89
+ "on-accent-tint": {
90
+ "css": "#ffb0d6",
91
+ "value": "#ffb0d6"
92
+ },
93
+ "accent-fill": {
94
+ "css": "#c8197a",
95
+ "value": "#c8197a"
96
+ },
97
+ "on-accent": {
98
+ "css": "#ffffff",
99
+ "value": "#ffffff"
100
+ },
101
+ "focus-field": {
102
+ "css": "#ff66b2",
103
+ "value": "#ff66b2"
104
+ },
105
+ "focus-halo": {
106
+ "css": "rgb(255 102 178 / 0.3)",
107
+ "value": "rgb(255 102 178 / 0.3)"
108
+ },
109
+ "accent-secondary": {
110
+ "css": "var(--pk-orange-400)",
111
+ "value": "#f5925d"
112
+ },
113
+ "accent-secondary-hover": {
114
+ "css": "var(--pk-orange-300)",
115
+ "value": "#f8b089"
116
+ },
117
+ "accent-secondary-tint": {
118
+ "css": "var(--pk-orange-850)",
119
+ "value": "#331200"
120
+ },
121
+ "accent-secondary-tint-strong": {
122
+ "css": "var(--pk-orange-800)",
123
+ "value": "#4d1d02"
124
+ },
125
+ "on-accent-secondary-tint": {
126
+ "css": "var(--pk-orange-300)",
127
+ "value": "#f8b089"
128
+ },
129
+ "accent-secondary-fill": {
130
+ "css": "var(--pk-orange-600)",
131
+ "value": "#ca6128"
132
+ },
133
+ "on-accent-secondary": {
134
+ "css": "#ffffff",
135
+ "value": "#ffffff"
136
+ }
137
+ }
138
+ },
139
+ "font": {},
140
+ "headingWeight": null,
141
+ "exceptions": {
142
+ "color.danger on color.accent-tint": {
143
+ "themes": [
144
+ "light"
145
+ ],
146
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
147
+ },
148
+ "color.priority-medium on color.accent-tint": {
149
+ "themes": [
150
+ "light"
151
+ ],
152
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
153
+ },
154
+ "color.cat-teal on color.accent-tint": {
155
+ "themes": [
156
+ "light"
157
+ ],
158
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
159
+ },
160
+ "color.accent on color.frame-hover": {
161
+ "themes": [
162
+ "light"
163
+ ],
164
+ "reason": "On the hover fill of the dark frame, the magenta icon of the current item is just under 3:1 in the light theme. The item is also marked by its ink label and bar (principle 4)."
165
+ },
166
+ "color.warning on color.accent-tint": {
167
+ "themes": [
168
+ "light"
169
+ ],
170
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
171
+ },
172
+ "color.accent-secondary on color.canvas": {
173
+ "themes": [
174
+ "light"
175
+ ],
176
+ "reason": "The orange secondary is a shape on light surfaces, never text, under 3:1 on the page, and always paired with a second cue such as weight, ink or fill, as the default orange is (principle 4)."
177
+ },
178
+ "color.accent-secondary on color.surface": {
179
+ "themes": [
180
+ "light"
181
+ ],
182
+ "reason": "The orange secondary is a shape on light surfaces, never text, under 3:1 on the page, and always paired with a second cue such as weight, ink or fill, as the default orange is (principle 4)."
183
+ },
184
+ "color.on-accent-secondary on color.accent-secondary-fill": {
185
+ "themes": [
186
+ "light",
187
+ "dark"
188
+ ],
189
+ "reason": "The orange button fill is lightened past the 4.5:1 line for white labels (4.0:1), so the button stays bright; the label is bold, the button is one call to action among plain text (ADR 0034)."
190
+ }
191
+ }
192
+ }
@@ -0,0 +1,22 @@
1
+ /* Polykit brand "orange".
2
+ * Fictional example brand: the default orange as a brand file, with a magenta secondary. The built-in default has none.
3
+ * Opt in with data-brand="orange" on <html> or any element, after tokens.css.
4
+ * Needs light-dark() (Baseline 2024). */
5
+ [data-brand="orange"] {
6
+ --pk-brand-accent: light-dark(var(--pk-orange-500), var(--pk-orange-400));
7
+ --pk-brand-accent-hover: light-dark(var(--pk-orange-400), var(--pk-orange-300));
8
+ --pk-brand-accent-tint: light-dark(var(--pk-orange-100), var(--pk-orange-850));
9
+ --pk-brand-accent-tint-strong: light-dark(var(--pk-orange-200), var(--pk-orange-800));
10
+ --pk-brand-on-accent-tint: light-dark(var(--pk-orange-850), var(--pk-orange-300));
11
+ --pk-brand-accent-fill: var(--pk-orange-600);
12
+ --pk-brand-on-accent: #ffffff;
13
+ --pk-brand-focus-field: light-dark(var(--pk-orange-500), var(--pk-orange-400));
14
+ --pk-brand-focus-halo: rgb(242 116 48 / 0.3);
15
+ --pk-brand-accent-secondary: light-dark(#c8197a, #ff66b2);
16
+ --pk-brand-accent-secondary-hover: light-dark(#dc3f93, #ff8fc6);
17
+ --pk-brand-accent-secondary-tint: light-dark(#fde9f3, #34112a);
18
+ --pk-brand-accent-secondary-tint-strong: light-dark(#f8c5df, #541a43);
19
+ --pk-brand-on-accent-secondary-tint: light-dark(#650b3c, #ffb0d6);
20
+ --pk-brand-accent-secondary-fill: #c8197a;
21
+ --pk-brand-on-accent-secondary: #ffffff;
22
+ }
@@ -0,0 +1,210 @@
1
+ {
2
+ "name": "orange",
3
+ "description": "Fictional example brand: the default orange as a brand file, with a magenta secondary. The built-in default has none.",
4
+ "secondary": true,
5
+ "colors": {
6
+ "light": {
7
+ "accent": {
8
+ "css": "var(--pk-orange-500)",
9
+ "value": "#f27430"
10
+ },
11
+ "accent-hover": {
12
+ "css": "var(--pk-orange-400)",
13
+ "value": "#f5925d"
14
+ },
15
+ "accent-tint": {
16
+ "css": "var(--pk-orange-100)",
17
+ "value": "#fdece2"
18
+ },
19
+ "accent-tint-strong": {
20
+ "css": "var(--pk-orange-200)",
21
+ "value": "#fbceb6"
22
+ },
23
+ "on-accent-tint": {
24
+ "css": "var(--pk-orange-850)",
25
+ "value": "#331200"
26
+ },
27
+ "accent-fill": {
28
+ "css": "var(--pk-orange-600)",
29
+ "value": "#ca6128"
30
+ },
31
+ "on-accent": {
32
+ "css": "#ffffff",
33
+ "value": "#ffffff"
34
+ },
35
+ "focus-field": {
36
+ "css": "var(--pk-orange-500)",
37
+ "value": "#f27430"
38
+ },
39
+ "focus-halo": {
40
+ "css": "rgb(242 116 48 / 0.3)",
41
+ "value": "rgb(242 116 48 / 0.3)"
42
+ },
43
+ "accent-secondary": {
44
+ "css": "#c8197a",
45
+ "value": "#c8197a"
46
+ },
47
+ "accent-secondary-hover": {
48
+ "css": "#dc3f93",
49
+ "value": "#dc3f93"
50
+ },
51
+ "accent-secondary-tint": {
52
+ "css": "#fde9f3",
53
+ "value": "#fde9f3"
54
+ },
55
+ "accent-secondary-tint-strong": {
56
+ "css": "#f8c5df",
57
+ "value": "#f8c5df"
58
+ },
59
+ "on-accent-secondary-tint": {
60
+ "css": "#650b3c",
61
+ "value": "#650b3c"
62
+ },
63
+ "accent-secondary-fill": {
64
+ "css": "#c8197a",
65
+ "value": "#c8197a"
66
+ },
67
+ "on-accent-secondary": {
68
+ "css": "#ffffff",
69
+ "value": "#ffffff"
70
+ }
71
+ },
72
+ "dark": {
73
+ "accent": {
74
+ "css": "var(--pk-orange-400)",
75
+ "value": "#f5925d"
76
+ },
77
+ "accent-hover": {
78
+ "css": "var(--pk-orange-300)",
79
+ "value": "#f8b089"
80
+ },
81
+ "accent-tint": {
82
+ "css": "var(--pk-orange-850)",
83
+ "value": "#331200"
84
+ },
85
+ "accent-tint-strong": {
86
+ "css": "var(--pk-orange-800)",
87
+ "value": "#4d1d02"
88
+ },
89
+ "on-accent-tint": {
90
+ "css": "var(--pk-orange-300)",
91
+ "value": "#f8b089"
92
+ },
93
+ "accent-fill": {
94
+ "css": "var(--pk-orange-600)",
95
+ "value": "#ca6128"
96
+ },
97
+ "on-accent": {
98
+ "css": "#ffffff",
99
+ "value": "#ffffff"
100
+ },
101
+ "focus-field": {
102
+ "css": "var(--pk-orange-400)",
103
+ "value": "#f5925d"
104
+ },
105
+ "focus-halo": {
106
+ "css": "rgb(242 116 48 / 0.3)",
107
+ "value": "rgb(242 116 48 / 0.3)"
108
+ },
109
+ "accent-secondary": {
110
+ "css": "#ff66b2",
111
+ "value": "#ff66b2"
112
+ },
113
+ "accent-secondary-hover": {
114
+ "css": "#ff8fc6",
115
+ "value": "#ff8fc6"
116
+ },
117
+ "accent-secondary-tint": {
118
+ "css": "#34112a",
119
+ "value": "#34112a"
120
+ },
121
+ "accent-secondary-tint-strong": {
122
+ "css": "#541a43",
123
+ "value": "#541a43"
124
+ },
125
+ "on-accent-secondary-tint": {
126
+ "css": "#ffb0d6",
127
+ "value": "#ffb0d6"
128
+ },
129
+ "accent-secondary-fill": {
130
+ "css": "#c8197a",
131
+ "value": "#c8197a"
132
+ },
133
+ "on-accent-secondary": {
134
+ "css": "#ffffff",
135
+ "value": "#ffffff"
136
+ }
137
+ }
138
+ },
139
+ "font": {},
140
+ "headingWeight": null,
141
+ "exceptions": {
142
+ "color.danger on color.accent-tint": {
143
+ "themes": [
144
+ "light"
145
+ ],
146
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
147
+ },
148
+ "color.accent on color.accent-tint": {
149
+ "themes": [
150
+ "light"
151
+ ],
152
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
153
+ },
154
+ "color.priority-medium on color.accent-tint": {
155
+ "themes": [
156
+ "light"
157
+ ],
158
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
159
+ },
160
+ "color.cat-teal on color.accent-tint": {
161
+ "themes": [
162
+ "light"
163
+ ],
164
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
165
+ },
166
+ "color.focus-field on color.surface": {
167
+ "themes": [
168
+ "light"
169
+ ],
170
+ "reason": "Form fields keep the accent focus ring, below 3:1 on light surfaces, as the built-in default does. Strict projects use --pk-color-focus, which passes."
171
+ },
172
+ "color.focus-field on color.canvas": {
173
+ "themes": [
174
+ "light"
175
+ ],
176
+ "reason": "Form fields keep the accent focus ring, below 3:1 on light surfaces, as the built-in default does. Strict projects use --pk-color-focus, which passes."
177
+ },
178
+ "color.accent on color.canvas": {
179
+ "themes": [
180
+ "light"
181
+ ],
182
+ "reason": "Orange is a shape or indicator on light surfaces, never text, and always paired with a second cue such as weight, ink or fill, as the built-in default is (principle 4)."
183
+ },
184
+ "color.accent on color.surface": {
185
+ "themes": [
186
+ "light"
187
+ ],
188
+ "reason": "Orange is a shape or indicator on light surfaces, never text, and always paired with a second cue such as weight, ink or fill, as the built-in default is (principle 4)."
189
+ },
190
+ "color.chart-1 on color.surface": {
191
+ "themes": [
192
+ "light"
193
+ ],
194
+ "reason": "Orange is a shape or indicator on light surfaces, never text, and always paired with a second cue such as weight, ink or fill, as the built-in default is (principle 4)."
195
+ },
196
+ "color.warning on color.accent-tint": {
197
+ "themes": [
198
+ "light"
199
+ ],
200
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
201
+ },
202
+ "color.on-accent on color.accent-fill": {
203
+ "themes": [
204
+ "light",
205
+ "dark"
206
+ ],
207
+ "reason": "The orange button fill is lightened past the 4.5:1 line for white labels (4.0:1), so the button stays bright; the label is bold, the button is one call to action among plain text (ADR 0034)."
208
+ }
209
+ }
210
+ }
@@ -0,0 +1,22 @@
1
+ /* Polykit brand "pink".
2
+ * Fictional example brand: Pink primary accent, with a purple secondary.
3
+ * Opt in with data-brand="pink" on <html> or any element, after tokens.css.
4
+ * Needs light-dark() (Baseline 2024). */
5
+ [data-brand="pink"] {
6
+ --pk-brand-accent: light-dark(#d63f86, #f472b0);
7
+ --pk-brand-accent-hover: light-dark(#e06aa1, #f799c6);
8
+ --pk-brand-accent-tint: light-dark(#fce9f2, #33141f);
9
+ --pk-brand-accent-tint-strong: light-dark(#f6c4dc, #52203a);
10
+ --pk-brand-on-accent-tint: light-dark(#6a1540, #fbb6d7);
11
+ --pk-brand-accent-fill: #cf3d82;
12
+ --pk-brand-on-accent: #ffffff;
13
+ --pk-brand-focus-field: light-dark(#d63f86, #f472b0);
14
+ --pk-brand-focus-halo: light-dark(rgb(214 63 134 / 0.3), rgb(244 114 176 / 0.3));
15
+ --pk-brand-accent-secondary: light-dark(#9a4fd0, #c08ae8);
16
+ --pk-brand-accent-secondary-hover: light-dark(#ae72d9, #d3adef);
17
+ --pk-brand-accent-secondary-tint: light-dark(#f3eaf9, #2b2224);
18
+ --pk-brand-accent-secondary-tint-strong: light-dark(#e1caf1, #3e303e);
19
+ --pk-brand-on-accent-secondary-tint: light-dark(#482f6b, #dcbff2);
20
+ --pk-brand-accent-secondary-fill: #9a4fd0;
21
+ --pk-brand-on-accent-secondary: #ffffff;
22
+ }