@sigx/zero-daisyui 0.2.0-beta.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/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/components.d.ts +478 -0
- package/dist/components.js +76 -0
- package/dist/css/components/accordion.css +165 -0
- package/dist/css/components/alert.css +126 -0
- package/dist/css/components/avatar.css +94 -0
- package/dist/css/components/badge.css +82 -0
- package/dist/css/components/breadcrumbs.css +102 -0
- package/dist/css/components/button.css +252 -0
- package/dist/css/components/card.css +97 -0
- package/dist/css/components/carousel.css +196 -0
- package/dist/css/components/chat.css +167 -0
- package/dist/css/components/checkbox.css +245 -0
- package/dist/css/components/collapsible.css +157 -0
- package/dist/css/components/combobox.css +251 -0
- package/dist/css/components/countdown.css +83 -0
- package/dist/css/components/dialog.css +313 -0
- package/dist/css/components/diff.css +120 -0
- package/dist/css/components/divider.css +70 -0
- package/dist/css/components/drawer.css +285 -0
- package/dist/css/components/field.css +111 -0
- package/dist/css/components/file-upload.css +198 -0
- package/dist/css/components/indicator.css +166 -0
- package/dist/css/components/input.css +151 -0
- package/dist/css/components/join.css +122 -0
- package/dist/css/components/kbd.css +84 -0
- package/dist/css/components/menu.css +382 -0
- package/dist/css/components/native-select.css +128 -0
- package/dist/css/components/navbar.css +93 -0
- package/dist/css/components/number-input.css +211 -0
- package/dist/css/components/pagination.css +203 -0
- package/dist/css/components/popover.css +263 -0
- package/dist/css/components/progress.css +109 -0
- package/dist/css/components/radial-progress.css +129 -0
- package/dist/css/components/radio-group.css +176 -0
- package/dist/css/components/rating-group.css +143 -0
- package/dist/css/components/select.css +212 -0
- package/dist/css/components/skeleton.css +74 -0
- package/dist/css/components/slider.css +182 -0
- package/dist/css/components/spinner.css +75 -0
- package/dist/css/components/stats.css +115 -0
- package/dist/css/components/status.css +66 -0
- package/dist/css/components/steps.css +208 -0
- package/dist/css/components/swap.css +116 -0
- package/dist/css/components/switch.css +126 -0
- package/dist/css/components/table.css +124 -0
- package/dist/css/components/tabs.css +137 -0
- package/dist/css/components/textarea.css +131 -0
- package/dist/css/components/timeline.css +204 -0
- package/dist/css/components/toast.css +234 -0
- package/dist/css/components/toggle-group.css +164 -0
- package/dist/css/components/toggle.css +139 -0
- package/dist/css/components/tooltip.css +226 -0
- package/dist/css/components/tree-view.css +197 -0
- package/dist/css/index.css +8521 -0
- package/dist/css/tokens.css +265 -0
- package/dist/design-system.d.ts +5 -0
- package/dist/design-system.d.ts.map +1 -0
- package/dist/design-system.js +46 -0
- package/dist/design-system.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/lynx/components/accordion.css +87 -0
- package/dist/lynx/components/alert.css +108 -0
- package/dist/lynx/components/avatar.css +83 -0
- package/dist/lynx/components/badge.css +80 -0
- package/dist/lynx/components/breadcrumbs.css +61 -0
- package/dist/lynx/components/button.css +173 -0
- package/dist/lynx/components/card.css +62 -0
- package/dist/lynx/components/carousel.css +124 -0
- package/dist/lynx/components/chat.css +105 -0
- package/dist/lynx/components/checkbox.css +163 -0
- package/dist/lynx/components/collapsible.css +79 -0
- package/dist/lynx/components/combobox.css +195 -0
- package/dist/lynx/components/countdown.css +43 -0
- package/dist/lynx/components/dialog.css +227 -0
- package/dist/lynx/components/diff.css +59 -0
- package/dist/lynx/components/divider.css +60 -0
- package/dist/lynx/components/drawer.css +184 -0
- package/dist/lynx/components/field.css +63 -0
- package/dist/lynx/components/file-upload.css +147 -0
- package/dist/lynx/components/indicator.css +108 -0
- package/dist/lynx/components/input.css +112 -0
- package/dist/lynx/components/join.css +60 -0
- package/dist/lynx/components/kbd.css +81 -0
- package/dist/lynx/components/menu.css +282 -0
- package/dist/lynx/components/native-select.css +100 -0
- package/dist/lynx/components/navbar.css +91 -0
- package/dist/lynx/components/number-input.css +156 -0
- package/dist/lynx/components/pagination.css +155 -0
- package/dist/lynx/components/popover.css +184 -0
- package/dist/lynx/components/progress.css +43 -0
- package/dist/lynx/components/radial-progress.css +59 -0
- package/dist/lynx/components/radio-group.css +149 -0
- package/dist/lynx/components/rating-group.css +69 -0
- package/dist/lynx/components/select.css +163 -0
- package/dist/lynx/components/skeleton.css +34 -0
- package/dist/lynx/components/slider.css +136 -0
- package/dist/lynx/components/spinner.css +49 -0
- package/dist/lynx/components/stats.css +95 -0
- package/dist/lynx/components/status.css +45 -0
- package/dist/lynx/components/steps.css +171 -0
- package/dist/lynx/components/swap.css +60 -0
- package/dist/lynx/components/switch.css +95 -0
- package/dist/lynx/components/table.css +74 -0
- package/dist/lynx/components/tabs.css +105 -0
- package/dist/lynx/components/textarea.css +104 -0
- package/dist/lynx/components/timeline.css +123 -0
- package/dist/lynx/components/toast.css +200 -0
- package/dist/lynx/components/toggle-group.css +114 -0
- package/dist/lynx/components/toggle.css +112 -0
- package/dist/lynx/components/tooltip.css +153 -0
- package/dist/lynx/components/tree-view.css +161 -0
- package/dist/lynx/index.css +6223 -0
- package/dist/lynx/manifest.json +1758 -0
- package/dist/lynx/tokens.css +425 -0
- package/dist/manifest.json +1752 -0
- package/dist/recipes.d.ts +188 -0
- package/dist/recipes.d.ts.map +1 -0
- package/dist/recipes.js +5128 -0
- package/dist/recipes.js.map +1 -0
- package/dist/register.d.ts +507 -0
- package/dist/register.js +4 -0
- package/dist/report.json +10752 -0
- package/dist/tokens.d.ts +150 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +306 -0
- package/dist/tokens.js.map +1 -0
- package/package.json +61 -0
- package/src/design-system.ts +52 -0
- package/src/index.ts +14 -0
- package/src/recipes.ts +5236 -0
- package/src/tokens.ts +321 -0
package/src/tokens.ts
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* zero-daisyui tokens — daisyUI's "light" and "dark" theme values on the
|
|
3
|
+
* zero contract. Values match the daisy presets `@sigx/daisyui` ships, so a
|
|
4
|
+
* zero app skinned with this package sits visually next to a daisy app.
|
|
5
|
+
*/
|
|
6
|
+
import type { CustomTokenDecl, RoleDecl, SystemTokens, TokensInput } from '@sigx/zero-kit';
|
|
7
|
+
|
|
8
|
+
/** daisyUI's color vocabulary — the recommended eight roles, declared explicitly. */
|
|
9
|
+
export const roles = {
|
|
10
|
+
primary: {}, secondary: {}, accent: {}, neutral: {},
|
|
11
|
+
info: {}, success: {}, warning: {}, error: {},
|
|
12
|
+
} as const satisfies Record<string, RoleDecl>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* daisy's non-color token values — declared once for the design system rather
|
|
16
|
+
* than restated per theme, with the three radii per-theme overridden below
|
|
17
|
+
* where daisy's own themes differ.
|
|
18
|
+
*
|
|
19
|
+
* The radii are `light`/`dark`'s real shipped values. They used to be
|
|
20
|
+
* `selector: 1.5rem` / `field: .5rem` / `box: 1rem`, which no daisyUI 5 theme
|
|
21
|
+
* declares for any of the three — and `1.5rem` in particular is a value
|
|
22
|
+
* `--radius-selector` never takes in any of daisy's 35 themes. The error was
|
|
23
|
+
* masked on the checkbox alone by a compensating `calc(… / 3)` in `recipes.ts`
|
|
24
|
+
* (`1.5rem / 3` = the `.5rem` daisy uses undivided); every other reader —
|
|
25
|
+
* `switch.control`, `switch.thumb`, `progress`, the rating focus rings — was
|
|
26
|
+
* simply 3× too round. Source: daisyUI 5's shipped `themes.css`, parsed across
|
|
27
|
+
* all 35 themes.
|
|
28
|
+
*/
|
|
29
|
+
export const system = {
|
|
30
|
+
radius: { selector: '0.5rem', field: '0.25rem', box: '0.5rem' },
|
|
31
|
+
size: { selector: '0.25rem', field: '0.25rem' },
|
|
32
|
+
// Typography. `fonts` is FAMILIES — sizes are the --text-* ramp, which
|
|
33
|
+
// this design system inherits from @sigx/zero's fallbacks.
|
|
34
|
+
typography: {
|
|
35
|
+
fonts: {
|
|
36
|
+
sans: 'system-ui, -apple-system, "Segoe UI", Roboto, sans-serif',
|
|
37
|
+
mono: 'ui-monospace, SFMono-Regular, Menlo, monospace',
|
|
38
|
+
},
|
|
39
|
+
weights: { normal: 400, medium: 500, semibold: 600, bold: 700 },
|
|
40
|
+
leading: { none: 1, tight: 1.25, normal: 1.5 },
|
|
41
|
+
tracking: { normal: '0em', wide: '0.05em' },
|
|
42
|
+
},
|
|
43
|
+
// daisy runs a slightly roomier ramp than basic — the `xl`/`2xl` steps
|
|
44
|
+
// are where its cards and modals get their air.
|
|
45
|
+
spacing: {
|
|
46
|
+
'2xs': '0.125rem',
|
|
47
|
+
xs: '0.25rem',
|
|
48
|
+
sm: '0.375rem',
|
|
49
|
+
md: '0.5rem',
|
|
50
|
+
lg: '0.75rem',
|
|
51
|
+
xl: '1rem',
|
|
52
|
+
'2xl': '1.25rem',
|
|
53
|
+
},
|
|
54
|
+
// daisy leans on many barely-separated low elevations; preserved exactly.
|
|
55
|
+
shadow: {
|
|
56
|
+
xs: '0 1px 2px oklch(0% 0 0 / 0.08)',
|
|
57
|
+
sm: '0 1px 2px oklch(0% 0 0 / 0.15)',
|
|
58
|
+
md: '0 1px 2px oklch(0% 0 0 / 0.2)',
|
|
59
|
+
lg: '0 12px 32px -8px oklch(0% 0 0 / 0.3)',
|
|
60
|
+
xl: '0 25px 50px -12px oklch(0% 0 0 / 0.4)',
|
|
61
|
+
},
|
|
62
|
+
// daisy's own timings, unchanged in value — 0.15s/0.2s/0.3s as authored.
|
|
63
|
+
// `instant` is the 100ms daisy writes as a literal `.1s` in the checkbox
|
|
64
|
+
// tick's and the toggle knob's transition DELAY. Declared as a token so no
|
|
65
|
+
// literal time appears in a recipe, and — unlike daisy's own — so the kit's
|
|
66
|
+
// reduced-motion block collapses the delay along with every duration.
|
|
67
|
+
motion: {
|
|
68
|
+
durations: { instant: '100ms', fast: '150ms', normal: '200ms', slow: '300ms' },
|
|
69
|
+
easings: { standard: 'ease' },
|
|
70
|
+
},
|
|
71
|
+
border: '1px',
|
|
72
|
+
disabledOpacity: '0.3',
|
|
73
|
+
} as const satisfies SystemTokens;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* daisy's fractal-noise tile, verbatim from its own `:root` — the `--fx-noise`
|
|
77
|
+
* layer its checkboxes, toggles and buttons carry at `--noise` strength.
|
|
78
|
+
*/
|
|
79
|
+
const FX_NOISE = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E\")";
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The two paints `--depth` scales, named rather than inlined.
|
|
83
|
+
*
|
|
84
|
+
* daisy writes `oklch(0% 0 0 / calc(var(--depth) * .1))` straight into every
|
|
85
|
+
* inset box-shadow. Written that way in a recipe the validator flags a
|
|
86
|
+
* hardcoded colour — its scrim exemption parses the literal, and a
|
|
87
|
+
* `calc(var(…))` alpha does not survive `stripVars`. Naming them keeps the
|
|
88
|
+
* recipes var-only, which is the rule the exemption exists to protect.
|
|
89
|
+
*/
|
|
90
|
+
const DEPTH_SHADE = 'oklch(0% 0 0 / calc(var(--depth) * 0.1))';
|
|
91
|
+
const DEPTH_SHEEN = 'oklch(100% 0 0 / calc(var(--depth) * 0.1))';
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* daisy's two non-contract knobs. `--depth` needs `syntax: '<number>'` so
|
|
95
|
+
* `calc(var(--depth) * 10%)` interpolates rather than resolving to a guess.
|
|
96
|
+
*/
|
|
97
|
+
export const custom = {
|
|
98
|
+
depth: { description: "daisy's inset-shadow depth: 1 = shadowed, 0 = flat.", syntax: '<number>' },
|
|
99
|
+
'depth-shade': { description: 'The black inset paint --depth scales.' },
|
|
100
|
+
'depth-sheen': { description: 'The white inset paint --depth scales.' },
|
|
101
|
+
noise: { description: "daisy's fractal-noise overlay strength (0–1).", syntax: '<number>' },
|
|
102
|
+
'fx-noise': { description: "daisy's fractal-noise tile." },
|
|
103
|
+
} as const satisfies Record<string, CustomTokenDecl>;
|
|
104
|
+
|
|
105
|
+
/** Per-theme values for `custom` — only `--depth` actually varies. */
|
|
106
|
+
const fx = (depth: '0' | '1'): Record<string, string> => ({
|
|
107
|
+
depth,
|
|
108
|
+
'depth-shade': DEPTH_SHADE,
|
|
109
|
+
'depth-sheen': DEPTH_SHEEN,
|
|
110
|
+
noise: '0',
|
|
111
|
+
'fx-noise': FX_NOISE,
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The `variant` axis vocabulary — what button's variants.variant keys on.
|
|
116
|
+
* Declared so a recipe typo is a build error, not a minted value; exported
|
|
117
|
+
* `as const` so `defineApi` can narrow the api declaration against it.
|
|
118
|
+
*
|
|
119
|
+
* `dash` and `link` are daisyUI 5's `btn-dash` / `btn-link` (#332). daisy
|
|
120
|
+
* documents `dash` (with `outline` and `soft`) on badge and alert too, but
|
|
121
|
+
* this package wires `variant` on button only — the repo-wide decision
|
|
122
|
+
* (#175) — so the union below IS button's vocabulary, and the `scopes`
|
|
123
|
+
* entry makes that claim explicit.
|
|
124
|
+
*/
|
|
125
|
+
export const variants = ['solid', 'outline', 'soft', 'ghost', 'dash', 'link'] as const;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* daisyUI 5's button modifier set (#332), each a documented `btn-*` class:
|
|
129
|
+
* `btn-wide`, `btn-block`, `btn-square`, `btn-circle`, `btn-active`, and
|
|
130
|
+
* the loading spinner (daisy renders it as a `loading loading-spinner`
|
|
131
|
+
* span; here the recipe draws it, no DOM change). All six were boolean
|
|
132
|
+
* props on the old `@sigx/daisyui` Button — the api declaration routes
|
|
133
|
+
* them back to those names.
|
|
134
|
+
*
|
|
135
|
+
* `glass` is deliberately NOT here: daisyUI 5 no longer documents it on
|
|
136
|
+
* any component (a v4 relic whose v5 survival is a compatibility style
|
|
137
|
+
* with open breakage — saadeghi/daisyui#3316, #3501), and the old
|
|
138
|
+
* `@sigx/daisyui` Button never exposed it either.
|
|
139
|
+
*/
|
|
140
|
+
export const modifiers = ['wide', 'block', 'square', 'circle', 'active', 'loading'] as const;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* daisyUI's table looks (#340): `table-zebra` and the row-level `hover`
|
|
144
|
+
* class, spelled as presence-only mods on the table root. Kept apart from
|
|
145
|
+
* the button set so `scopes` can hand each scope exactly its own names.
|
|
146
|
+
*/
|
|
147
|
+
export const tableModifiers = ['zebra', 'hover'] as const;
|
|
148
|
+
|
|
149
|
+
export const tokens: TokensInput<typeof roles, typeof system> = {
|
|
150
|
+
roles,
|
|
151
|
+
custom,
|
|
152
|
+
variants,
|
|
153
|
+
modifiers: [...modifiers, ...tableModifiers],
|
|
154
|
+
/**
|
|
155
|
+
* Per-scope vocabulary claims (#294). Button wires `variant` and the
|
|
156
|
+
* `btn-*` modifier set (#175); restating that union is the explicit
|
|
157
|
+
* claim "yes, button carries all of it", the same grammar zero-basic's
|
|
158
|
+
* button entry uses. Table (#340) narrows to its own two looks — the
|
|
159
|
+
* "later scope adopts part of the axis" case this block predicted.
|
|
160
|
+
*/
|
|
161
|
+
scopes: {
|
|
162
|
+
button: {
|
|
163
|
+
variants: [...variants],
|
|
164
|
+
modifiers: [...modifiers],
|
|
165
|
+
},
|
|
166
|
+
table: { modifiers: [...tableModifiers] },
|
|
167
|
+
},
|
|
168
|
+
system,
|
|
169
|
+
defaultLight: 'light',
|
|
170
|
+
defaultDark: 'dark',
|
|
171
|
+
themes: {
|
|
172
|
+
light: {
|
|
173
|
+
colorScheme: 'light',
|
|
174
|
+
pair: 'dark',
|
|
175
|
+
softMix: 0.12,
|
|
176
|
+
colors: {
|
|
177
|
+
'base-100': 'oklch(100% 0 0)',
|
|
178
|
+
'base-200': 'oklch(98% 0 0)',
|
|
179
|
+
'base-300': 'oklch(95% 0 0)',
|
|
180
|
+
'base-content': 'oklch(21% 0.006 285.885)',
|
|
181
|
+
primary: 'oklch(45% 0.24 277.023)',
|
|
182
|
+
'primary-content': 'oklch(93% 0.034 272.788)',
|
|
183
|
+
secondary: 'oklch(65% 0.241 354.308)',
|
|
184
|
+
'secondary-content': 'oklch(94% 0.028 342.258)',
|
|
185
|
+
accent: 'oklch(77% 0.152 181.912)',
|
|
186
|
+
'accent-content': 'oklch(38% 0.063 188.416)',
|
|
187
|
+
neutral: 'oklch(14% 0.005 285.823)',
|
|
188
|
+
'neutral-content': 'oklch(92% 0.004 286.32)',
|
|
189
|
+
info: 'oklch(74% 0.16 232.661)',
|
|
190
|
+
'info-content': 'oklch(29% 0.066 243.157)',
|
|
191
|
+
success: 'oklch(76% 0.177 163.223)',
|
|
192
|
+
'success-content': 'oklch(37% 0.077 168.94)',
|
|
193
|
+
warning: 'oklch(82% 0.189 84.429)',
|
|
194
|
+
'warning-content': 'oklch(41% 0.112 45.904)',
|
|
195
|
+
error: 'oklch(71% 0.194 13.428)',
|
|
196
|
+
'error-content': 'oklch(27% 0.105 12.094)',
|
|
197
|
+
},
|
|
198
|
+
custom: fx('1'),
|
|
199
|
+
},
|
|
200
|
+
dark: {
|
|
201
|
+
colorScheme: 'dark',
|
|
202
|
+
pair: 'light',
|
|
203
|
+
softMix: 0.16,
|
|
204
|
+
colors: {
|
|
205
|
+
'base-100': 'oklch(25.33% 0.016 252.42)',
|
|
206
|
+
'base-200': 'oklch(23.26% 0.014 253.1)',
|
|
207
|
+
'base-300': 'oklch(21.15% 0.012 254.09)',
|
|
208
|
+
'base-content': 'oklch(97.807% 0.029 256.847)',
|
|
209
|
+
primary: 'oklch(58% 0.233 277.117)',
|
|
210
|
+
'primary-content': 'oklch(96% 0.018 272.314)',
|
|
211
|
+
secondary: 'oklch(65% 0.241 354.308)',
|
|
212
|
+
'secondary-content': 'oklch(94% 0.028 342.258)',
|
|
213
|
+
accent: 'oklch(77% 0.152 181.912)',
|
|
214
|
+
'accent-content': 'oklch(38% 0.063 188.416)',
|
|
215
|
+
neutral: 'oklch(14% 0.005 285.823)',
|
|
216
|
+
'neutral-content': 'oklch(92% 0.004 286.32)',
|
|
217
|
+
info: 'oklch(74% 0.16 232.661)',
|
|
218
|
+
'info-content': 'oklch(29% 0.066 243.157)',
|
|
219
|
+
success: 'oklch(76% 0.177 163.223)',
|
|
220
|
+
'success-content': 'oklch(37% 0.077 168.94)',
|
|
221
|
+
warning: 'oklch(82% 0.189 84.429)',
|
|
222
|
+
'warning-content': 'oklch(41% 0.112 45.904)',
|
|
223
|
+
error: 'oklch(71% 0.194 13.428)',
|
|
224
|
+
'error-content': 'oklch(27% 0.105 12.094)',
|
|
225
|
+
},
|
|
226
|
+
custom: fx('1'),
|
|
227
|
+
},
|
|
228
|
+
// The N-theme proof (#132; docs/architecture.md, "The theme model"):
|
|
229
|
+
// three more of daisyUI's own
|
|
230
|
+
// themes. `defaultLight`/`defaultDark` stay light/dark, so the `:root`
|
|
231
|
+
// light-dark() emission is untouched and these live purely in their
|
|
232
|
+
// own [data-theme] blocks. A `dim` theme is a THEME whose scheme is
|
|
233
|
+
// dark — not a third scheme. Unpaired on purpose: `toggle()` falls
|
|
234
|
+
// back to the scheme default, which is what a one-off theme wants.
|
|
235
|
+
dim: {
|
|
236
|
+
colorScheme: 'dark',
|
|
237
|
+
softMix: 0.16,
|
|
238
|
+
colors: {
|
|
239
|
+
'base-100': 'oklch(30.857% 0.023 264.149)',
|
|
240
|
+
'base-200': 'oklch(28.036% 0.019 264.182)',
|
|
241
|
+
'base-300': 'oklch(26.346% 0.018 262.177)',
|
|
242
|
+
'base-content': 'oklch(82.901% 0.031 222.959)',
|
|
243
|
+
primary: 'oklch(86.133% 0.141 139.549)',
|
|
244
|
+
'primary-content': 'oklch(17.226% 0.028 139.549)',
|
|
245
|
+
secondary: 'oklch(73.375% 0.165 35.353)',
|
|
246
|
+
'secondary-content': 'oklch(14.675% 0.033 35.353)',
|
|
247
|
+
accent: 'oklch(74.229% 0.133 311.379)',
|
|
248
|
+
'accent-content': 'oklch(14.845% 0.026 311.379)',
|
|
249
|
+
neutral: 'oklch(24.731% 0.02 264.094)',
|
|
250
|
+
'neutral-content': 'oklch(82.901% 0.031 222.959)',
|
|
251
|
+
info: 'oklch(86.078% 0.142 206.182)',
|
|
252
|
+
'info-content': 'oklch(17.215% 0.028 206.182)',
|
|
253
|
+
success: 'oklch(86.171% 0.142 166.534)',
|
|
254
|
+
'success-content': 'oklch(17.234% 0.028 166.534)',
|
|
255
|
+
warning: 'oklch(86.163% 0.142 94.818)',
|
|
256
|
+
'warning-content': 'oklch(17.232% 0.028 94.818)',
|
|
257
|
+
error: 'oklch(82.418% 0.099 33.756)',
|
|
258
|
+
'error-content': 'oklch(16.483% 0.019 33.756)',
|
|
259
|
+
},
|
|
260
|
+
system: { radius: { selector: '1rem', field: '0.5rem', box: '1rem' } },
|
|
261
|
+
custom: fx('0'),
|
|
262
|
+
},
|
|
263
|
+
nord: {
|
|
264
|
+
colorScheme: 'light',
|
|
265
|
+
softMix: 0.12,
|
|
266
|
+
colors: {
|
|
267
|
+
'base-100': 'oklch(95.127% 0.007 260.731)',
|
|
268
|
+
'base-200': 'oklch(93.299% 0.01 261.788)',
|
|
269
|
+
'base-300': 'oklch(89.925% 0.016 262.749)',
|
|
270
|
+
'base-content': 'oklch(32.437% 0.022 264.182)',
|
|
271
|
+
primary: 'oklch(59.435% 0.077 254.027)',
|
|
272
|
+
'primary-content': 'oklch(11.887% 0.015 254.027)',
|
|
273
|
+
secondary: 'oklch(69.651% 0.059 248.687)',
|
|
274
|
+
'secondary-content': 'oklch(13.93% 0.011 248.687)',
|
|
275
|
+
accent: 'oklch(77.464% 0.062 217.469)',
|
|
276
|
+
'accent-content': 'oklch(15.492% 0.012 217.469)',
|
|
277
|
+
neutral: 'oklch(45.229% 0.035 264.131)',
|
|
278
|
+
'neutral-content': 'oklch(89.925% 0.016 262.749)',
|
|
279
|
+
info: 'oklch(69.207% 0.062 332.664)',
|
|
280
|
+
'info-content': 'oklch(13.841% 0.012 332.664)',
|
|
281
|
+
success: 'oklch(76.827% 0.074 131.063)',
|
|
282
|
+
'success-content': 'oklch(15.365% 0.014 131.063)',
|
|
283
|
+
warning: 'oklch(85.486% 0.089 84.093)',
|
|
284
|
+
'warning-content': 'oklch(17.097% 0.017 84.093)',
|
|
285
|
+
error: 'oklch(60.61% 0.12 15.341)',
|
|
286
|
+
'error-content': 'oklch(12.122% 0.024 15.341)',
|
|
287
|
+
},
|
|
288
|
+
// `field`/`box` already match the system default.
|
|
289
|
+
system: { radius: { selector: '1rem' } },
|
|
290
|
+
custom: fx('0'),
|
|
291
|
+
},
|
|
292
|
+
sunset: {
|
|
293
|
+
colorScheme: 'dark',
|
|
294
|
+
softMix: 0.16,
|
|
295
|
+
colors: {
|
|
296
|
+
'base-100': 'oklch(22% 0.019 237.69)',
|
|
297
|
+
'base-200': 'oklch(20% 0.019 237.69)',
|
|
298
|
+
'base-300': 'oklch(18% 0.019 237.69)',
|
|
299
|
+
'base-content': 'oklch(77.383% 0.043 245.096)',
|
|
300
|
+
primary: 'oklch(74.703% 0.158 39.947)',
|
|
301
|
+
'primary-content': 'oklch(14.94% 0.031 39.947)',
|
|
302
|
+
secondary: 'oklch(72.537% 0.177 2.72)',
|
|
303
|
+
'secondary-content': 'oklch(14.507% 0.035 2.72)',
|
|
304
|
+
accent: 'oklch(71.294% 0.166 299.844)',
|
|
305
|
+
'accent-content': 'oklch(14.258% 0.033 299.844)',
|
|
306
|
+
neutral: 'oklch(26% 0.019 237.69)',
|
|
307
|
+
'neutral-content': 'oklch(70% 0.019 237.69)',
|
|
308
|
+
info: 'oklch(85.559% 0.085 206.015)',
|
|
309
|
+
'info-content': 'oklch(17.111% 0.017 206.015)',
|
|
310
|
+
success: 'oklch(85.56% 0.085 144.778)',
|
|
311
|
+
'success-content': 'oklch(17.112% 0.017 144.778)',
|
|
312
|
+
warning: 'oklch(85.569% 0.084 74.427)',
|
|
313
|
+
'warning-content': 'oklch(17.113% 0.016 74.427)',
|
|
314
|
+
error: 'oklch(85.511% 0.078 16.886)',
|
|
315
|
+
'error-content': 'oklch(17.102% 0.015 16.886)',
|
|
316
|
+
},
|
|
317
|
+
system: { radius: { selector: '1rem', field: '0.5rem', box: '1rem' } },
|
|
318
|
+
custom: fx('0'),
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
};
|