@ponchia/ui 0.3.0 → 0.3.1
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/README.md +43 -61
- package/behaviors/index.d.ts +46 -0
- package/behaviors/index.js +575 -6
- package/classes/index.d.ts +25 -0
- package/classes/index.js +25 -0
- package/classes/vscode.css-custom-data.json +407 -0
- package/css/app.css +11 -2
- package/css/base.css +0 -1
- package/css/dots.css +1 -1
- package/css/feedback.css +87 -2
- package/css/forms.css +126 -0
- package/css/overlay.css +64 -1
- package/css/primitives.css +95 -0
- package/css/site.css +2 -2
- package/css/table.css +59 -0
- package/css/tokens.css +69 -21
- package/dist/bronto.css +1 -1
- package/dist/css/app.css +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/dots.css +1 -1
- package/dist/css/feedback.css +1 -1
- package/dist/css/forms.css +1 -1
- package/dist/css/overlay.css +1 -1
- package/dist/css/primitives.css +1 -1
- package/dist/css/site.css +1 -1
- package/dist/css/table.css +1 -1
- package/dist/css/tokens.css +1 -1
- package/package.json +13 -7
- package/tokens/index.d.ts +2 -2
- package/tokens/index.js +45 -14
- package/tokens/index.json +90 -28
- package/tokens/tokens.dtcg.json +219 -14
package/tokens/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
export type ThemeName = 'light' | 'dark';
|
|
5
5
|
|
|
6
|
-
export type GlobalTokenName = '--radius-xl' | '--radius-lg' | '--radius-md' | '--radius-sm' | '--radius-pill' | '--space-2xs' | '--space-xs' | '--space-sm' | '--space-md' | '--space-lg' | '--space-xl' | '--space-2xl' | '--mono' | '--sans' | '--display' | '--dot-font' | '--text-2xs' | '--text-xs' | '--text-sm' | '--text-base' | '--text-lg' | '--text-xl' | '--tracking-wide' | '--tracking-wider' | '--ease-standard' | '--ease-spring' | '--ease-out' | '--duration-fast' | '--duration-base' | '--duration-slow' | '--dot-size' | '--dot-gap' | '--surface' | '--surface-raised' | '--surface-muted' | '--border' | '--border-strong';
|
|
6
|
+
export type GlobalTokenName = '--radius-xl' | '--radius-lg' | '--radius-md' | '--radius-sm' | '--radius-pill' | '--space-2xs' | '--space-xs' | '--space-sm' | '--space-md' | '--space-lg' | '--space-xl' | '--space-2xl' | '--mono' | '--sans' | '--display' | '--dot-font' | '--text-2xs' | '--text-xs' | '--text-sm' | '--text-base' | '--text-lg' | '--text-xl' | '--tracking-wide' | '--tracking-wider' | '--ease-standard' | '--ease-spring' | '--ease-out' | '--duration-fast' | '--duration-base' | '--duration-slow' | '--dot-size' | '--dot-gap' | '--z-base' | '--z-raised' | '--z-sticky' | '--z-overlay' | '--z-popover' | '--z-toast' | '--accent-1' | '--accent-2' | '--accent-3' | '--accent-4' | '--accent-5' | '--accent-6' | '--surface-1' | '--surface-2' | '--surface-3' | '--surface-4' | '--surface-5' | '--surface-6' | '--bronto-color-bg' | '--bronto-color-surface' | '--bronto-color-surface-raised' | '--bronto-color-border' | '--bronto-color-border-strong' | '--bronto-color-text' | '--bronto-color-text-muted' | '--bronto-color-action' | '--bronto-color-on-action' | '--bronto-color-focus' | '--bronto-color-success' | '--bronto-color-warning' | '--bronto-color-danger' | '--surface' | '--surface-raised' | '--surface-muted' | '--border' | '--border-strong';
|
|
7
7
|
export type LightTokenName = '--bg' | '--bg-elevated' | '--bg-accent' | '--panel' | '--panel-strong' | '--panel-soft' | '--line' | '--line-strong' | '--text' | '--text-soft' | '--text-dim' | '--accent' | '--accent-strong' | '--accent-text' | '--accent-soft' | '--success' | '--success-soft' | '--warning' | '--warning-soft' | '--orange' | '--orange-soft' | '--danger' | '--danger-soft' | '--code-bg' | '--button-text' | '--field-dot' | '--field-dot-hot' | '--field-dot-accent' | '--focus-ring' | '--shadow' | '--shadow-raised';
|
|
8
8
|
export type DarkTokenName = '--bg' | '--bg-elevated' | '--bg-accent' | '--panel' | '--panel-strong' | '--panel-soft' | '--line' | '--line-strong' | '--text' | '--text-soft' | '--text-dim' | '--accent' | '--accent-strong' | '--accent-text' | '--accent-soft' | '--success' | '--success-soft' | '--warning' | '--warning-soft' | '--orange' | '--orange-soft' | '--danger' | '--danger-soft' | '--code-bg' | '--button-text' | '--field-dot' | '--field-dot-hot' | '--field-dot-accent' | '--focus-ring' | '--shadow' | '--shadow-raised';
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ export declare const cssVars: {
|
|
|
14
14
|
dark: Record<DarkTokenName, string>;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export type ScaleKey = 'radius-xl' | 'radius-lg' | 'radius-md' | 'radius-sm' | 'radius-pill' | 'space-2xs' | 'space-xs' | 'space-sm' | 'space-md' | 'space-lg' | 'space-xl' | 'space-2xl' | 'mono' | 'sans' | 'display' | 'dot-font' | 'text-2xs' | 'text-xs' | 'text-sm' | 'text-base' | 'text-lg' | 'text-xl' | 'tracking-wide' | 'tracking-wider' | 'ease-standard' | 'ease-spring' | 'ease-out' | 'duration-fast' | 'duration-base' | 'duration-slow' | 'dot-size' | 'dot-gap' | 'surface' | 'surface-raised' | 'surface-muted' | 'border' | 'border-strong';
|
|
17
|
+
export type ScaleKey = 'radius-xl' | 'radius-lg' | 'radius-md' | 'radius-sm' | 'radius-pill' | 'space-2xs' | 'space-xs' | 'space-sm' | 'space-md' | 'space-lg' | 'space-xl' | 'space-2xl' | 'mono' | 'sans' | 'display' | 'dot-font' | 'text-2xs' | 'text-xs' | 'text-sm' | 'text-base' | 'text-lg' | 'text-xl' | 'tracking-wide' | 'tracking-wider' | 'ease-standard' | 'ease-spring' | 'ease-out' | 'duration-fast' | 'duration-base' | 'duration-slow' | 'dot-size' | 'dot-gap' | 'z-base' | 'z-raised' | 'z-sticky' | 'z-overlay' | 'z-popover' | 'z-toast' | 'accent-1' | 'accent-2' | 'accent-3' | 'accent-4' | 'accent-5' | 'accent-6' | 'surface-1' | 'surface-2' | 'surface-3' | 'surface-4' | 'surface-5' | 'surface-6' | 'bronto-color-bg' | 'bronto-color-surface' | 'bronto-color-surface-raised' | 'bronto-color-border' | 'bronto-color-border-strong' | 'bronto-color-text' | 'bronto-color-text-muted' | 'bronto-color-action' | 'bronto-color-on-action' | 'bronto-color-focus' | 'bronto-color-success' | 'bronto-color-warning' | 'bronto-color-danger' | 'surface' | 'surface-raised' | 'surface-muted' | 'border' | 'border-strong';
|
|
18
18
|
export type ColorKey = 'bg' | 'bg-elevated' | 'bg-accent' | 'panel' | 'panel-strong' | 'panel-soft' | 'line' | 'line-strong' | 'text' | 'text-soft' | 'text-dim' | 'accent' | 'accent-strong' | 'accent-text' | 'accent-soft' | 'success' | 'success-soft' | 'warning' | 'warning-soft' | 'orange' | 'orange-soft' | 'danger' | 'danger-soft' | 'code-bg' | 'button-text' | 'field-dot' | 'field-dot-hot' | 'field-dot-accent' | 'focus-ring' | 'shadow' | 'shadow-raised';
|
|
19
19
|
|
|
20
20
|
/** Ergonomic view derived from {@link cssVars} (`--` prefix stripped). */
|
package/tokens/index.js
CHANGED
|
@@ -50,6 +50,37 @@ export const cssVars = {
|
|
|
50
50
|
'--duration-slow': '360ms',
|
|
51
51
|
'--dot-size': '2px',
|
|
52
52
|
'--dot-gap': '14px',
|
|
53
|
+
'--z-base': '0',
|
|
54
|
+
'--z-raised': '10',
|
|
55
|
+
'--z-sticky': '20',
|
|
56
|
+
'--z-overlay': '30',
|
|
57
|
+
'--z-popover': '50',
|
|
58
|
+
'--z-toast': '60',
|
|
59
|
+
'--accent-1': 'color-mix(in srgb, var(--accent) 8%, var(--bg))',
|
|
60
|
+
'--accent-2': 'color-mix(in srgb, var(--accent) 16%, var(--bg))',
|
|
61
|
+
'--accent-3': 'color-mix(in srgb, var(--accent) 32%, var(--bg))',
|
|
62
|
+
'--accent-4': 'color-mix(in srgb, var(--accent) 60%, var(--bg))',
|
|
63
|
+
'--accent-5': 'var(--accent)',
|
|
64
|
+
'--accent-6': 'var(--accent-strong)',
|
|
65
|
+
'--surface-1': 'var(--bg)',
|
|
66
|
+
'--surface-2': 'var(--bg-elevated)',
|
|
67
|
+
'--surface-3': 'var(--panel)',
|
|
68
|
+
'--surface-4': 'var(--panel-soft)',
|
|
69
|
+
'--surface-5': 'var(--line)',
|
|
70
|
+
'--surface-6': 'var(--line-strong)',
|
|
71
|
+
'--bronto-color-bg': 'var(--bg)',
|
|
72
|
+
'--bronto-color-surface': 'var(--panel)',
|
|
73
|
+
'--bronto-color-surface-raised': 'var(--panel-strong)',
|
|
74
|
+
'--bronto-color-border': 'var(--line)',
|
|
75
|
+
'--bronto-color-border-strong': 'var(--line-strong)',
|
|
76
|
+
'--bronto-color-text': 'var(--text)',
|
|
77
|
+
'--bronto-color-text-muted': 'var(--text-dim)',
|
|
78
|
+
'--bronto-color-action': 'var(--accent)',
|
|
79
|
+
'--bronto-color-on-action': 'var(--button-text)',
|
|
80
|
+
'--bronto-color-focus': 'var(--focus-ring)',
|
|
81
|
+
'--bronto-color-success': 'var(--success)',
|
|
82
|
+
'--bronto-color-warning': 'var(--warning)',
|
|
83
|
+
'--bronto-color-danger': 'var(--danger)',
|
|
53
84
|
'--surface': 'var(--panel)',
|
|
54
85
|
'--surface-raised': 'var(--panel-strong)',
|
|
55
86
|
'--surface-muted': 'var(--panel-soft)',
|
|
@@ -74,17 +105,17 @@ export const cssVars = {
|
|
|
74
105
|
'--accent-text': 'var(--accent-strong)',
|
|
75
106
|
'--accent-soft': 'color-mix(in srgb, var(--accent) 10%, transparent)',
|
|
76
107
|
'--success': '#2f7d4f',
|
|
77
|
-
'--success-soft': '
|
|
108
|
+
'--success-soft': 'rgb(47, 125, 79, 0.12)',
|
|
78
109
|
'--warning': '#806414',
|
|
79
|
-
'--warning-soft': '
|
|
110
|
+
'--warning-soft': 'rgb(128, 100, 20, 0.13)',
|
|
80
111
|
'--orange': '#a85f32',
|
|
81
|
-
'--orange-soft': '
|
|
112
|
+
'--orange-soft': 'rgb(168, 95, 50, 0.13)',
|
|
82
113
|
'--danger': '#c01622',
|
|
83
|
-
'--danger-soft': '
|
|
84
|
-
'--code-bg': '
|
|
114
|
+
'--danger-soft': 'rgb(192, 22, 34, 0.1)',
|
|
115
|
+
'--code-bg': 'rgb(10, 10, 10, 0.05)',
|
|
85
116
|
'--button-text': '#ffffff',
|
|
86
|
-
'--field-dot': '
|
|
87
|
-
'--field-dot-hot': '
|
|
117
|
+
'--field-dot': 'rgb(10, 10, 10, 0.16)',
|
|
118
|
+
'--field-dot-hot': 'rgb(10, 10, 10, 0.4)',
|
|
88
119
|
'--field-dot-accent': 'color-mix(in srgb, var(--accent) 78%, transparent)',
|
|
89
120
|
'--focus-ring': 'var(--accent)',
|
|
90
121
|
'--shadow': 'none',
|
|
@@ -108,17 +139,17 @@ export const cssVars = {
|
|
|
108
139
|
'--accent-text': 'var(--accent-strong)',
|
|
109
140
|
'--accent-soft': 'color-mix(in srgb, var(--accent) 14%, transparent)',
|
|
110
141
|
'--success': '#4ec27e',
|
|
111
|
-
'--success-soft': '
|
|
142
|
+
'--success-soft': 'rgb(78, 194, 126, 0.14)',
|
|
112
143
|
'--warning': '#d8bd72',
|
|
113
|
-
'--warning-soft': '
|
|
144
|
+
'--warning-soft': 'rgb(216, 189, 114, 0.14)',
|
|
114
145
|
'--orange': '#d08c5b',
|
|
115
|
-
'--orange-soft': '
|
|
146
|
+
'--orange-soft': 'rgb(208, 140, 91, 0.15)',
|
|
116
147
|
'--danger': '#ff4d54',
|
|
117
|
-
'--danger-soft': '
|
|
118
|
-
'--code-bg': '
|
|
148
|
+
'--danger-soft': 'rgb(255, 77, 84, 0.15)',
|
|
149
|
+
'--code-bg': 'rgb(255, 255, 255, 0.05)',
|
|
119
150
|
'--button-text': '#000000',
|
|
120
|
-
'--field-dot': '
|
|
121
|
-
'--field-dot-hot': '
|
|
151
|
+
'--field-dot': 'rgb(242, 242, 242, 0.14)',
|
|
152
|
+
'--field-dot-hot': 'rgb(242, 242, 242, 0.36)',
|
|
122
153
|
'--field-dot-accent': 'color-mix(in srgb, var(--accent) 82%, transparent)',
|
|
123
154
|
'--focus-ring': 'var(--accent)',
|
|
124
155
|
'--shadow': 'none',
|
package/tokens/index.json
CHANGED
|
@@ -33,6 +33,37 @@
|
|
|
33
33
|
"--duration-slow": "360ms",
|
|
34
34
|
"--dot-size": "2px",
|
|
35
35
|
"--dot-gap": "14px",
|
|
36
|
+
"--z-base": "0",
|
|
37
|
+
"--z-raised": "10",
|
|
38
|
+
"--z-sticky": "20",
|
|
39
|
+
"--z-overlay": "30",
|
|
40
|
+
"--z-popover": "50",
|
|
41
|
+
"--z-toast": "60",
|
|
42
|
+
"--accent-1": "color-mix(in srgb, var(--accent) 8%, var(--bg))",
|
|
43
|
+
"--accent-2": "color-mix(in srgb, var(--accent) 16%, var(--bg))",
|
|
44
|
+
"--accent-3": "color-mix(in srgb, var(--accent) 32%, var(--bg))",
|
|
45
|
+
"--accent-4": "color-mix(in srgb, var(--accent) 60%, var(--bg))",
|
|
46
|
+
"--accent-5": "var(--accent)",
|
|
47
|
+
"--accent-6": "var(--accent-strong)",
|
|
48
|
+
"--surface-1": "var(--bg)",
|
|
49
|
+
"--surface-2": "var(--bg-elevated)",
|
|
50
|
+
"--surface-3": "var(--panel)",
|
|
51
|
+
"--surface-4": "var(--panel-soft)",
|
|
52
|
+
"--surface-5": "var(--line)",
|
|
53
|
+
"--surface-6": "var(--line-strong)",
|
|
54
|
+
"--bronto-color-bg": "var(--bg)",
|
|
55
|
+
"--bronto-color-surface": "var(--panel)",
|
|
56
|
+
"--bronto-color-surface-raised": "var(--panel-strong)",
|
|
57
|
+
"--bronto-color-border": "var(--line)",
|
|
58
|
+
"--bronto-color-border-strong": "var(--line-strong)",
|
|
59
|
+
"--bronto-color-text": "var(--text)",
|
|
60
|
+
"--bronto-color-text-muted": "var(--text-dim)",
|
|
61
|
+
"--bronto-color-action": "var(--accent)",
|
|
62
|
+
"--bronto-color-on-action": "var(--button-text)",
|
|
63
|
+
"--bronto-color-focus": "var(--focus-ring)",
|
|
64
|
+
"--bronto-color-success": "var(--success)",
|
|
65
|
+
"--bronto-color-warning": "var(--warning)",
|
|
66
|
+
"--bronto-color-danger": "var(--danger)",
|
|
36
67
|
"--surface": "var(--panel)",
|
|
37
68
|
"--surface-raised": "var(--panel-strong)",
|
|
38
69
|
"--surface-muted": "var(--panel-soft)",
|
|
@@ -56,17 +87,17 @@
|
|
|
56
87
|
"--accent-text": "var(--accent-strong)",
|
|
57
88
|
"--accent-soft": "color-mix(in srgb, var(--accent) 10%, transparent)",
|
|
58
89
|
"--success": "#2f7d4f",
|
|
59
|
-
"--success-soft": "
|
|
90
|
+
"--success-soft": "rgb(47, 125, 79, 0.12)",
|
|
60
91
|
"--warning": "#806414",
|
|
61
|
-
"--warning-soft": "
|
|
92
|
+
"--warning-soft": "rgb(128, 100, 20, 0.13)",
|
|
62
93
|
"--orange": "#a85f32",
|
|
63
|
-
"--orange-soft": "
|
|
94
|
+
"--orange-soft": "rgb(168, 95, 50, 0.13)",
|
|
64
95
|
"--danger": "#c01622",
|
|
65
|
-
"--danger-soft": "
|
|
66
|
-
"--code-bg": "
|
|
96
|
+
"--danger-soft": "rgb(192, 22, 34, 0.1)",
|
|
97
|
+
"--code-bg": "rgb(10, 10, 10, 0.05)",
|
|
67
98
|
"--button-text": "#ffffff",
|
|
68
|
-
"--field-dot": "
|
|
69
|
-
"--field-dot-hot": "
|
|
99
|
+
"--field-dot": "rgb(10, 10, 10, 0.16)",
|
|
100
|
+
"--field-dot-hot": "rgb(10, 10, 10, 0.4)",
|
|
70
101
|
"--field-dot-accent": "color-mix(in srgb, var(--accent) 78%, transparent)",
|
|
71
102
|
"--focus-ring": "var(--accent)",
|
|
72
103
|
"--shadow": "none",
|
|
@@ -89,17 +120,17 @@
|
|
|
89
120
|
"--accent-text": "var(--accent-strong)",
|
|
90
121
|
"--accent-soft": "color-mix(in srgb, var(--accent) 14%, transparent)",
|
|
91
122
|
"--success": "#4ec27e",
|
|
92
|
-
"--success-soft": "
|
|
123
|
+
"--success-soft": "rgb(78, 194, 126, 0.14)",
|
|
93
124
|
"--warning": "#d8bd72",
|
|
94
|
-
"--warning-soft": "
|
|
125
|
+
"--warning-soft": "rgb(216, 189, 114, 0.14)",
|
|
95
126
|
"--orange": "#d08c5b",
|
|
96
|
-
"--orange-soft": "
|
|
127
|
+
"--orange-soft": "rgb(208, 140, 91, 0.15)",
|
|
97
128
|
"--danger": "#ff4d54",
|
|
98
|
-
"--danger-soft": "
|
|
99
|
-
"--code-bg": "
|
|
129
|
+
"--danger-soft": "rgb(255, 77, 84, 0.15)",
|
|
130
|
+
"--code-bg": "rgb(255, 255, 255, 0.05)",
|
|
100
131
|
"--button-text": "#000000",
|
|
101
|
-
"--field-dot": "
|
|
102
|
-
"--field-dot-hot": "
|
|
132
|
+
"--field-dot": "rgb(242, 242, 242, 0.14)",
|
|
133
|
+
"--field-dot-hot": "rgb(242, 242, 242, 0.36)",
|
|
103
134
|
"--field-dot-accent": "color-mix(in srgb, var(--accent) 82%, transparent)",
|
|
104
135
|
"--focus-ring": "var(--accent)",
|
|
105
136
|
"--shadow": "none",
|
|
@@ -140,6 +171,37 @@
|
|
|
140
171
|
"duration-slow": "360ms",
|
|
141
172
|
"dot-size": "2px",
|
|
142
173
|
"dot-gap": "14px",
|
|
174
|
+
"z-base": "0",
|
|
175
|
+
"z-raised": "10",
|
|
176
|
+
"z-sticky": "20",
|
|
177
|
+
"z-overlay": "30",
|
|
178
|
+
"z-popover": "50",
|
|
179
|
+
"z-toast": "60",
|
|
180
|
+
"accent-1": "color-mix(in srgb, var(--accent) 8%, var(--bg))",
|
|
181
|
+
"accent-2": "color-mix(in srgb, var(--accent) 16%, var(--bg))",
|
|
182
|
+
"accent-3": "color-mix(in srgb, var(--accent) 32%, var(--bg))",
|
|
183
|
+
"accent-4": "color-mix(in srgb, var(--accent) 60%, var(--bg))",
|
|
184
|
+
"accent-5": "var(--accent)",
|
|
185
|
+
"accent-6": "var(--accent-strong)",
|
|
186
|
+
"surface-1": "var(--bg)",
|
|
187
|
+
"surface-2": "var(--bg-elevated)",
|
|
188
|
+
"surface-3": "var(--panel)",
|
|
189
|
+
"surface-4": "var(--panel-soft)",
|
|
190
|
+
"surface-5": "var(--line)",
|
|
191
|
+
"surface-6": "var(--line-strong)",
|
|
192
|
+
"bronto-color-bg": "var(--bg)",
|
|
193
|
+
"bronto-color-surface": "var(--panel)",
|
|
194
|
+
"bronto-color-surface-raised": "var(--panel-strong)",
|
|
195
|
+
"bronto-color-border": "var(--line)",
|
|
196
|
+
"bronto-color-border-strong": "var(--line-strong)",
|
|
197
|
+
"bronto-color-text": "var(--text)",
|
|
198
|
+
"bronto-color-text-muted": "var(--text-dim)",
|
|
199
|
+
"bronto-color-action": "var(--accent)",
|
|
200
|
+
"bronto-color-on-action": "var(--button-text)",
|
|
201
|
+
"bronto-color-focus": "var(--focus-ring)",
|
|
202
|
+
"bronto-color-success": "var(--success)",
|
|
203
|
+
"bronto-color-warning": "var(--warning)",
|
|
204
|
+
"bronto-color-danger": "var(--danger)",
|
|
143
205
|
"surface": "var(--panel)",
|
|
144
206
|
"surface-raised": "var(--panel-strong)",
|
|
145
207
|
"surface-muted": "var(--panel-soft)",
|
|
@@ -164,17 +226,17 @@
|
|
|
164
226
|
"accent-text": "var(--accent-strong)",
|
|
165
227
|
"accent-soft": "color-mix(in srgb, var(--accent) 10%, transparent)",
|
|
166
228
|
"success": "#2f7d4f",
|
|
167
|
-
"success-soft": "
|
|
229
|
+
"success-soft": "rgb(47, 125, 79, 0.12)",
|
|
168
230
|
"warning": "#806414",
|
|
169
|
-
"warning-soft": "
|
|
231
|
+
"warning-soft": "rgb(128, 100, 20, 0.13)",
|
|
170
232
|
"orange": "#a85f32",
|
|
171
|
-
"orange-soft": "
|
|
233
|
+
"orange-soft": "rgb(168, 95, 50, 0.13)",
|
|
172
234
|
"danger": "#c01622",
|
|
173
|
-
"danger-soft": "
|
|
174
|
-
"code-bg": "
|
|
235
|
+
"danger-soft": "rgb(192, 22, 34, 0.1)",
|
|
236
|
+
"code-bg": "rgb(10, 10, 10, 0.05)",
|
|
175
237
|
"button-text": "#ffffff",
|
|
176
|
-
"field-dot": "
|
|
177
|
-
"field-dot-hot": "
|
|
238
|
+
"field-dot": "rgb(10, 10, 10, 0.16)",
|
|
239
|
+
"field-dot-hot": "rgb(10, 10, 10, 0.4)",
|
|
178
240
|
"field-dot-accent": "color-mix(in srgb, var(--accent) 78%, transparent)",
|
|
179
241
|
"focus-ring": "var(--accent)",
|
|
180
242
|
"shadow": "none",
|
|
@@ -197,17 +259,17 @@
|
|
|
197
259
|
"accent-text": "var(--accent-strong)",
|
|
198
260
|
"accent-soft": "color-mix(in srgb, var(--accent) 14%, transparent)",
|
|
199
261
|
"success": "#4ec27e",
|
|
200
|
-
"success-soft": "
|
|
262
|
+
"success-soft": "rgb(78, 194, 126, 0.14)",
|
|
201
263
|
"warning": "#d8bd72",
|
|
202
|
-
"warning-soft": "
|
|
264
|
+
"warning-soft": "rgb(216, 189, 114, 0.14)",
|
|
203
265
|
"orange": "#d08c5b",
|
|
204
|
-
"orange-soft": "
|
|
266
|
+
"orange-soft": "rgb(208, 140, 91, 0.15)",
|
|
205
267
|
"danger": "#ff4d54",
|
|
206
|
-
"danger-soft": "
|
|
207
|
-
"code-bg": "
|
|
268
|
+
"danger-soft": "rgb(255, 77, 84, 0.15)",
|
|
269
|
+
"code-bg": "rgb(255, 255, 255, 0.05)",
|
|
208
270
|
"button-text": "#000000",
|
|
209
|
-
"field-dot": "
|
|
210
|
-
"field-dot-hot": "
|
|
271
|
+
"field-dot": "rgb(242, 242, 242, 0.14)",
|
|
272
|
+
"field-dot-hot": "rgb(242, 242, 242, 0.36)",
|
|
211
273
|
"field-dot-accent": "color-mix(in srgb, var(--accent) 82%, transparent)",
|
|
212
274
|
"focus-ring": "var(--accent)",
|
|
213
275
|
"shadow": "none",
|
package/tokens/tokens.dtcg.json
CHANGED
|
@@ -194,7 +194,119 @@
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
|
+
"z": {
|
|
198
|
+
"base": {
|
|
199
|
+
"$type": "number",
|
|
200
|
+
"$value": "0"
|
|
201
|
+
},
|
|
202
|
+
"raised": {
|
|
203
|
+
"$type": "number",
|
|
204
|
+
"$value": "10"
|
|
205
|
+
},
|
|
206
|
+
"sticky": {
|
|
207
|
+
"$type": "number",
|
|
208
|
+
"$value": "20"
|
|
209
|
+
},
|
|
210
|
+
"overlay": {
|
|
211
|
+
"$type": "number",
|
|
212
|
+
"$value": "30"
|
|
213
|
+
},
|
|
214
|
+
"popover": {
|
|
215
|
+
"$type": "number",
|
|
216
|
+
"$value": "50"
|
|
217
|
+
},
|
|
218
|
+
"toast": {
|
|
219
|
+
"$type": "number",
|
|
220
|
+
"$value": "60"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"accent": {
|
|
224
|
+
"1": {
|
|
225
|
+
"$type": "color",
|
|
226
|
+
"$value": null,
|
|
227
|
+
"$extensions": {
|
|
228
|
+
"com.ponchia.css": "color-mix(in srgb, var(--accent) 8%, var(--bg))"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"2": {
|
|
232
|
+
"$type": "color",
|
|
233
|
+
"$value": null,
|
|
234
|
+
"$extensions": {
|
|
235
|
+
"com.ponchia.css": "color-mix(in srgb, var(--accent) 16%, var(--bg))"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"3": {
|
|
239
|
+
"$type": "color",
|
|
240
|
+
"$value": null,
|
|
241
|
+
"$extensions": {
|
|
242
|
+
"com.ponchia.css": "color-mix(in srgb, var(--accent) 32%, var(--bg))"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"4": {
|
|
246
|
+
"$type": "color",
|
|
247
|
+
"$value": null,
|
|
248
|
+
"$extensions": {
|
|
249
|
+
"com.ponchia.css": "color-mix(in srgb, var(--accent) 60%, var(--bg))"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"5": {
|
|
253
|
+
"$type": "color",
|
|
254
|
+
"$value": null,
|
|
255
|
+
"$extensions": {
|
|
256
|
+
"com.ponchia.css": "var(--accent)"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"6": {
|
|
260
|
+
"$type": "color",
|
|
261
|
+
"$value": null,
|
|
262
|
+
"$extensions": {
|
|
263
|
+
"com.ponchia.css": "var(--accent-strong)"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
197
267
|
"surface": {
|
|
268
|
+
"1": {
|
|
269
|
+
"$type": "color",
|
|
270
|
+
"$value": null,
|
|
271
|
+
"$extensions": {
|
|
272
|
+
"com.ponchia.css": "var(--bg)"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"2": {
|
|
276
|
+
"$type": "color",
|
|
277
|
+
"$value": null,
|
|
278
|
+
"$extensions": {
|
|
279
|
+
"com.ponchia.css": "var(--bg-elevated)"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"3": {
|
|
283
|
+
"$type": "color",
|
|
284
|
+
"$value": null,
|
|
285
|
+
"$extensions": {
|
|
286
|
+
"com.ponchia.css": "var(--panel)"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"4": {
|
|
290
|
+
"$type": "color",
|
|
291
|
+
"$value": null,
|
|
292
|
+
"$extensions": {
|
|
293
|
+
"com.ponchia.css": "var(--panel-soft)"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"5": {
|
|
297
|
+
"$type": "color",
|
|
298
|
+
"$value": null,
|
|
299
|
+
"$extensions": {
|
|
300
|
+
"com.ponchia.css": "var(--line)"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"6": {
|
|
304
|
+
"$type": "color",
|
|
305
|
+
"$value": null,
|
|
306
|
+
"$extensions": {
|
|
307
|
+
"com.ponchia.css": "var(--line-strong)"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
198
310
|
"DEFAULT": {
|
|
199
311
|
"$type": "color",
|
|
200
312
|
"$value": null,
|
|
@@ -217,6 +329,99 @@
|
|
|
217
329
|
}
|
|
218
330
|
}
|
|
219
331
|
},
|
|
332
|
+
"bronto": {
|
|
333
|
+
"color-bg": {
|
|
334
|
+
"$type": "color",
|
|
335
|
+
"$value": null,
|
|
336
|
+
"$extensions": {
|
|
337
|
+
"com.ponchia.css": "var(--bg)"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"color-surface": {
|
|
341
|
+
"$type": "color",
|
|
342
|
+
"$value": null,
|
|
343
|
+
"$extensions": {
|
|
344
|
+
"com.ponchia.css": "var(--panel)"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"color-surface-raised": {
|
|
348
|
+
"$type": "color",
|
|
349
|
+
"$value": null,
|
|
350
|
+
"$extensions": {
|
|
351
|
+
"com.ponchia.css": "var(--panel-strong)"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"color-border": {
|
|
355
|
+
"$type": "color",
|
|
356
|
+
"$value": null,
|
|
357
|
+
"$extensions": {
|
|
358
|
+
"com.ponchia.css": "var(--line)"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"color-border-strong": {
|
|
362
|
+
"$type": "color",
|
|
363
|
+
"$value": null,
|
|
364
|
+
"$extensions": {
|
|
365
|
+
"com.ponchia.css": "var(--line-strong)"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"color-text": {
|
|
369
|
+
"$type": "color",
|
|
370
|
+
"$value": null,
|
|
371
|
+
"$extensions": {
|
|
372
|
+
"com.ponchia.css": "var(--text)"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"color-text-muted": {
|
|
376
|
+
"$type": "color",
|
|
377
|
+
"$value": null,
|
|
378
|
+
"$extensions": {
|
|
379
|
+
"com.ponchia.css": "var(--text-dim)"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"color-action": {
|
|
383
|
+
"$type": "color",
|
|
384
|
+
"$value": null,
|
|
385
|
+
"$extensions": {
|
|
386
|
+
"com.ponchia.css": "var(--accent)"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"color-on-action": {
|
|
390
|
+
"$type": "color",
|
|
391
|
+
"$value": null,
|
|
392
|
+
"$extensions": {
|
|
393
|
+
"com.ponchia.css": "var(--button-text)"
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"color-focus": {
|
|
397
|
+
"$type": "color",
|
|
398
|
+
"$value": null,
|
|
399
|
+
"$extensions": {
|
|
400
|
+
"com.ponchia.css": "var(--focus-ring)"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"color-success": {
|
|
404
|
+
"$type": "color",
|
|
405
|
+
"$value": null,
|
|
406
|
+
"$extensions": {
|
|
407
|
+
"com.ponchia.css": "var(--success)"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"color-warning": {
|
|
411
|
+
"$type": "color",
|
|
412
|
+
"$value": null,
|
|
413
|
+
"$extensions": {
|
|
414
|
+
"com.ponchia.css": "var(--warning)"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"color-danger": {
|
|
418
|
+
"$type": "color",
|
|
419
|
+
"$value": null,
|
|
420
|
+
"$extensions": {
|
|
421
|
+
"com.ponchia.css": "var(--danger)"
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
220
425
|
"border": {
|
|
221
426
|
"DEFAULT": {
|
|
222
427
|
"$type": "color",
|
|
@@ -325,7 +530,7 @@
|
|
|
325
530
|
},
|
|
326
531
|
"soft": {
|
|
327
532
|
"$type": "color",
|
|
328
|
-
"$value": "
|
|
533
|
+
"$value": "rgb(47, 125, 79, 0.12)"
|
|
329
534
|
}
|
|
330
535
|
},
|
|
331
536
|
"warning": {
|
|
@@ -335,7 +540,7 @@
|
|
|
335
540
|
},
|
|
336
541
|
"soft": {
|
|
337
542
|
"$type": "color",
|
|
338
|
-
"$value": "
|
|
543
|
+
"$value": "rgb(128, 100, 20, 0.13)"
|
|
339
544
|
}
|
|
340
545
|
},
|
|
341
546
|
"orange": {
|
|
@@ -345,7 +550,7 @@
|
|
|
345
550
|
},
|
|
346
551
|
"soft": {
|
|
347
552
|
"$type": "color",
|
|
348
|
-
"$value": "
|
|
553
|
+
"$value": "rgb(168, 95, 50, 0.13)"
|
|
349
554
|
}
|
|
350
555
|
},
|
|
351
556
|
"danger": {
|
|
@@ -355,13 +560,13 @@
|
|
|
355
560
|
},
|
|
356
561
|
"soft": {
|
|
357
562
|
"$type": "color",
|
|
358
|
-
"$value": "
|
|
563
|
+
"$value": "rgb(192, 22, 34, 0.1)"
|
|
359
564
|
}
|
|
360
565
|
},
|
|
361
566
|
"code": {
|
|
362
567
|
"bg": {
|
|
363
568
|
"$type": "color",
|
|
364
|
-
"$value": "
|
|
569
|
+
"$value": "rgb(10, 10, 10, 0.05)"
|
|
365
570
|
}
|
|
366
571
|
},
|
|
367
572
|
"button": {
|
|
@@ -373,11 +578,11 @@
|
|
|
373
578
|
"field": {
|
|
374
579
|
"dot": {
|
|
375
580
|
"$type": "color",
|
|
376
|
-
"$value": "
|
|
581
|
+
"$value": "rgb(10, 10, 10, 0.16)"
|
|
377
582
|
},
|
|
378
583
|
"dot-hot": {
|
|
379
584
|
"$type": "color",
|
|
380
|
-
"$value": "
|
|
585
|
+
"$value": "rgb(10, 10, 10, 0.4)"
|
|
381
586
|
},
|
|
382
587
|
"dot-accent": {
|
|
383
588
|
"$type": "color",
|
|
@@ -500,7 +705,7 @@
|
|
|
500
705
|
},
|
|
501
706
|
"soft": {
|
|
502
707
|
"$type": "color",
|
|
503
|
-
"$value": "
|
|
708
|
+
"$value": "rgb(78, 194, 126, 0.14)"
|
|
504
709
|
}
|
|
505
710
|
},
|
|
506
711
|
"warning": {
|
|
@@ -510,7 +715,7 @@
|
|
|
510
715
|
},
|
|
511
716
|
"soft": {
|
|
512
717
|
"$type": "color",
|
|
513
|
-
"$value": "
|
|
718
|
+
"$value": "rgb(216, 189, 114, 0.14)"
|
|
514
719
|
}
|
|
515
720
|
},
|
|
516
721
|
"orange": {
|
|
@@ -520,7 +725,7 @@
|
|
|
520
725
|
},
|
|
521
726
|
"soft": {
|
|
522
727
|
"$type": "color",
|
|
523
|
-
"$value": "
|
|
728
|
+
"$value": "rgb(208, 140, 91, 0.15)"
|
|
524
729
|
}
|
|
525
730
|
},
|
|
526
731
|
"danger": {
|
|
@@ -530,13 +735,13 @@
|
|
|
530
735
|
},
|
|
531
736
|
"soft": {
|
|
532
737
|
"$type": "color",
|
|
533
|
-
"$value": "
|
|
738
|
+
"$value": "rgb(255, 77, 84, 0.15)"
|
|
534
739
|
}
|
|
535
740
|
},
|
|
536
741
|
"code": {
|
|
537
742
|
"bg": {
|
|
538
743
|
"$type": "color",
|
|
539
|
-
"$value": "
|
|
744
|
+
"$value": "rgb(255, 255, 255, 0.05)"
|
|
540
745
|
}
|
|
541
746
|
},
|
|
542
747
|
"button": {
|
|
@@ -548,11 +753,11 @@
|
|
|
548
753
|
"field": {
|
|
549
754
|
"dot": {
|
|
550
755
|
"$type": "color",
|
|
551
|
-
"$value": "
|
|
756
|
+
"$value": "rgb(242, 242, 242, 0.14)"
|
|
552
757
|
},
|
|
553
758
|
"dot-hot": {
|
|
554
759
|
"$type": "color",
|
|
555
|
-
"$value": "
|
|
760
|
+
"$value": "rgb(242, 242, 242, 0.36)"
|
|
556
761
|
},
|
|
557
762
|
"dot-accent": {
|
|
558
763
|
"$type": "color",
|