@robr0/design-system 0.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/LICENSE +21 -0
- package/README.md +127 -0
- package/charts.d.ts +14 -0
- package/charts.js +20 -0
- package/components/Accordion/Accordion.css +119 -0
- package/components/Accordion/Accordion.d.ts +24 -0
- package/components/Accordion/Accordion.js +76 -0
- package/components/Alert/Alert.css +252 -0
- package/components/Alert/Alert.d.ts +24 -0
- package/components/Alert/Alert.js +53 -0
- package/components/AlertDialog/AlertDialog.css +131 -0
- package/components/AlertDialog/AlertDialog.d.ts +29 -0
- package/components/AlertDialog/AlertDialog.js +143 -0
- package/components/AppLayout/AppLayout.css +52 -0
- package/components/AppLayout/AppLayout.d.ts +27 -0
- package/components/AppLayout/AppLayout.js +45 -0
- package/components/AppSidebar/AppSidebar.css +434 -0
- package/components/AppSidebar/AppSidebar.d.ts +67 -0
- package/components/AppSidebar/AppSidebar.js +272 -0
- package/components/Avatar/Avatar.css +133 -0
- package/components/Avatar/Avatar.d.ts +20 -0
- package/components/Avatar/Avatar.js +56 -0
- package/components/Avatar/demoAvatars.d.ts +14 -0
- package/components/Avatar/demoAvatars.js +16 -0
- package/components/Badge/Badge.css +68 -0
- package/components/Badge/Badge.d.ts +13 -0
- package/components/Badge/Badge.js +15 -0
- package/components/Breadcrumb/Breadcrumb.css +92 -0
- package/components/Breadcrumb/Breadcrumb.d.ts +19 -0
- package/components/Breadcrumb/Breadcrumb.js +39 -0
- package/components/Button/Button.css +381 -0
- package/components/Button/Button.d.ts +39 -0
- package/components/Button/Button.js +71 -0
- package/components/ButtonGroup/ButtonGroup.css +39 -0
- package/components/ButtonGroup/ButtonGroup.d.ts +13 -0
- package/components/ButtonGroup/ButtonGroup.js +37 -0
- package/components/Card/Card.css +169 -0
- package/components/Card/Card.d.ts +30 -0
- package/components/Card/Card.js +90 -0
- package/components/Carousel/Carousel.css +112 -0
- package/components/Carousel/Carousel.d.ts +25 -0
- package/components/Carousel/Carousel.js +126 -0
- package/components/Chart/AreaChart.d.ts +36 -0
- package/components/Chart/AreaChart.js +99 -0
- package/components/Chart/BarChart.d.ts +34 -0
- package/components/Chart/BarChart.js +107 -0
- package/components/Chart/Chart.css +176 -0
- package/components/Chart/LineChart.d.ts +34 -0
- package/components/Chart/LineChart.js +90 -0
- package/components/Chart/PieChart.d.ts +34 -0
- package/components/Chart/PieChart.js +106 -0
- package/components/Chart/RadarChart.d.ts +34 -0
- package/components/Chart/RadarChart.js +91 -0
- package/components/Chart/RadialChart.d.ts +37 -0
- package/components/Chart/RadialChart.js +119 -0
- package/components/Chart/ScatterChart.d.ts +36 -0
- package/components/Chart/ScatterChart.js +109 -0
- package/components/Chart/StackedBarChart.d.ts +34 -0
- package/components/Chart/StackedBarChart.js +111 -0
- package/components/Chart/Treemap.d.ts +33 -0
- package/components/Chart/Treemap.js +109 -0
- package/components/Checkbox/Checkbox.css +164 -0
- package/components/Checkbox/Checkbox.d.ts +45 -0
- package/components/Checkbox/Checkbox.js +125 -0
- package/components/Chip/Chip.css +195 -0
- package/components/Chip/Chip.d.ts +27 -0
- package/components/Chip/Chip.js +80 -0
- package/components/CircularButton/CircularButton.css +206 -0
- package/components/CircularButton/CircularButton.d.ts +30 -0
- package/components/CircularButton/CircularButton.js +54 -0
- package/components/CodeBlock/CodeBlock.css +180 -0
- package/components/CodeBlock/CodeBlock.d.ts +23 -0
- package/components/CodeBlock/CodeBlock.js +85 -0
- package/components/ColourSwatch/ColourSwatch.css +88 -0
- package/components/ColourSwatch/ColourSwatch.d.ts +34 -0
- package/components/ColourSwatch/ColourSwatch.js +42 -0
- package/components/Combobox/Combobox.css +411 -0
- package/components/Combobox/Combobox.d.ts +73 -0
- package/components/Combobox/Combobox.js +312 -0
- package/components/CommandPalette/CommandPalette.css +310 -0
- package/components/CommandPalette/CommandPalette.d.ts +60 -0
- package/components/CommandPalette/CommandPalette.js +263 -0
- package/components/ContactCard/ContactCard.css +123 -0
- package/components/ContactCard/ContactCard.d.ts +23 -0
- package/components/ContactCard/ContactCard.js +78 -0
- package/components/ContributionGraph/ContributionGraph.css +142 -0
- package/components/ContributionGraph/ContributionGraph.d.ts +26 -0
- package/components/ContributionGraph/ContributionGraph.js +125 -0
- package/components/DateInput/DateInput.css +163 -0
- package/components/DateInput/DateInput.d.ts +43 -0
- package/components/DateInput/DateInput.js +69 -0
- package/components/DatePicker/DatePicker.css +198 -0
- package/components/DatePicker/DatePicker.d.ts +22 -0
- package/components/DatePicker/DatePicker.js +170 -0
- package/components/Dialog/Dialog.css +176 -0
- package/components/Dialog/Dialog.d.ts +28 -0
- package/components/Dialog/Dialog.js +132 -0
- package/components/Divider/Divider.css +100 -0
- package/components/Divider/Divider.d.ts +18 -0
- package/components/Divider/Divider.js +31 -0
- package/components/Drawer/Drawer.css +262 -0
- package/components/Drawer/Drawer.d.ts +30 -0
- package/components/Drawer/Drawer.js +134 -0
- package/components/Dropdown/Dropdown.css +300 -0
- package/components/Dropdown/Dropdown.d.ts +48 -0
- package/components/Dropdown/Dropdown.js +196 -0
- package/components/DropdownMenu/DropdownMenu.css +303 -0
- package/components/DropdownMenu/DropdownMenu.d.ts +42 -0
- package/components/DropdownMenu/DropdownMenu.js +322 -0
- package/components/EmptyState/EmptyState.css +115 -0
- package/components/EmptyState/EmptyState.d.ts +27 -0
- package/components/EmptyState/EmptyState.js +32 -0
- package/components/EntityCard/EntityCard.css +69 -0
- package/components/EntityCard/EntityCard.d.ts +18 -0
- package/components/EntityCard/EntityCard.js +26 -0
- package/components/Figure/Figure.css +61 -0
- package/components/Figure/Figure.d.ts +17 -0
- package/components/Figure/Figure.js +35 -0
- package/components/FileInput/FileInput.css +308 -0
- package/components/FileInput/FileInput.d.ts +54 -0
- package/components/FileInput/FileInput.js +177 -0
- package/components/Input/Input.css +193 -0
- package/components/Input/Input.d.ts +40 -0
- package/components/Input/Input.js +71 -0
- package/components/Instructions/Instructions.css +216 -0
- package/components/Instructions/Instructions.d.ts +28 -0
- package/components/Instructions/Instructions.js +32 -0
- package/components/LinkList/LinkList.css +71 -0
- package/components/LinkList/LinkList.d.ts +20 -0
- package/components/LinkList/LinkList.js +41 -0
- package/components/MotionSwatch/MotionSwatch.css +176 -0
- package/components/MotionSwatch/MotionSwatch.d.ts +25 -0
- package/components/MotionSwatch/MotionSwatch.js +74 -0
- package/components/Nav/Nav.css +51 -0
- package/components/Nav/Nav.d.ts +19 -0
- package/components/Nav/Nav.js +26 -0
- package/components/Pagination/Pagination.css +126 -0
- package/components/Pagination/Pagination.d.ts +22 -0
- package/components/Pagination/Pagination.js +83 -0
- package/components/Popover/Popover.css +99 -0
- package/components/Popover/Popover.d.ts +28 -0
- package/components/Popover/Popover.js +102 -0
- package/components/ProgressBar/ProgressBar.css +60 -0
- package/components/ProgressBar/ProgressBar.d.ts +16 -0
- package/components/ProgressBar/ProgressBar.js +27 -0
- package/components/Quote/Quote.css +79 -0
- package/components/Quote/Quote.d.ts +18 -0
- package/components/Quote/Quote.js +26 -0
- package/components/RadioButton/RadioButton.css +132 -0
- package/components/RadioButton/RadioButton.d.ts +43 -0
- package/components/RadioButton/RadioButton.js +77 -0
- package/components/SectionTitle/SectionTitle.css +37 -0
- package/components/SectionTitle/SectionTitle.d.ts +10 -0
- package/components/SectionTitle/SectionTitle.js +17 -0
- package/components/SegmentedControl/SegmentedControl.css +129 -0
- package/components/SegmentedControl/SegmentedControl.d.ts +33 -0
- package/components/SegmentedControl/SegmentedControl.js +91 -0
- package/components/SelectionCard/SelectionCard.css +251 -0
- package/components/SelectionCard/SelectionCard.d.ts +26 -0
- package/components/SelectionCard/SelectionCard.js +85 -0
- package/components/Skeleton/Skeleton.css +79 -0
- package/components/Skeleton/Skeleton.d.ts +16 -0
- package/components/Skeleton/Skeleton.js +30 -0
- package/components/Slider/Slider.css +86 -0
- package/components/Slider/Slider.d.ts +25 -0
- package/components/Slider/Slider.js +46 -0
- package/components/SpacingSwatch/SpacingSwatch.css +108 -0
- package/components/SpacingSwatch/SpacingSwatch.d.ts +20 -0
- package/components/SpacingSwatch/SpacingSwatch.js +50 -0
- package/components/Spinner/Spinner.css +73 -0
- package/components/Spinner/Spinner.d.ts +14 -0
- package/components/Spinner/Spinner.js +42 -0
- package/components/Stat/Stat.css +78 -0
- package/components/Stat/Stat.d.ts +19 -0
- package/components/Stat/Stat.js +30 -0
- package/components/Table/Table.css +186 -0
- package/components/Table/Table.d.ts +45 -0
- package/components/Table/Table.js +65 -0
- package/components/Tabs/Tabs.css +140 -0
- package/components/Tabs/Tabs.d.ts +28 -0
- package/components/Tabs/Tabs.js +77 -0
- package/components/Textarea/Textarea.css +152 -0
- package/components/Textarea/Textarea.d.ts +40 -0
- package/components/Textarea/Textarea.js +74 -0
- package/components/Timeline/Timeline.css +339 -0
- package/components/Timeline/Timeline.d.ts +63 -0
- package/components/Timeline/Timeline.js +69 -0
- package/components/Toast/Toast.css +342 -0
- package/components/Toast/Toast.d.ts +63 -0
- package/components/Toast/Toast.js +213 -0
- package/components/ToggleGroup/ToggleGroup.css +84 -0
- package/components/ToggleGroup/ToggleGroup.d.ts +30 -0
- package/components/ToggleGroup/ToggleGroup.js +53 -0
- package/components/ToggleSwitch/ToggleSwitch.css +139 -0
- package/components/ToggleSwitch/ToggleSwitch.d.ts +23 -0
- package/components/ToggleSwitch/ToggleSwitch.js +50 -0
- package/components/Tooltip/Tooltip.css +122 -0
- package/components/Tooltip/Tooltip.d.ts +21 -0
- package/components/Tooltip/Tooltip.js +63 -0
- package/components/TypographySwatch/TypographySwatch.css +81 -0
- package/components/TypographySwatch/TypographySwatch.d.ts +24 -0
- package/components/TypographySwatch/TypographySwatch.js +40 -0
- package/components/registry.d.ts +20 -0
- package/components/registry.js +7 -0
- package/components/registry.json +67 -0
- package/components/registry.json.d.ts +70 -0
- package/components/registry.json.js +8 -0
- package/fonts/MaterialSymbolsRounded-VariableFont_FILL,GRAD,opsz,wght.woff2 +0 -0
- package/fonts/material-symbols.css +94 -0
- package/index.d.ts +62 -0
- package/index.js +123 -0
- package/package.json +63 -0
- package/tokens/registry.d.ts +22 -0
- package/tokens/registry.js +14 -0
- package/tokens/registry.json +203 -0
- package/tokens/registry.json.d.ts +206 -0
- package/tokens/registry.json.js +8 -0
- package/tokens/tokens-dark.css +119 -0
- package/tokens/tokens-light.css +159 -0
- package/tokens/tokens-motion.css +68 -0
- package/tokens/tokens-primitives.css +176 -0
- package/tokens/tokens-typography.css +116 -0
- package/tokens/tokens.css +11 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/generate-token-registry.mjs from the semantic token CSS — never hand-edit; run `npm run validate-registry`.",
|
|
3
|
+
"categories": {
|
|
4
|
+
"colour": [
|
|
5
|
+
"--color-action-icon-active",
|
|
6
|
+
"--color-action-icon-default",
|
|
7
|
+
"--color-action-passive-bg",
|
|
8
|
+
"--color-action-passive-bg-active",
|
|
9
|
+
"--color-action-passive-bg-hover",
|
|
10
|
+
"--color-action-passive-text",
|
|
11
|
+
"--color-action-primary-bg",
|
|
12
|
+
"--color-action-primary-bg-active",
|
|
13
|
+
"--color-action-primary-bg-hover",
|
|
14
|
+
"--color-action-primary-border",
|
|
15
|
+
"--color-action-primary-border-secondary",
|
|
16
|
+
"--color-action-primary-border-tertiary",
|
|
17
|
+
"--color-action-primary-text",
|
|
18
|
+
"--color-action-primary-text-active",
|
|
19
|
+
"--color-action-primary-text-secondary",
|
|
20
|
+
"--color-action-primary-text-tertiary",
|
|
21
|
+
"--color-bg-container-border",
|
|
22
|
+
"--color-bg-container-inverse",
|
|
23
|
+
"--color-bg-container-primary",
|
|
24
|
+
"--color-bg-container-primary-semi",
|
|
25
|
+
"--color-bg-container-primary-transparent",
|
|
26
|
+
"--color-bg-container-secondary",
|
|
27
|
+
"--color-bg-container-tertiary",
|
|
28
|
+
"--color-bg-page-inverse",
|
|
29
|
+
"--color-bg-page-primary",
|
|
30
|
+
"--color-chart-contribution-0",
|
|
31
|
+
"--color-chart-contribution-1",
|
|
32
|
+
"--color-chart-contribution-2",
|
|
33
|
+
"--color-chart-contribution-3",
|
|
34
|
+
"--color-chart-contribution-4",
|
|
35
|
+
"--color-control-thumb",
|
|
36
|
+
"--color-core-accent-amber",
|
|
37
|
+
"--color-core-accent-cobalt",
|
|
38
|
+
"--color-core-accent-coral",
|
|
39
|
+
"--color-core-accent-gold",
|
|
40
|
+
"--color-core-accent-mint",
|
|
41
|
+
"--color-core-accent-violet",
|
|
42
|
+
"--color-core-ui-primary",
|
|
43
|
+
"--color-core-ui-secondary",
|
|
44
|
+
"--color-divider",
|
|
45
|
+
"--color-icon-primary",
|
|
46
|
+
"--color-icon-secondary",
|
|
47
|
+
"--color-input-bg-disabled",
|
|
48
|
+
"--color-input-bg-primary",
|
|
49
|
+
"--color-input-border-disabled",
|
|
50
|
+
"--color-input-border-hover",
|
|
51
|
+
"--color-input-border-primary",
|
|
52
|
+
"--color-input-border-selected",
|
|
53
|
+
"--color-input-text-disabled",
|
|
54
|
+
"--color-input-text-inverse",
|
|
55
|
+
"--color-input-text-placeholder",
|
|
56
|
+
"--color-input-text-primary",
|
|
57
|
+
"--color-scrim",
|
|
58
|
+
"--color-status-error-bg",
|
|
59
|
+
"--color-status-error-border",
|
|
60
|
+
"--color-status-error-text",
|
|
61
|
+
"--color-status-info-bg",
|
|
62
|
+
"--color-status-info-border",
|
|
63
|
+
"--color-status-info-text",
|
|
64
|
+
"--color-status-neutral-bg",
|
|
65
|
+
"--color-status-neutral-border",
|
|
66
|
+
"--color-status-neutral-text",
|
|
67
|
+
"--color-status-positive-bg",
|
|
68
|
+
"--color-status-positive-border",
|
|
69
|
+
"--color-status-positive-text",
|
|
70
|
+
"--color-status-warning-bg",
|
|
71
|
+
"--color-status-warning-border",
|
|
72
|
+
"--color-status-warning-text",
|
|
73
|
+
"--color-text-inverse",
|
|
74
|
+
"--color-text-on-inverse",
|
|
75
|
+
"--color-text-primary",
|
|
76
|
+
"--color-text-secondary",
|
|
77
|
+
"--color-text-tertiary"
|
|
78
|
+
],
|
|
79
|
+
"typography": [
|
|
80
|
+
"--font-display-1-family",
|
|
81
|
+
"--font-display-1-letter-spacing",
|
|
82
|
+
"--font-display-1-line-height",
|
|
83
|
+
"--font-display-1-size",
|
|
84
|
+
"--font-display-1-weight",
|
|
85
|
+
"--font-display-2-family",
|
|
86
|
+
"--font-display-2-letter-spacing",
|
|
87
|
+
"--font-display-2-line-height",
|
|
88
|
+
"--font-display-2-size",
|
|
89
|
+
"--font-display-2-weight",
|
|
90
|
+
"--font-family-primary",
|
|
91
|
+
"--font-heading-1-family",
|
|
92
|
+
"--font-heading-1-letter-spacing",
|
|
93
|
+
"--font-heading-1-line-height",
|
|
94
|
+
"--font-heading-1-size",
|
|
95
|
+
"--font-heading-1-weight",
|
|
96
|
+
"--font-heading-2-family",
|
|
97
|
+
"--font-heading-2-letter-spacing",
|
|
98
|
+
"--font-heading-2-line-height",
|
|
99
|
+
"--font-heading-2-size",
|
|
100
|
+
"--font-heading-2-weight",
|
|
101
|
+
"--font-heading-3-family",
|
|
102
|
+
"--font-heading-3-letter-spacing",
|
|
103
|
+
"--font-heading-3-line-height",
|
|
104
|
+
"--font-heading-3-size",
|
|
105
|
+
"--font-heading-3-weight",
|
|
106
|
+
"--font-mega-1-family",
|
|
107
|
+
"--font-mega-1-letter-spacing",
|
|
108
|
+
"--font-mega-1-line-height",
|
|
109
|
+
"--font-mega-1-size",
|
|
110
|
+
"--font-mega-1-weight",
|
|
111
|
+
"--font-mega-2-family",
|
|
112
|
+
"--font-mega-2-letter-spacing",
|
|
113
|
+
"--font-mega-2-line-height",
|
|
114
|
+
"--font-mega-2-size",
|
|
115
|
+
"--font-mega-2-weight",
|
|
116
|
+
"--font-paragraph-em-family",
|
|
117
|
+
"--font-paragraph-em-letter-spacing",
|
|
118
|
+
"--font-paragraph-em-line-height",
|
|
119
|
+
"--font-paragraph-em-size",
|
|
120
|
+
"--font-paragraph-em-weight",
|
|
121
|
+
"--font-paragraph-family",
|
|
122
|
+
"--font-paragraph-letter-spacing",
|
|
123
|
+
"--font-paragraph-line-height",
|
|
124
|
+
"--font-paragraph-size",
|
|
125
|
+
"--font-paragraph-sm-em-family",
|
|
126
|
+
"--font-paragraph-sm-em-letter-spacing",
|
|
127
|
+
"--font-paragraph-sm-em-line-height",
|
|
128
|
+
"--font-paragraph-sm-em-size",
|
|
129
|
+
"--font-paragraph-sm-em-weight",
|
|
130
|
+
"--font-paragraph-sm-family",
|
|
131
|
+
"--font-paragraph-sm-letter-spacing",
|
|
132
|
+
"--font-paragraph-sm-line-height",
|
|
133
|
+
"--font-paragraph-sm-size",
|
|
134
|
+
"--font-paragraph-sm-weight",
|
|
135
|
+
"--font-paragraph-weight",
|
|
136
|
+
"--font-sub-display-family",
|
|
137
|
+
"--font-sub-display-letter-spacing",
|
|
138
|
+
"--font-sub-display-line-height",
|
|
139
|
+
"--font-sub-display-size",
|
|
140
|
+
"--font-sub-display-weight",
|
|
141
|
+
"--font-title-body-family",
|
|
142
|
+
"--font-title-body-letter-spacing",
|
|
143
|
+
"--font-title-body-line-height",
|
|
144
|
+
"--font-title-body-size",
|
|
145
|
+
"--font-title-body-weight"
|
|
146
|
+
],
|
|
147
|
+
"spacing": [
|
|
148
|
+
"--gap-lg",
|
|
149
|
+
"--gap-md",
|
|
150
|
+
"--gap-sm",
|
|
151
|
+
"--gap-sm-md",
|
|
152
|
+
"--gap-xl",
|
|
153
|
+
"--gap-xs",
|
|
154
|
+
"--gap-xxs",
|
|
155
|
+
"--padding-lg",
|
|
156
|
+
"--padding-md",
|
|
157
|
+
"--padding-sm",
|
|
158
|
+
"--padding-sm-md",
|
|
159
|
+
"--padding-xl",
|
|
160
|
+
"--padding-xs",
|
|
161
|
+
"--padding-xxs",
|
|
162
|
+
"--padding-xxxs"
|
|
163
|
+
],
|
|
164
|
+
"radius": [
|
|
165
|
+
"--radius-full",
|
|
166
|
+
"--radius-lg",
|
|
167
|
+
"--radius-md",
|
|
168
|
+
"--radius-sm",
|
|
169
|
+
"--radius-xl",
|
|
170
|
+
"--radius-xs",
|
|
171
|
+
"--radius-xxl",
|
|
172
|
+
"--radius-xxs"
|
|
173
|
+
],
|
|
174
|
+
"border": [
|
|
175
|
+
"--border-md",
|
|
176
|
+
"--border-xs"
|
|
177
|
+
],
|
|
178
|
+
"shadow": [
|
|
179
|
+
"--shadow-floating",
|
|
180
|
+
"--shadow-modal"
|
|
181
|
+
],
|
|
182
|
+
"icons": [
|
|
183
|
+
"--icon-size-lg",
|
|
184
|
+
"--icon-size-md",
|
|
185
|
+
"--icon-size-sm",
|
|
186
|
+
"--icon-size-xl"
|
|
187
|
+
],
|
|
188
|
+
"motion": [
|
|
189
|
+
"--motion-duration-base",
|
|
190
|
+
"--motion-duration-deliberate",
|
|
191
|
+
"--motion-duration-fast",
|
|
192
|
+
"--motion-duration-loop-shimmer",
|
|
193
|
+
"--motion-duration-loop-spin",
|
|
194
|
+
"--motion-duration-slow",
|
|
195
|
+
"--motion-duration-slower",
|
|
196
|
+
"--motion-ease-emphasized",
|
|
197
|
+
"--motion-ease-entrance",
|
|
198
|
+
"--motion-ease-linear",
|
|
199
|
+
"--motion-ease-spring",
|
|
200
|
+
"--motion-ease-standard"
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"//": "GENERATED by scripts/generate-token-registry.mjs from the semantic token CSS — never hand-edit; run `npm run validate-registry`.",
|
|
3
|
+
"categories": {
|
|
4
|
+
"colour": [
|
|
5
|
+
"--color-action-icon-active",
|
|
6
|
+
"--color-action-icon-default",
|
|
7
|
+
"--color-action-passive-bg",
|
|
8
|
+
"--color-action-passive-bg-active",
|
|
9
|
+
"--color-action-passive-bg-hover",
|
|
10
|
+
"--color-action-passive-text",
|
|
11
|
+
"--color-action-primary-bg",
|
|
12
|
+
"--color-action-primary-bg-active",
|
|
13
|
+
"--color-action-primary-bg-hover",
|
|
14
|
+
"--color-action-primary-border",
|
|
15
|
+
"--color-action-primary-border-secondary",
|
|
16
|
+
"--color-action-primary-border-tertiary",
|
|
17
|
+
"--color-action-primary-text",
|
|
18
|
+
"--color-action-primary-text-active",
|
|
19
|
+
"--color-action-primary-text-secondary",
|
|
20
|
+
"--color-action-primary-text-tertiary",
|
|
21
|
+
"--color-bg-container-border",
|
|
22
|
+
"--color-bg-container-inverse",
|
|
23
|
+
"--color-bg-container-primary",
|
|
24
|
+
"--color-bg-container-primary-semi",
|
|
25
|
+
"--color-bg-container-primary-transparent",
|
|
26
|
+
"--color-bg-container-secondary",
|
|
27
|
+
"--color-bg-container-tertiary",
|
|
28
|
+
"--color-bg-page-inverse",
|
|
29
|
+
"--color-bg-page-primary",
|
|
30
|
+
"--color-chart-contribution-0",
|
|
31
|
+
"--color-chart-contribution-1",
|
|
32
|
+
"--color-chart-contribution-2",
|
|
33
|
+
"--color-chart-contribution-3",
|
|
34
|
+
"--color-chart-contribution-4",
|
|
35
|
+
"--color-control-thumb",
|
|
36
|
+
"--color-core-accent-amber",
|
|
37
|
+
"--color-core-accent-cobalt",
|
|
38
|
+
"--color-core-accent-coral",
|
|
39
|
+
"--color-core-accent-gold",
|
|
40
|
+
"--color-core-accent-mint",
|
|
41
|
+
"--color-core-accent-violet",
|
|
42
|
+
"--color-core-ui-primary",
|
|
43
|
+
"--color-core-ui-secondary",
|
|
44
|
+
"--color-divider",
|
|
45
|
+
"--color-icon-primary",
|
|
46
|
+
"--color-icon-secondary",
|
|
47
|
+
"--color-input-bg-disabled",
|
|
48
|
+
"--color-input-bg-primary",
|
|
49
|
+
"--color-input-border-disabled",
|
|
50
|
+
"--color-input-border-hover",
|
|
51
|
+
"--color-input-border-primary",
|
|
52
|
+
"--color-input-border-selected",
|
|
53
|
+
"--color-input-text-disabled",
|
|
54
|
+
"--color-input-text-inverse",
|
|
55
|
+
"--color-input-text-placeholder",
|
|
56
|
+
"--color-input-text-primary",
|
|
57
|
+
"--color-scrim",
|
|
58
|
+
"--color-status-error-bg",
|
|
59
|
+
"--color-status-error-border",
|
|
60
|
+
"--color-status-error-text",
|
|
61
|
+
"--color-status-info-bg",
|
|
62
|
+
"--color-status-info-border",
|
|
63
|
+
"--color-status-info-text",
|
|
64
|
+
"--color-status-neutral-bg",
|
|
65
|
+
"--color-status-neutral-border",
|
|
66
|
+
"--color-status-neutral-text",
|
|
67
|
+
"--color-status-positive-bg",
|
|
68
|
+
"--color-status-positive-border",
|
|
69
|
+
"--color-status-positive-text",
|
|
70
|
+
"--color-status-warning-bg",
|
|
71
|
+
"--color-status-warning-border",
|
|
72
|
+
"--color-status-warning-text",
|
|
73
|
+
"--color-text-inverse",
|
|
74
|
+
"--color-text-on-inverse",
|
|
75
|
+
"--color-text-primary",
|
|
76
|
+
"--color-text-secondary",
|
|
77
|
+
"--color-text-tertiary"
|
|
78
|
+
],
|
|
79
|
+
"typography": [
|
|
80
|
+
"--font-display-1-family",
|
|
81
|
+
"--font-display-1-letter-spacing",
|
|
82
|
+
"--font-display-1-line-height",
|
|
83
|
+
"--font-display-1-size",
|
|
84
|
+
"--font-display-1-weight",
|
|
85
|
+
"--font-display-2-family",
|
|
86
|
+
"--font-display-2-letter-spacing",
|
|
87
|
+
"--font-display-2-line-height",
|
|
88
|
+
"--font-display-2-size",
|
|
89
|
+
"--font-display-2-weight",
|
|
90
|
+
"--font-family-primary",
|
|
91
|
+
"--font-heading-1-family",
|
|
92
|
+
"--font-heading-1-letter-spacing",
|
|
93
|
+
"--font-heading-1-line-height",
|
|
94
|
+
"--font-heading-1-size",
|
|
95
|
+
"--font-heading-1-weight",
|
|
96
|
+
"--font-heading-2-family",
|
|
97
|
+
"--font-heading-2-letter-spacing",
|
|
98
|
+
"--font-heading-2-line-height",
|
|
99
|
+
"--font-heading-2-size",
|
|
100
|
+
"--font-heading-2-weight",
|
|
101
|
+
"--font-heading-3-family",
|
|
102
|
+
"--font-heading-3-letter-spacing",
|
|
103
|
+
"--font-heading-3-line-height",
|
|
104
|
+
"--font-heading-3-size",
|
|
105
|
+
"--font-heading-3-weight",
|
|
106
|
+
"--font-mega-1-family",
|
|
107
|
+
"--font-mega-1-letter-spacing",
|
|
108
|
+
"--font-mega-1-line-height",
|
|
109
|
+
"--font-mega-1-size",
|
|
110
|
+
"--font-mega-1-weight",
|
|
111
|
+
"--font-mega-2-family",
|
|
112
|
+
"--font-mega-2-letter-spacing",
|
|
113
|
+
"--font-mega-2-line-height",
|
|
114
|
+
"--font-mega-2-size",
|
|
115
|
+
"--font-mega-2-weight",
|
|
116
|
+
"--font-paragraph-em-family",
|
|
117
|
+
"--font-paragraph-em-letter-spacing",
|
|
118
|
+
"--font-paragraph-em-line-height",
|
|
119
|
+
"--font-paragraph-em-size",
|
|
120
|
+
"--font-paragraph-em-weight",
|
|
121
|
+
"--font-paragraph-family",
|
|
122
|
+
"--font-paragraph-letter-spacing",
|
|
123
|
+
"--font-paragraph-line-height",
|
|
124
|
+
"--font-paragraph-size",
|
|
125
|
+
"--font-paragraph-sm-em-family",
|
|
126
|
+
"--font-paragraph-sm-em-letter-spacing",
|
|
127
|
+
"--font-paragraph-sm-em-line-height",
|
|
128
|
+
"--font-paragraph-sm-em-size",
|
|
129
|
+
"--font-paragraph-sm-em-weight",
|
|
130
|
+
"--font-paragraph-sm-family",
|
|
131
|
+
"--font-paragraph-sm-letter-spacing",
|
|
132
|
+
"--font-paragraph-sm-line-height",
|
|
133
|
+
"--font-paragraph-sm-size",
|
|
134
|
+
"--font-paragraph-sm-weight",
|
|
135
|
+
"--font-paragraph-weight",
|
|
136
|
+
"--font-sub-display-family",
|
|
137
|
+
"--font-sub-display-letter-spacing",
|
|
138
|
+
"--font-sub-display-line-height",
|
|
139
|
+
"--font-sub-display-size",
|
|
140
|
+
"--font-sub-display-weight",
|
|
141
|
+
"--font-title-body-family",
|
|
142
|
+
"--font-title-body-letter-spacing",
|
|
143
|
+
"--font-title-body-line-height",
|
|
144
|
+
"--font-title-body-size",
|
|
145
|
+
"--font-title-body-weight"
|
|
146
|
+
],
|
|
147
|
+
"spacing": [
|
|
148
|
+
"--gap-lg",
|
|
149
|
+
"--gap-md",
|
|
150
|
+
"--gap-sm",
|
|
151
|
+
"--gap-sm-md",
|
|
152
|
+
"--gap-xl",
|
|
153
|
+
"--gap-xs",
|
|
154
|
+
"--gap-xxs",
|
|
155
|
+
"--padding-lg",
|
|
156
|
+
"--padding-md",
|
|
157
|
+
"--padding-sm",
|
|
158
|
+
"--padding-sm-md",
|
|
159
|
+
"--padding-xl",
|
|
160
|
+
"--padding-xs",
|
|
161
|
+
"--padding-xxs",
|
|
162
|
+
"--padding-xxxs"
|
|
163
|
+
],
|
|
164
|
+
"radius": [
|
|
165
|
+
"--radius-full",
|
|
166
|
+
"--radius-lg",
|
|
167
|
+
"--radius-md",
|
|
168
|
+
"--radius-sm",
|
|
169
|
+
"--radius-xl",
|
|
170
|
+
"--radius-xs",
|
|
171
|
+
"--radius-xxl",
|
|
172
|
+
"--radius-xxs"
|
|
173
|
+
],
|
|
174
|
+
"border": [
|
|
175
|
+
"--border-md",
|
|
176
|
+
"--border-xs"
|
|
177
|
+
],
|
|
178
|
+
"shadow": [
|
|
179
|
+
"--shadow-floating",
|
|
180
|
+
"--shadow-modal"
|
|
181
|
+
],
|
|
182
|
+
"icons": [
|
|
183
|
+
"--icon-size-lg",
|
|
184
|
+
"--icon-size-md",
|
|
185
|
+
"--icon-size-sm",
|
|
186
|
+
"--icon-size-xl"
|
|
187
|
+
],
|
|
188
|
+
"motion": [
|
|
189
|
+
"--motion-duration-base",
|
|
190
|
+
"--motion-duration-deliberate",
|
|
191
|
+
"--motion-duration-fast",
|
|
192
|
+
"--motion-duration-loop-shimmer",
|
|
193
|
+
"--motion-duration-loop-spin",
|
|
194
|
+
"--motion-duration-slow",
|
|
195
|
+
"--motion-duration-slower",
|
|
196
|
+
"--motion-ease-emphasized",
|
|
197
|
+
"--motion-ease-entrance",
|
|
198
|
+
"--motion-ease-linear",
|
|
199
|
+
"--motion-ease-spring",
|
|
200
|
+
"--motion-ease-standard"
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
;
|
|
205
|
+
|
|
206
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const categories = { "colour": ["--color-action-icon-active", "--color-action-icon-default", "--color-action-passive-bg", "--color-action-passive-bg-active", "--color-action-passive-bg-hover", "--color-action-passive-text", "--color-action-primary-bg", "--color-action-primary-bg-active", "--color-action-primary-bg-hover", "--color-action-primary-border", "--color-action-primary-border-secondary", "--color-action-primary-border-tertiary", "--color-action-primary-text", "--color-action-primary-text-active", "--color-action-primary-text-secondary", "--color-action-primary-text-tertiary", "--color-bg-container-border", "--color-bg-container-inverse", "--color-bg-container-primary", "--color-bg-container-primary-semi", "--color-bg-container-primary-transparent", "--color-bg-container-secondary", "--color-bg-container-tertiary", "--color-bg-page-inverse", "--color-bg-page-primary", "--color-chart-contribution-0", "--color-chart-contribution-1", "--color-chart-contribution-2", "--color-chart-contribution-3", "--color-chart-contribution-4", "--color-control-thumb", "--color-core-accent-amber", "--color-core-accent-cobalt", "--color-core-accent-coral", "--color-core-accent-gold", "--color-core-accent-mint", "--color-core-accent-violet", "--color-core-ui-primary", "--color-core-ui-secondary", "--color-divider", "--color-icon-primary", "--color-icon-secondary", "--color-input-bg-disabled", "--color-input-bg-primary", "--color-input-border-disabled", "--color-input-border-hover", "--color-input-border-primary", "--color-input-border-selected", "--color-input-text-disabled", "--color-input-text-inverse", "--color-input-text-placeholder", "--color-input-text-primary", "--color-scrim", "--color-status-error-bg", "--color-status-error-border", "--color-status-error-text", "--color-status-info-bg", "--color-status-info-border", "--color-status-info-text", "--color-status-neutral-bg", "--color-status-neutral-border", "--color-status-neutral-text", "--color-status-positive-bg", "--color-status-positive-border", "--color-status-positive-text", "--color-status-warning-bg", "--color-status-warning-border", "--color-status-warning-text", "--color-text-inverse", "--color-text-on-inverse", "--color-text-primary", "--color-text-secondary", "--color-text-tertiary"], "typography": ["--font-display-1-family", "--font-display-1-letter-spacing", "--font-display-1-line-height", "--font-display-1-size", "--font-display-1-weight", "--font-display-2-family", "--font-display-2-letter-spacing", "--font-display-2-line-height", "--font-display-2-size", "--font-display-2-weight", "--font-family-primary", "--font-heading-1-family", "--font-heading-1-letter-spacing", "--font-heading-1-line-height", "--font-heading-1-size", "--font-heading-1-weight", "--font-heading-2-family", "--font-heading-2-letter-spacing", "--font-heading-2-line-height", "--font-heading-2-size", "--font-heading-2-weight", "--font-heading-3-family", "--font-heading-3-letter-spacing", "--font-heading-3-line-height", "--font-heading-3-size", "--font-heading-3-weight", "--font-mega-1-family", "--font-mega-1-letter-spacing", "--font-mega-1-line-height", "--font-mega-1-size", "--font-mega-1-weight", "--font-mega-2-family", "--font-mega-2-letter-spacing", "--font-mega-2-line-height", "--font-mega-2-size", "--font-mega-2-weight", "--font-paragraph-em-family", "--font-paragraph-em-letter-spacing", "--font-paragraph-em-line-height", "--font-paragraph-em-size", "--font-paragraph-em-weight", "--font-paragraph-family", "--font-paragraph-letter-spacing", "--font-paragraph-line-height", "--font-paragraph-size", "--font-paragraph-sm-em-family", "--font-paragraph-sm-em-letter-spacing", "--font-paragraph-sm-em-line-height", "--font-paragraph-sm-em-size", "--font-paragraph-sm-em-weight", "--font-paragraph-sm-family", "--font-paragraph-sm-letter-spacing", "--font-paragraph-sm-line-height", "--font-paragraph-sm-size", "--font-paragraph-sm-weight", "--font-paragraph-weight", "--font-sub-display-family", "--font-sub-display-letter-spacing", "--font-sub-display-line-height", "--font-sub-display-size", "--font-sub-display-weight", "--font-title-body-family", "--font-title-body-letter-spacing", "--font-title-body-line-height", "--font-title-body-size", "--font-title-body-weight"], "spacing": ["--gap-lg", "--gap-md", "--gap-sm", "--gap-sm-md", "--gap-xl", "--gap-xs", "--gap-xxs", "--padding-lg", "--padding-md", "--padding-sm", "--padding-sm-md", "--padding-xl", "--padding-xs", "--padding-xxs", "--padding-xxxs"], "radius": ["--radius-full", "--radius-lg", "--radius-md", "--radius-sm", "--radius-xl", "--radius-xs", "--radius-xxl", "--radius-xxs"], "border": ["--border-md", "--border-xs"], "shadow": ["--shadow-floating", "--shadow-modal"], "icons": ["--icon-size-lg", "--icon-size-md", "--icon-size-sm", "--icon-size-xl"], "motion": ["--motion-duration-base", "--motion-duration-deliberate", "--motion-duration-fast", "--motion-duration-loop-shimmer", "--motion-duration-loop-spin", "--motion-duration-slow", "--motion-duration-slower", "--motion-ease-emphasized", "--motion-ease-entrance", "--motion-ease-linear", "--motion-ease-spring", "--motion-ease-standard"] };
|
|
2
|
+
const registry = {
|
|
3
|
+
categories
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
categories,
|
|
7
|
+
registry as default
|
|
8
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/* ============================================
|
|
2
|
+
SEMANTIC TOKENS — DARK THEME
|
|
3
|
+
Applied when data-theme="dark" is set
|
|
4
|
+
Every value chains to tokens-primitives.css
|
|
5
|
+
(validated by scripts/validate-token-references.mjs)
|
|
6
|
+
============================================ */
|
|
7
|
+
|
|
8
|
+
[data-theme="dark"] {
|
|
9
|
+
/* Text */
|
|
10
|
+
--color-text-primary: var(--primitive-neutral-01);
|
|
11
|
+
--color-text-secondary: var(--primitive-neutral-03);
|
|
12
|
+
--color-text-tertiary: var(--primitive-neutral-04);
|
|
13
|
+
--color-text-inverse: var(--primitive-neutral-07);
|
|
14
|
+
--color-text-on-inverse: var(--primitive-neutral-09);
|
|
15
|
+
|
|
16
|
+
/* Icon */
|
|
17
|
+
--color-icon-primary: var(--primitive-neutral-02);
|
|
18
|
+
--color-icon-secondary: var(--primitive-neutral-04);
|
|
19
|
+
|
|
20
|
+
/* Background - Page */
|
|
21
|
+
--color-bg-page-primary: var(--primitive-neutral-10);
|
|
22
|
+
--color-bg-page-inverse: var(--primitive-neutral-01);
|
|
23
|
+
|
|
24
|
+
/* Background - Container */
|
|
25
|
+
--color-bg-container-primary: var(--primitive-neutral-09-semi);
|
|
26
|
+
--color-bg-container-primary-transparent: var(--primitive-neutral-09-transparent);
|
|
27
|
+
--color-bg-container-primary-semi: var(--primitive-neutral-09-semi-transparent);
|
|
28
|
+
--color-bg-container-secondary: var(--primitive-neutral-07);
|
|
29
|
+
--color-bg-container-tertiary: var(--primitive-neutral-08);
|
|
30
|
+
--color-bg-container-inverse: var(--primitive-neutral-01);
|
|
31
|
+
--color-bg-container-border: var(--primitive-neutral-08);
|
|
32
|
+
|
|
33
|
+
/* Divider */
|
|
34
|
+
--color-divider: var(--primitive-neutral-08-semi);
|
|
35
|
+
|
|
36
|
+
/* Overlay & controls */
|
|
37
|
+
--color-scrim: var(--primitive-true-black-strong);
|
|
38
|
+
--color-control-thumb: var(--primitive-neutral-01);
|
|
39
|
+
|
|
40
|
+
/* Elevation — stronger opacity so shadows read against the #050505 floor */
|
|
41
|
+
--shadow-floating: 0 4px 16px rgba(0, 0, 0, 0.55);
|
|
42
|
+
--shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.6);
|
|
43
|
+
|
|
44
|
+
/* Action - Primary */
|
|
45
|
+
--color-action-primary-bg: var(--primitive-teal-07);
|
|
46
|
+
--color-action-primary-bg-hover: var(--primitive-teal-08);
|
|
47
|
+
--color-action-primary-bg-active: var(--primitive-teal-09);
|
|
48
|
+
--color-action-primary-text: var(--primitive-teal-02);
|
|
49
|
+
--color-action-primary-text-active: var(--primitive-neutral-01);
|
|
50
|
+
--color-action-primary-text-secondary: var(--primitive-teal-10);
|
|
51
|
+
--color-action-primary-text-tertiary: var(--primitive-teal-07);
|
|
52
|
+
--color-action-primary-border: var(--primitive-teal-09);
|
|
53
|
+
--color-action-primary-border-secondary: var(--primitive-teal-06);
|
|
54
|
+
--color-action-primary-border-tertiary: var(--primitive-teal-04);
|
|
55
|
+
|
|
56
|
+
/* Action - Icon */
|
|
57
|
+
--color-action-icon-default: var(--primitive-neutral-01);
|
|
58
|
+
--color-action-icon-active: var(--primitive-neutral-01);
|
|
59
|
+
|
|
60
|
+
/* Action - Passive (Secondary button) */
|
|
61
|
+
--color-action-passive-text: var(--primitive-neutral-01);
|
|
62
|
+
--color-action-passive-bg: var(--primitive-neutral-09-transparent);
|
|
63
|
+
--color-action-passive-bg-hover: var(--primitive-neutral-08-semi);
|
|
64
|
+
--color-action-passive-bg-active: var(--primitive-neutral-07-semi);
|
|
65
|
+
|
|
66
|
+
/* Status - Positive */
|
|
67
|
+
--color-status-positive-bg: var(--primitive-green-10);
|
|
68
|
+
--color-status-positive-border: var(--primitive-green-07);
|
|
69
|
+
--color-status-positive-text: var(--primitive-green-01);
|
|
70
|
+
|
|
71
|
+
/* Status - Warning */
|
|
72
|
+
--color-status-warning-bg: var(--primitive-orange-10);
|
|
73
|
+
--color-status-warning-border: var(--primitive-orange-07);
|
|
74
|
+
--color-status-warning-text: var(--primitive-orange-01);
|
|
75
|
+
|
|
76
|
+
/* Status - Error */
|
|
77
|
+
--color-status-error-bg: var(--primitive-red-10);
|
|
78
|
+
--color-status-error-border: var(--primitive-red-07);
|
|
79
|
+
--color-status-error-text: var(--primitive-red-01);
|
|
80
|
+
|
|
81
|
+
/* Status - Info */
|
|
82
|
+
--color-status-info-bg: var(--primitive-blue-10);
|
|
83
|
+
--color-status-info-border: var(--primitive-blue-07);
|
|
84
|
+
--color-status-info-text: var(--primitive-blue-01);
|
|
85
|
+
|
|
86
|
+
/* Status - Neutral */
|
|
87
|
+
--color-status-neutral-bg: var(--primitive-neutral-08);
|
|
88
|
+
--color-status-neutral-border: var(--primitive-neutral-06);
|
|
89
|
+
--color-status-neutral-text: var(--primitive-neutral-01);
|
|
90
|
+
|
|
91
|
+
/* Chart - Contribution heatmap ramp (level 0 = none → level 4 = most) */
|
|
92
|
+
--color-chart-contribution-0: var(--primitive-neutral-08);
|
|
93
|
+
--color-chart-contribution-1: var(--primitive-green-10);
|
|
94
|
+
--color-chart-contribution-2: var(--primitive-green-09);
|
|
95
|
+
--color-chart-contribution-3: var(--primitive-green-08);
|
|
96
|
+
--color-chart-contribution-4: var(--primitive-green-07);
|
|
97
|
+
|
|
98
|
+
/* Input */
|
|
99
|
+
--color-input-text-primary: var(--primitive-neutral-01);
|
|
100
|
+
--color-input-text-placeholder: var(--primitive-neutral-04);
|
|
101
|
+
--color-input-text-disabled: var(--primitive-neutral-07);
|
|
102
|
+
--color-input-text-inverse: var(--primitive-neutral-07);
|
|
103
|
+
--color-input-border-primary: var(--primitive-neutral-08);
|
|
104
|
+
--color-input-border-hover: var(--primitive-teal-09);
|
|
105
|
+
--color-input-border-selected: var(--primitive-teal-06);
|
|
106
|
+
--color-input-border-disabled: var(--primitive-neutral-08);
|
|
107
|
+
--color-input-bg-primary: var(--primitive-neutral-10);
|
|
108
|
+
--color-input-bg-disabled: var(--primitive-neutral-09);
|
|
109
|
+
|
|
110
|
+
/* Core colours */
|
|
111
|
+
--color-core-ui-primary: var(--primitive-teal-07);
|
|
112
|
+
--color-core-ui-secondary: var(--primitive-teal-09);
|
|
113
|
+
--color-core-accent-coral: var(--primitive-red-07);
|
|
114
|
+
--color-core-accent-violet: var(--primitive-purple-07);
|
|
115
|
+
--color-core-accent-cobalt: var(--primitive-blue-07);
|
|
116
|
+
--color-core-accent-amber: var(--primitive-orange-07);
|
|
117
|
+
--color-core-accent-gold: var(--primitive-yellow-07);
|
|
118
|
+
--color-core-accent-mint: var(--primitive-green-07);
|
|
119
|
+
}
|