@pontive/pontkit-core 3.0.0 → 3.1.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.
- package/catalog.json +1 -1
- package/dist/custom-elements.json +547 -547
- package/dist/styles.css +145 -112
- package/dist/theme/types.d.ts +1 -1
- package/dist/theme-golden.json +48 -48
- package/dist/theme.mjs +44 -40
- package/dist/theme.mjs.map +1 -1
- package/dist/tokens.json +204 -173
- package/package.json +1 -1
package/dist/theme/types.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export interface PontTheme {
|
|
|
85
85
|
widgets?: Record<string, ThemeScope>;
|
|
86
86
|
}
|
|
87
87
|
export interface ThemeIssue {
|
|
88
|
-
/** Where in the theme, e.g. `widgets.signin.light.
|
|
88
|
+
/** Where in the theme, e.g. `widgets.signin.light.ref-radius`. */
|
|
89
89
|
path: string;
|
|
90
90
|
message: string;
|
|
91
91
|
}
|
package/dist/theme-golden.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
|
-
"fingerprint": "
|
|
3
|
+
"fingerprint": "11eab62ce1bc4a98",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
6
6
|
"name": "an empty theme",
|
|
7
7
|
"theme": {
|
|
8
8
|
"version": 1
|
|
9
9
|
},
|
|
10
|
-
"css": "/* pont theme · tokens
|
|
10
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"name": "a sem colour for light only keeps pont's dark value",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
"css": "/* pont theme · tokens
|
|
22
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-primary: #2563eb;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-primary: var(--pont-ref-color-brand-200);\n }\n }\n}\n"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "a sem colour for both modes",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
"css": "/* pont theme · tokens
|
|
37
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-primary: #2563eb;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-primary: #60a5fa;\n }\n }\n}\n"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"name": "a sem colour for dark only",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"css": "/* pont theme · tokens
|
|
49
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-primary: #60a5fa;\n }\n }\n}\n"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"name": "a component colour for light only is unset in dark",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"css": "/* pont theme · tokens
|
|
61
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-button-default-bg: #2563eb;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-button-default-bg: initial;\n }\n }\n}\n"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "non-colour tokens apply to both modes",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"css": "/* pont theme · tokens
|
|
74
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-ref-radius: 0;\n --pont-button-radius: 9999px;\n }\n }\n}\n"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"name": "the shape and state knobs",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
"css": "/* pont theme · tokens
|
|
87
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-border-width: 2px;\n --pont-sem-opacity-disabled: 0.4;\n }\n }\n}\n"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"name": "a palette role re-pointed",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
"css": "/* pont theme · tokens
|
|
99
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-ref-color-brand-900: var(--pont-ref-color-blue-600);\n }\n }\n}\n"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"name": "catalogue web fonts are imported once, after the layer order",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
|
-
"css": "/* pont theme · tokens
|
|
115
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@import url(\"https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap\") layer(pont.tokens);\n@import url(\"https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap\") layer(pont.tokens);\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-font-body: \"Lora\", serif;\n --pont-sem-font-heading: 'lora', Georgia, serif;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-font-code: \"Fira Code\", monospace;\n }\n }\n}\n"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"name": "bundled and unknown font families import nothing",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
-
"css": "/* pont theme · tokens
|
|
128
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-font-body: \"Inter\", sans-serif;\n --pont-sem-font-code: \"Comic Sans MS\", cursive;\n }\n }\n}\n"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"name": "values keep their order, and are trimmed",
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
"version": 1,
|
|
134
134
|
"global": {
|
|
135
135
|
"light": {
|
|
136
|
-
"
|
|
136
|
+
"ref-radius-lg": " 1rem ",
|
|
137
137
|
"ref-radius": "0.25rem",
|
|
138
138
|
"sem-color-primary": "oklch(0.55 0.2 260)"
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
|
-
"css": "/* pont theme · tokens
|
|
142
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-ref-radius-lg: 1rem;\n --pont-ref-radius: 0.25rem;\n --pont-sem-color-primary: oklch(0.55 0.2 260);\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-primary: var(--pont-ref-color-brand-200);\n }\n }\n}\n"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "the preset layer",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
|
-
"css": "/* pont theme · tokens
|
|
155
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.preset {\n @layer global, widget;\n @layer global {\n :root {\n --pont-ref-radius: 0;\n }\n }\n}\n"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"name": "widget scopes: component values on the host, in the widget sub-layer",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
|
-
"css": "/* pont theme · tokens
|
|
170
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer widget {\n pont-signin {\n --pont-button-radius: 0;\n --pont-button-default-bg: #16a34a;\n }\n :where(.dark, [data-theme=\"dark\"]) pont-signin, pont-signin:where(.dark, [data-theme=\"dark\"]) {\n --pont-button-default-bg: initial;\n }\n }\n}\n"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"name": "a light-only widget colour keeps the global dark value",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
|
-
"css": "/* pont theme · tokens
|
|
194
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-button-default-bg: #60a5fa;\n }\n }\n @layer widget {\n pont-signin {\n --pont-button-default-bg: #16a34a;\n }\n :where(.dark, [data-theme=\"dark\"]) pont-signin, pont-signin:where(.dark, [data-theme=\"dark\"]) {\n --pont-button-default-bg: #60a5fa;\n }\n pont-signup {\n --pont-button-default-bg: #16a34a;\n }\n :where(.dark, [data-theme=\"dark\"]) pont-signup, pont-signup:where(.dark, [data-theme=\"dark\"]) {\n --pont-button-default-bg: #60a5fa;\n }\n }\n}\n"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"name": "a light-only widget colour without a global dark value is unset in dark",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
|
-
"css": "/* pont theme · tokens
|
|
208
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer widget {\n pont-signin {\n --pont-button-default-bg: #16a34a;\n }\n :where(.dark, [data-theme=\"dark\"]) pont-signin, pont-signin:where(.dark, [data-theme=\"dark\"]) {\n --pont-button-default-bg: initial;\n }\n }\n}\n"
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
"name": "a dark widget colour",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
|
-
"css": "/* pont theme · tokens
|
|
222
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer widget {\n :where(.dark, [data-theme=\"dark\"]) pont-signup, pont-signup:where(.dark, [data-theme=\"dark\"]) {\n --pont-button-default-bg: #fff;\n }\n }\n}\n"
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"name": "every widget scope at once",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
|
-
"css": "/* pont theme · tokens
|
|
241
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer widget {\n pont-signin {\n --pont-button-radius: 0.5rem;\n }\n pont-signup {\n --pont-button-radius: 0.5rem;\n }\n }\n}\n"
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "the old radius knob migrates (sem-radius → ref-radius)",
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
},
|
|
253
|
-
"css": "/* pont theme · tokens
|
|
253
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-ref-radius: 0.25rem;\n }\n }\n}\n"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
"name": "a renamed token migrates (sem-radius → ref-radius)",
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
},
|
|
265
|
-
"css": "/* pont theme · tokens
|
|
265
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-ref-radius: 0.5rem;\n }\n }\n}\n"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"name": "invalid: not an object",
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
},
|
|
490
|
-
"css": "/* pont theme · tokens
|
|
490
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-primary: #2563eb;\n --pont-sem-shadow-xs: 0 0 0 1px rgb(0 0 0 / 10%);\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-primary: var(--pont-ref-color-brand-200);\n }\n }\n}\n"
|
|
491
491
|
},
|
|
492
492
|
{
|
|
493
493
|
"name": "length: 300 is counted in UTF-16 units (an astral character is two)",
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
|
-
"css": "/* pont theme · tokens
|
|
519
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-font-body: \"字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字字\", serif;\n }\n }\n}\n"
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
522
|
"name": "value: color accepts \"#2563eb\"",
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
530
|
},
|
|
531
|
-
"css": "/* pont theme · tokens
|
|
531
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: #2563eb;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
534
|
"name": "value: color accepts \"#25e\"",
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
},
|
|
543
|
-
"css": "/* pont theme · tokens
|
|
543
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: #25e;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
544
544
|
},
|
|
545
545
|
{
|
|
546
546
|
"name": "value: color accepts \"RebeccaPurple\"",
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
},
|
|
555
|
-
"css": "/* pont theme · tokens
|
|
555
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: RebeccaPurple;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
"name": "value: color accepts \"transparent\"",
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
},
|
|
567
|
-
"css": "/* pont theme · tokens
|
|
567
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: transparent;\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
570
|
"name": "value: color accepts \"oklch(0.55 0.2 260 / 50%)\"",
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
},
|
|
579
|
-
"css": "/* pont theme · tokens
|
|
579
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: oklch(0.55 0.2 260 / 50%);\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
582
|
"name": "value: color accepts \"hsl(222.2 84% 4.9%)\"",
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
},
|
|
591
|
-
"css": "/* pont theme · tokens
|
|
591
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: hsl(222.2 84% 4.9%);\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
"name": "value: color accepts \"color-mix(in oklab, var(--pont-sem-color-primary) 80%, transparent)\"",
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
},
|
|
603
|
-
"css": "/* pont theme · tokens
|
|
603
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: color-mix(in oklab, var(--pont-sem-color-primary) 80%, transparent);\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
606
|
"name": "value: color accepts \"var(--pont-ref-color-blue-600)\"",
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
},
|
|
615
|
-
"css": "/* pont theme · tokens
|
|
615
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-color-accent: var(--pont-ref-color-blue-600);\n }\n :root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"] {\n --pont-sem-color-accent: var(--pont-ref-color-base-800);\n }\n }\n}\n"
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
"name": "value: dimension accepts \"0\"",
|
|
@@ -624,7 +624,7 @@
|
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
},
|
|
627
|
-
"css": "/* pont theme · tokens
|
|
627
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-border-width: 0;\n }\n }\n}\n"
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
630
|
"name": "value: dimension accepts \"0.5rem\"",
|
|
@@ -636,19 +636,19 @@
|
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
},
|
|
639
|
-
"css": "/* pont theme · tokens
|
|
639
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-border-width: 0.5rem;\n }\n }\n}\n"
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
|
-
"name": "value: dimension accepts \"min(var(--pont-
|
|
642
|
+
"name": "value: dimension accepts \"min(var(--pont-ref-radius-md), 10px)\"",
|
|
643
643
|
"theme": {
|
|
644
644
|
"version": 1,
|
|
645
645
|
"global": {
|
|
646
646
|
"light": {
|
|
647
|
-
"sem-border-width": "min(var(--pont-
|
|
647
|
+
"sem-border-width": "min(var(--pont-ref-radius-md), 10px)"
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
},
|
|
651
|
-
"css": "/* pont theme · tokens
|
|
651
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-border-width: min(var(--pont-ref-radius-md), 10px);\n }\n }\n}\n"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
654
|
"name": "value: number accepts \"1.5\"",
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
},
|
|
663
|
-
"css": "/* pont theme · tokens
|
|
663
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-leading-loose: 1.5;\n }\n }\n}\n"
|
|
664
664
|
},
|
|
665
665
|
{
|
|
666
666
|
"name": "value: fontFamily accepts \"system-ui, sans-serif\"",
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
},
|
|
675
|
-
"css": "/* pont theme · tokens
|
|
675
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-font-body: system-ui, sans-serif;\n }\n }\n}\n"
|
|
676
676
|
},
|
|
677
677
|
{
|
|
678
678
|
"name": "value: fontFamily accepts \"'Segoe UI', Roboto\"",
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
},
|
|
687
|
-
"css": "/* pont theme · tokens
|
|
687
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@import url(\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap\") layer(pont.tokens);\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-font-body: 'Segoe UI', Roboto;\n }\n }\n}\n"
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
690
|
"name": "value: fontWeight accepts \"bold\"",
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
698
|
},
|
|
699
|
-
"css": "/* pont theme · tokens
|
|
699
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-font-weight-black: bold;\n }\n }\n}\n"
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
702
|
"name": "value: shadow accepts \"none\"",
|
|
@@ -708,7 +708,7 @@
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
},
|
|
711
|
-
"css": "/* pont theme · tokens
|
|
711
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-inset-shadow-2xs: none;\n }\n }\n}\n"
|
|
712
712
|
},
|
|
713
713
|
{
|
|
714
714
|
"name": "value: shadow accepts \"0 0 0 1px rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 5%)\"",
|
|
@@ -720,7 +720,7 @@
|
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
|
-
"css": "/* pont theme · tokens
|
|
723
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-inset-shadow-2xs: 0 0 0 1px rgb(0 0 0 / 10%), 0 1px 2px 0 rgb(0 0 0 / 5%);\n }\n }\n}\n"
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
726
|
"name": "value: shadow accepts \"inset 0 1px 1px rgb(0 0 0 / 0.05)\"",
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
},
|
|
735
|
-
"css": "/* pont theme · tokens
|
|
735
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-inset-shadow-2xs: inset 0 1px 1px rgb(0 0 0 / 0.05);\n }\n }\n}\n"
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
"name": "value: duration accepts \"0.2s\"",
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
},
|
|
747
|
-
"css": "/* pont theme · tokens
|
|
747
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-animate-bounce-duration: 0.2s;\n }\n }\n}\n"
|
|
748
748
|
},
|
|
749
749
|
{
|
|
750
750
|
"name": "value: cubicBezier accepts \"ease-out\"",
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
},
|
|
759
|
-
"css": "/* pont theme · tokens
|
|
759
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-animate-ping-function: ease-out;\n }\n }\n}\n"
|
|
760
760
|
},
|
|
761
761
|
{
|
|
762
762
|
"name": "value: ratio accepts \"16 / 9\"",
|
|
@@ -768,7 +768,7 @@
|
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
},
|
|
771
|
-
"css": "/* pont theme · tokens
|
|
771
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-aspect-auto: 16 / 9;\n }\n }\n}\n"
|
|
772
772
|
},
|
|
773
773
|
{
|
|
774
774
|
"name": "value: ratio accepts \"1.5\"",
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
782
|
},
|
|
783
|
-
"css": "/* pont theme · tokens
|
|
783
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-aspect-auto: 1.5;\n }\n }\n}\n"
|
|
784
784
|
},
|
|
785
785
|
{
|
|
786
786
|
"name": "value: ratio accepts \"auto\"",
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
794
|
},
|
|
795
|
-
"css": "/* pont theme · tokens
|
|
795
|
+
"css": "/* pont theme · tokens 11eab62ce1bc4a98 */\n@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;\n@layer pont.theme.brand {\n @layer global, widget;\n @layer global {\n :root {\n --pont-sem-aspect-auto: auto;\n }\n }\n}\n"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
"name": "value: color refuses \"red; } body { display: none\"",
|