@ksojecki/purpose-ui 0.0.0-stage → 0.2.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 +123 -2
- package/assets/fonts/Karla[wght].ttf +0 -0
- package/assets/fonts/OFL.txt +93 -0
- package/dist/Alert-D-5k0maf.js +23 -0
- package/dist/Button-T8UI5igR.js +112 -0
- package/dist/Dropdown-BZKzAbKB.js +56 -0
- package/dist/Heading-CWDWXU_n.js +27 -0
- package/dist/IconButton-P7nSooA3.js +18 -0
- package/dist/Link-9mNYgEzY.js +36 -0
- package/dist/Paragraph-DFwfb2Yt.js +14 -0
- package/dist/Switch-CI8vMkGz.js +84 -0
- package/dist/actions/Button.d.ts +69 -0
- package/dist/actions/ButtonGroup.d.ts +20 -0
- package/dist/actions/IconActionButtons.d.ts +34 -0
- package/dist/actions/IconButton.d.ts +21 -0
- package/dist/actions/index.d.ts +10 -0
- package/dist/actions/index.js +41 -0
- package/dist/classNames-x6JVYA2t.js +5 -0
- package/dist/data/DataTable.d.ts +47 -0
- package/dist/data/Metric.d.ts +46 -0
- package/dist/data/Table.d.ts +33 -0
- package/dist/data/index.d.ts +8 -0
- package/dist/data/index.js +85 -0
- package/dist/feedback/Alert.d.ts +23 -0
- package/dist/feedback/Badge.d.ts +23 -0
- package/dist/feedback/ConfirmDeletePanel.d.ts +32 -0
- package/dist/feedback/EmptyState.d.ts +22 -0
- package/dist/feedback/Progress.d.ts +24 -0
- package/dist/feedback/Skeleton.d.ts +10 -0
- package/dist/feedback/Spinner.d.ts +16 -0
- package/dist/feedback/Toast.d.ts +48 -0
- package/dist/feedback/Tooltip.d.ts +21 -0
- package/dist/feedback/index.d.ts +15 -0
- package/dist/feedback/index.js +138 -0
- package/dist/forms/Checkbox.d.ts +16 -0
- package/dist/forms/DatePicker.d.ts +51 -0
- package/dist/forms/Field.d.ts +65 -0
- package/dist/forms/FileInput.d.ts +20 -0
- package/dist/forms/FilterBar.d.ts +21 -0
- package/dist/forms/FilterRow.d.ts +20 -0
- package/dist/forms/FormActions.d.ts +28 -0
- package/dist/forms/FormField.d.ts +39 -0
- package/dist/forms/Input.d.ts +20 -0
- package/dist/forms/Radio.d.ts +52 -0
- package/dist/forms/Range.d.ts +24 -0
- package/dist/forms/SegmentedControl.d.ts +33 -0
- package/dist/forms/Select.d.ts +23 -0
- package/dist/forms/Switch.d.ts +15 -0
- package/dist/forms/Textarea.d.ts +20 -0
- package/dist/forms/TimePicker.d.ts +29 -0
- package/dist/forms/index.d.ts +21 -0
- package/dist/forms/index.js +429 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons-CMOARHwx.js +18 -0
- package/dist/internal/classNames.d.ts +1 -0
- package/dist/internal/purpose.d.ts +7 -0
- package/dist/layout/BottomSheet.d.ts +25 -0
- package/dist/layout/Card.d.ts +22 -0
- package/dist/layout/Disclosure.d.ts +18 -0
- package/dist/layout/Divider.d.ts +16 -0
- package/dist/layout/Page/Content.d.ts +11 -0
- package/dist/layout/Page/Page.d.ts +6 -0
- package/dist/layout/Page/index.d.ts +19 -0
- package/dist/layout/PageContainer.d.ts +18 -0
- package/dist/layout/PageHeader.d.ts +25 -0
- package/dist/layout/Section.d.ts +22 -0
- package/dist/layout/index.d.ts +13 -0
- package/dist/layout/index.js +173 -0
- package/dist/navigation/Dropdown.d.ts +47 -0
- package/dist/navigation/Link.d.ts +32 -0
- package/dist/navigation/Menu.d.ts +89 -0
- package/dist/navigation/NavMenu.d.ts +56 -0
- package/dist/navigation/index.d.ts +9 -0
- package/dist/navigation/index.js +128 -0
- package/dist/navigation/popoverFade.d.ts +5 -0
- package/dist/overlays/ConsentBanner/ConsentBanner.d.ts +35 -0
- package/dist/overlays/ConsentBanner/index.d.ts +1 -0
- package/dist/overlays/ConsentSettings/ConsentSettings.d.ts +48 -0
- package/dist/overlays/ConsentSettings/index.d.ts +1 -0
- package/dist/overlays/ModalWindow/ModalWindow.d.ts +60 -0
- package/dist/overlays/ModalWindow/index.d.ts +3 -0
- package/dist/overlays/index.d.ts +8 -0
- package/dist/overlays/index.js +195 -0
- package/dist/typography/Heading/Heading.d.ts +24 -0
- package/dist/typography/Heading/index.d.ts +1 -0
- package/dist/typography/Paragraph.d.ts +16 -0
- package/dist/typography/Prose.d.ts +17 -0
- package/dist/typography/index.d.ts +8 -0
- package/dist/typography/index.js +12 -0
- package/package.json +121 -4
- package/styles/budget.css +9 -0
- package/styles/generic.css +9 -0
- package/styles/roadsign.css +9 -0
- package/styles/traffic.css +9 -0
- package/theme.css +341 -0
- package/themes/budget.css +103 -0
- package/themes/generic.css +103 -0
- package/themes/roadsign.css +103 -0
- package/themes/traffic.css +103 -0
package/theme.css
ADDED
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Shared surfaces, typography and motion.
|
|
3
|
+
*
|
|
4
|
+
* Import after `@plugin "daisyui" { themes: false; }` in your stylesheet,
|
|
5
|
+
* then import exactly one `themes/<palette>.css`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: 'Karla';
|
|
10
|
+
src: url('./assets/fonts/Karla[wght].ttf') format('truetype');
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 200 800;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:root {
|
|
17
|
+
--font-karla: 'Karla', ui-sans-serif, system-ui, sans-serif;
|
|
18
|
+
|
|
19
|
+
font-family: var(--font-karla);
|
|
20
|
+
|
|
21
|
+
/*
|
|
22
|
+
* Motion. Pair durations with `--motion-ease`; reduced motion is handled below.
|
|
23
|
+
*/
|
|
24
|
+
--motion-fast: 120ms;
|
|
25
|
+
--motion-base: 160ms;
|
|
26
|
+
--motion-slow: 240ms;
|
|
27
|
+
--motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
28
|
+
|
|
29
|
+
/* Scrim behind modal and menu popovers. */
|
|
30
|
+
/* Dark palettes set `--overlay-scrim`, since a light base-content scrim would brighten the page. */
|
|
31
|
+
--overlay-backdrop: var(
|
|
32
|
+
--overlay-scrim,
|
|
33
|
+
color-mix(in srgb, var(--color-base-content) 25%, transparent)
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
/* 70% primary on base-100 is about 4.0:1; needed for WCAG 1.4.11 (3:1). */
|
|
37
|
+
--focus-ring-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
html {
|
|
41
|
+
background: var(--color-base-200);
|
|
42
|
+
transition: background-color var(--motion-slow) var(--motion-ease);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
body {
|
|
46
|
+
min-height: 100vh;
|
|
47
|
+
|
|
48
|
+
color: var(--color-base-content);
|
|
49
|
+
background-color: var(--color-base-200);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/*
|
|
53
|
+
* DaisyUI cards feel more like paper sheets.
|
|
54
|
+
*/
|
|
55
|
+
.card {
|
|
56
|
+
background-color: var(--color-base-100);
|
|
57
|
+
border: 1px solid var(--paper-border);
|
|
58
|
+
|
|
59
|
+
box-shadow: var(--paper-shadow);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/*
|
|
63
|
+
* Inputs should look printed / utilitarian rather than glossy.
|
|
64
|
+
*/
|
|
65
|
+
.input,
|
|
66
|
+
.select,
|
|
67
|
+
.textarea {
|
|
68
|
+
background-color: var(--color-base-100);
|
|
69
|
+
|
|
70
|
+
/* Form field boundaries need 3:1 (WCAG 1.4.11); the card border is fainter. */
|
|
71
|
+
border-color: var(--control-border);
|
|
72
|
+
|
|
73
|
+
box-shadow: inset 0 1px 0 var(--surface-highlight);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.input::placeholder,
|
|
77
|
+
.textarea::placeholder {
|
|
78
|
+
color: var(--ink-muted);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* daisyUI dims menu section titles to 40% ink, which fails 4.5:1. */
|
|
82
|
+
.menu-title {
|
|
83
|
+
color: var(--ink-muted);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/*
|
|
87
|
+
* Buttons: reduce "app-button" feeling a little.
|
|
88
|
+
*/
|
|
89
|
+
.btn {
|
|
90
|
+
box-shadow: none;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.btn-primary:not(.btn-soft, .btn-outline) {
|
|
95
|
+
border-color: color-mix(in srgb, var(--color-primary) 80%, black);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/*
|
|
99
|
+
* Button colour overrides stay unlayered: daisyUI's button layers come after
|
|
100
|
+
* `components`, so layered custom properties would lose to them.
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
/* Default tone: a visible bordered control on the sheet colour, not the canvas. Hover and press shading derive from `--btn-color`. */
|
|
104
|
+
.btn-default {
|
|
105
|
+
--btn-color: var(--color-base-100);
|
|
106
|
+
--btn-rest-fg: var(--color-base-content);
|
|
107
|
+
|
|
108
|
+
border-color: var(--control-border);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Stronger resting tint than daisyUI's 8%; hover still turns the button solid. */
|
|
112
|
+
.btn-soft:not(.btn-ghost):not(:hover, :active, :focus-visible) {
|
|
113
|
+
--btn-bg: color-mix(
|
|
114
|
+
in srgb,
|
|
115
|
+
var(--btn-color, var(--color-base-content)) 15%,
|
|
116
|
+
var(--color-base-100)
|
|
117
|
+
);
|
|
118
|
+
--btn-border: color-mix(
|
|
119
|
+
in srgb,
|
|
120
|
+
var(--btn-color, var(--color-base-content)) 40%,
|
|
121
|
+
var(--color-base-100)
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Resting label ink reaches 4.5:1; `.btn-neutral` resets this variable in daisyUI, so it must be unlayered. */
|
|
126
|
+
.btn-soft:not(.btn-ghost, .btn-default),
|
|
127
|
+
.btn-outline:not(.btn-default) {
|
|
128
|
+
--btn-rest-fg: color-mix(
|
|
129
|
+
in srgb,
|
|
130
|
+
var(--btn-color, var(--color-base-content)) var(--soft-ink-share),
|
|
131
|
+
var(--color-base-content)
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@layer components {
|
|
136
|
+
.btn svg {
|
|
137
|
+
width: 1.25em;
|
|
138
|
+
height: 1.25em;
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.btn-square svg {
|
|
143
|
+
width: 1.4em;
|
|
144
|
+
height: 1.4em;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.btn:active:not(:disabled) {
|
|
148
|
+
scale: 0.97;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@theme {
|
|
153
|
+
--animate-fade-in: fade-in var(--motion-base) var(--motion-ease) both;
|
|
154
|
+
--animate-slide-up: slide-up var(--motion-base) var(--motion-ease) both;
|
|
155
|
+
--animate-scale-in: scale-in var(--motion-base) var(--motion-ease) both;
|
|
156
|
+
|
|
157
|
+
@keyframes fade-in {
|
|
158
|
+
from {
|
|
159
|
+
opacity: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@keyframes slide-up {
|
|
164
|
+
from {
|
|
165
|
+
opacity: 0;
|
|
166
|
+
transform: translateY(8px);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@keyframes scale-in {
|
|
171
|
+
from {
|
|
172
|
+
opacity: 0;
|
|
173
|
+
scale: 0.96;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/*
|
|
179
|
+
* Secondary buttons resemble a label printed on paper.
|
|
180
|
+
*/
|
|
181
|
+
.btn-ghost:hover {
|
|
182
|
+
background-color: color-mix(in srgb, var(--paper-dark) 65%, transparent);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
button,
|
|
186
|
+
a,
|
|
187
|
+
select,
|
|
188
|
+
input,
|
|
189
|
+
textarea {
|
|
190
|
+
transition:
|
|
191
|
+
color var(--motion-base) var(--motion-ease),
|
|
192
|
+
background-color var(--motion-base) var(--motion-ease),
|
|
193
|
+
border-color var(--motion-base) var(--motion-ease),
|
|
194
|
+
box-shadow var(--motion-base) var(--motion-ease),
|
|
195
|
+
transform var(--motion-base) var(--motion-ease);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
button:focus-visible,
|
|
199
|
+
a:focus-visible,
|
|
200
|
+
select:focus-visible,
|
|
201
|
+
input:focus-visible,
|
|
202
|
+
textarea:focus-visible,
|
|
203
|
+
summary:focus-visible,
|
|
204
|
+
[tabindex]:focus-visible {
|
|
205
|
+
outline: 3px solid var(--focus-ring-color);
|
|
206
|
+
|
|
207
|
+
outline-offset: 2px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* A daisyUI field wrapper draws one ring; the bare control inside it must not add a second. */
|
|
211
|
+
:is(.input, .select, .textarea):focus-within {
|
|
212
|
+
outline: 3px solid var(--focus-ring-color);
|
|
213
|
+
|
|
214
|
+
outline-offset: 2px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
:is(.input, .select, .textarea) :is(input, select, textarea):focus-visible {
|
|
218
|
+
outline: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@media (prefers-reduced-motion: reduce) {
|
|
222
|
+
button,
|
|
223
|
+
a,
|
|
224
|
+
select,
|
|
225
|
+
input,
|
|
226
|
+
textarea {
|
|
227
|
+
transition-duration: 0.01ms;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.skeleton {
|
|
231
|
+
animation: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.loading {
|
|
235
|
+
animation-duration: 3s;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
[class*='animate-'] {
|
|
239
|
+
animation: none;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.btn:active:not(:disabled) {
|
|
243
|
+
scale: 1;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
html {
|
|
247
|
+
transition: none;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.paper-navbar {
|
|
252
|
+
position: relative;
|
|
253
|
+
|
|
254
|
+
color: var(--navbar-content);
|
|
255
|
+
background-color: var(--navbar-bg);
|
|
256
|
+
|
|
257
|
+
/*
|
|
258
|
+
* Paper / painted-card texture on top of the base.
|
|
259
|
+
*/
|
|
260
|
+
background-image:
|
|
261
|
+
radial-gradient(circle at 15% 25%, rgb(255 255 255 / 0.035) 0 0.55px, transparent 0.65px),
|
|
262
|
+
radial-gradient(circle at 75% 65%, rgb(0 0 0 / 0.025) 0 0.45px, transparent 0.55px),
|
|
263
|
+
repeating-linear-gradient(1deg, transparent 0, transparent 4px, rgb(255 255 255 / 0.012) 5px),
|
|
264
|
+
linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 45%, rgb(0 0 0 / 0.045));
|
|
265
|
+
|
|
266
|
+
background-size:
|
|
267
|
+
9px 9px,
|
|
268
|
+
13px 13px,
|
|
269
|
+
100% 5px,
|
|
270
|
+
100% 100%;
|
|
271
|
+
|
|
272
|
+
border-bottom: 1px solid color-mix(in srgb, var(--navbar-bg) 72%, black);
|
|
273
|
+
|
|
274
|
+
box-shadow:
|
|
275
|
+
inset 0 1px 0 rgb(255 255 255 / 0.08),
|
|
276
|
+
var(--elevation-1);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* Navbar button rules skip popover panels rendered inside the navbar. */
|
|
280
|
+
.paper-navbar .btn-ghost:not([popover] *) {
|
|
281
|
+
color: var(--navbar-content);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.paper-navbar .btn-ghost:not([popover] *):hover {
|
|
285
|
+
background-color: color-mix(in srgb, var(--navbar-content) 10%, transparent);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.paper-navbar .btn-active:not([popover] *),
|
|
289
|
+
.paper-navbar .btn-ghost[aria-current='page']:not([popover] *) {
|
|
290
|
+
color: var(--navbar-content);
|
|
291
|
+
background-color: rgb(0 0 0 / 0.1);
|
|
292
|
+
border-color: color-mix(in srgb, var(--navbar-content) 15%, transparent);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.paper-navbar .btn-outline:not([popover] *) {
|
|
296
|
+
color: var(--navbar-content);
|
|
297
|
+
|
|
298
|
+
border-color: color-mix(in srgb, var(--navbar-content) 45%, transparent);
|
|
299
|
+
background-color: transparent;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.paper-navbar .btn-outline:not([popover] *):hover {
|
|
303
|
+
color: var(--navbar-content);
|
|
304
|
+
|
|
305
|
+
background-color: color-mix(in srgb, var(--navbar-content) 10%, transparent);
|
|
306
|
+
border-color: color-mix(in srgb, var(--navbar-content) 70%, transparent);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.paper-navbar .btn-outline:not([popover] *):active {
|
|
310
|
+
background-color: rgb(0 0 0 / 0.12);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* Active links in the bar: a translucent navbar-ink pill, not daisyUI's `neutral` (a bright block in dark themes). */
|
|
314
|
+
.paper-navbar .menu:not([popover] *) {
|
|
315
|
+
--menu-active-bg: color-mix(in srgb, var(--navbar-content) 16%, transparent);
|
|
316
|
+
--menu-active-fg: var(--navbar-content);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* Megamenu hover/open indicator in the same ink, from `md` up where the megamenu is the inline bar (below it, it is a light panel). */
|
|
320
|
+
@media (width >= 48rem) {
|
|
321
|
+
.paper-navbar
|
|
322
|
+
.megamenu:is(:has([popovertarget]:hover), :has([popover]:popover-open))
|
|
323
|
+
.megamenu-active {
|
|
324
|
+
background-color: color-mix(in srgb, var(--navbar-content) 16%, transparent);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* Resting outlines of choice controls need 3:1 (WCAG 1.4.11); `-error` and checked states keep daisyUI's colours. */
|
|
329
|
+
.checkbox:not(:checked, .checkbox-error),
|
|
330
|
+
.radio:not(:checked, .radio-error),
|
|
331
|
+
.toggle:not(:checked, .toggle-error) {
|
|
332
|
+
--input-color: var(--control-border);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.checkbox:not(:checked, .checkbox-error) {
|
|
336
|
+
background-color: transparent;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.file-input:not(.file-input-error) {
|
|
340
|
+
--input-color: var(--control-border);
|
|
341
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* budget palette: light plus budget-dark, which follows the OS when no data-theme is set. */
|
|
2
|
+
|
|
3
|
+
@plugin "daisyui/theme" {
|
|
4
|
+
name: 'budget';
|
|
5
|
+
default: true;
|
|
6
|
+
prefersdark: false;
|
|
7
|
+
color-scheme: light;
|
|
8
|
+
|
|
9
|
+
--color-primary: #334756;
|
|
10
|
+
--color-primary-content: #f8f3e8;
|
|
11
|
+
--color-secondary: #b25a4d;
|
|
12
|
+
--color-secondary-content: #ffffff;
|
|
13
|
+
--color-accent: #537a61;
|
|
14
|
+
--color-accent-content: #fffaf2;
|
|
15
|
+
--color-neutral: #2c302c;
|
|
16
|
+
--color-neutral-content: #f8f3e8;
|
|
17
|
+
--color-info: #52728d;
|
|
18
|
+
--color-info-content: #fffaf2;
|
|
19
|
+
--color-success: #537a61;
|
|
20
|
+
--color-success-content: #fffaf2;
|
|
21
|
+
--color-warning: #c49a46;
|
|
22
|
+
--color-warning-content: #30281b;
|
|
23
|
+
--color-error: #b45347;
|
|
24
|
+
--color-error-content: #fffaf2;
|
|
25
|
+
--color-base-100: #faf7ef;
|
|
26
|
+
--color-base-200: #f2ede1;
|
|
27
|
+
--color-base-300: #ddd3c1;
|
|
28
|
+
--color-base-content: #292b28;
|
|
29
|
+
|
|
30
|
+
--radius-selector: 0.375rem;
|
|
31
|
+
--radius-field: 0.375rem;
|
|
32
|
+
--radius-box: 0.5rem;
|
|
33
|
+
--size-selector: 0.25rem;
|
|
34
|
+
--size-field: 0.25rem;
|
|
35
|
+
--border: 1px;
|
|
36
|
+
--depth: 0;
|
|
37
|
+
--noise: 0;
|
|
38
|
+
|
|
39
|
+
--paper-dark: #e5dccb;
|
|
40
|
+
--paper-border: #c9bda8;
|
|
41
|
+
--ink-muted: #6a655a;
|
|
42
|
+
--navbar-bg: #334756;
|
|
43
|
+
--navbar-content: #f8f3e8;
|
|
44
|
+
--control-border: #908879;
|
|
45
|
+
--soft-ink-share: 50%;
|
|
46
|
+
--paper-shadow: 0 1px 0 rgb(68 56 38 / 0.08), 0 3px 10px rgb(68 56 38 / 0.035);
|
|
47
|
+
--elevation-1: 0 1px 2px rgb(68 56 38 / 0.08);
|
|
48
|
+
--elevation-2: 0 2px 4px rgb(68 56 38 / 0.06), 0 6px 14px rgb(68 56 38 / 0.08);
|
|
49
|
+
--elevation-3: 0 8px 12px -4px rgb(68 56 38 / 0.1), 0 20px 28px -8px rgb(68 56 38 / 0.14);
|
|
50
|
+
--surface-highlight: rgb(255 255 255 / 0.5);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@plugin "daisyui/theme" {
|
|
54
|
+
name: 'budget-dark';
|
|
55
|
+
default: false;
|
|
56
|
+
prefersdark: true;
|
|
57
|
+
color-scheme: dark;
|
|
58
|
+
|
|
59
|
+
--color-primary: #8fb0c7;
|
|
60
|
+
--color-primary-content: #14202a;
|
|
61
|
+
--color-secondary: #d9897c;
|
|
62
|
+
--color-secondary-content: #2a1210;
|
|
63
|
+
--color-accent: #86b596;
|
|
64
|
+
--color-accent-content: #12231a;
|
|
65
|
+
--color-neutral: #cfc7b6;
|
|
66
|
+
--color-neutral-content: #1f1d19;
|
|
67
|
+
--color-info: #7ea6c4;
|
|
68
|
+
--color-info-content: #10202c;
|
|
69
|
+
--color-success: #7fb591;
|
|
70
|
+
--color-success-content: #10241a;
|
|
71
|
+
--color-warning: #d9b160;
|
|
72
|
+
--color-warning-content: #2a2010;
|
|
73
|
+
--color-error: #e08a7c;
|
|
74
|
+
--color-error-content: #2c1210;
|
|
75
|
+
--color-base-100: #24221e;
|
|
76
|
+
--color-base-200: #1b1a17;
|
|
77
|
+
--color-base-300: #34312b;
|
|
78
|
+
--color-base-content: #ebe5d8;
|
|
79
|
+
|
|
80
|
+
--radius-selector: 0.375rem;
|
|
81
|
+
--radius-field: 0.375rem;
|
|
82
|
+
--radius-box: 0.5rem;
|
|
83
|
+
--size-selector: 0.25rem;
|
|
84
|
+
--size-field: 0.25rem;
|
|
85
|
+
--border: 1px;
|
|
86
|
+
--depth: 0;
|
|
87
|
+
--noise: 0;
|
|
88
|
+
|
|
89
|
+
--paper-dark: #3f3c35;
|
|
90
|
+
--paper-border: #4a463d;
|
|
91
|
+
--ink-muted: #a69f90;
|
|
92
|
+
--navbar-bg: #0f1a22;
|
|
93
|
+
--navbar-content: #f1ebdc;
|
|
94
|
+
--control-border: #736e62;
|
|
95
|
+
--soft-ink-share: 100%;
|
|
96
|
+
--paper-shadow: 0 1px 0 rgb(0 0 0 / 0.2), 0 3px 10px rgb(0 0 0 / 0.088);
|
|
97
|
+
--elevation-1: 0 1px 2px rgb(0 0 0 / 0.2);
|
|
98
|
+
--elevation-2: 0 2px 4px rgb(0 0 0 / 0.15), 0 6px 14px rgb(0 0 0 / 0.2);
|
|
99
|
+
--elevation-3: 0 8px 12px -4px rgb(0 0 0 / 0.25), 0 20px 28px -8px rgb(0 0 0 / 0.35);
|
|
100
|
+
--surface-highlight: rgb(255 255 255 / 0.04);
|
|
101
|
+
/* Read by `--overlay-backdrop` in theme.css. */
|
|
102
|
+
--overlay-scrim: rgb(0 0 0 / 0.5);
|
|
103
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* generic palette: light plus generic-dark, which follows the OS when no data-theme is set. */
|
|
2
|
+
|
|
3
|
+
@plugin "daisyui/theme" {
|
|
4
|
+
name: 'generic';
|
|
5
|
+
default: true;
|
|
6
|
+
prefersdark: false;
|
|
7
|
+
color-scheme: light;
|
|
8
|
+
|
|
9
|
+
--color-primary: #2f6b7a;
|
|
10
|
+
--color-primary-content: #ffffff;
|
|
11
|
+
--color-secondary: #5a5f9a;
|
|
12
|
+
--color-secondary-content: #ffffff;
|
|
13
|
+
--color-accent: #a65f33;
|
|
14
|
+
--color-accent-content: #ffffff;
|
|
15
|
+
--color-neutral: #2f3742;
|
|
16
|
+
--color-neutral-content: #ffffff;
|
|
17
|
+
--color-info: #3b73b0;
|
|
18
|
+
--color-info-content: #ffffff;
|
|
19
|
+
--color-success: #3f7d58;
|
|
20
|
+
--color-success-content: #ffffff;
|
|
21
|
+
--color-warning: #9c6a12;
|
|
22
|
+
--color-warning-content: #ffffff;
|
|
23
|
+
--color-error: #b3433f;
|
|
24
|
+
--color-error-content: #ffffff;
|
|
25
|
+
--color-base-100: #fbfcfd;
|
|
26
|
+
--color-base-200: #eff1f4;
|
|
27
|
+
--color-base-300: #d5dae1;
|
|
28
|
+
--color-base-content: #1f2630;
|
|
29
|
+
|
|
30
|
+
--radius-selector: 0.375rem;
|
|
31
|
+
--radius-field: 0.375rem;
|
|
32
|
+
--radius-box: 0.5rem;
|
|
33
|
+
--size-selector: 0.25rem;
|
|
34
|
+
--size-field: 0.25rem;
|
|
35
|
+
--border: 1px;
|
|
36
|
+
--depth: 0;
|
|
37
|
+
--noise: 0;
|
|
38
|
+
|
|
39
|
+
--paper-dark: #e0e4ea;
|
|
40
|
+
--paper-border: #bcc4ce;
|
|
41
|
+
--ink-muted: #596372;
|
|
42
|
+
--navbar-bg: #1e3a45;
|
|
43
|
+
--navbar-content: #f1f5f7;
|
|
44
|
+
--control-border: #818a97;
|
|
45
|
+
--soft-ink-share: 85%;
|
|
46
|
+
--paper-shadow: 0 1px 0 rgb(15 23 42 / 0.08), 0 3px 10px rgb(15 23 42 / 0.035);
|
|
47
|
+
--elevation-1: 0 1px 2px rgb(15 23 42 / 0.08);
|
|
48
|
+
--elevation-2: 0 2px 4px rgb(15 23 42 / 0.06), 0 6px 14px rgb(15 23 42 / 0.08);
|
|
49
|
+
--elevation-3: 0 8px 12px -4px rgb(15 23 42 / 0.1), 0 20px 28px -8px rgb(15 23 42 / 0.14);
|
|
50
|
+
--surface-highlight: rgb(255 255 255 / 0.5);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@plugin "daisyui/theme" {
|
|
54
|
+
name: 'generic-dark';
|
|
55
|
+
default: false;
|
|
56
|
+
prefersdark: true;
|
|
57
|
+
color-scheme: dark;
|
|
58
|
+
|
|
59
|
+
--color-primary: #7fbfcf;
|
|
60
|
+
--color-primary-content: #0f1f25;
|
|
61
|
+
--color-secondary: #a3a8e0;
|
|
62
|
+
--color-secondary-content: #14162b;
|
|
63
|
+
--color-accent: #e0a47e;
|
|
64
|
+
--color-accent-content: #2a1608;
|
|
65
|
+
--color-neutral: #bcc4ce;
|
|
66
|
+
--color-neutral-content: #12161a;
|
|
67
|
+
--color-info: #78a9dd;
|
|
68
|
+
--color-info-content: #0e1a28;
|
|
69
|
+
--color-success: #72b78c;
|
|
70
|
+
--color-success-content: #0c1f16;
|
|
71
|
+
--color-warning: #d9ab5a;
|
|
72
|
+
--color-warning-content: #261a06;
|
|
73
|
+
--color-error: #ec8782;
|
|
74
|
+
--color-error-content: #2a0f0e;
|
|
75
|
+
--color-base-100: #1e2328;
|
|
76
|
+
--color-base-200: #161a1e;
|
|
77
|
+
--color-base-300: #2d343c;
|
|
78
|
+
--color-base-content: #e4e8ec;
|
|
79
|
+
|
|
80
|
+
--radius-selector: 0.375rem;
|
|
81
|
+
--radius-field: 0.375rem;
|
|
82
|
+
--radius-box: 0.5rem;
|
|
83
|
+
--size-selector: 0.25rem;
|
|
84
|
+
--size-field: 0.25rem;
|
|
85
|
+
--border: 1px;
|
|
86
|
+
--depth: 0;
|
|
87
|
+
--noise: 0;
|
|
88
|
+
|
|
89
|
+
--paper-dark: #363e47;
|
|
90
|
+
--paper-border: #404852;
|
|
91
|
+
--ink-muted: #9aa5b2;
|
|
92
|
+
--navbar-bg: #0c1418;
|
|
93
|
+
--navbar-content: #e4e8ec;
|
|
94
|
+
--control-border: #646d78;
|
|
95
|
+
--soft-ink-share: 100%;
|
|
96
|
+
--paper-shadow: 0 1px 0 rgb(0 0 0 / 0.2), 0 3px 10px rgb(0 0 0 / 0.088);
|
|
97
|
+
--elevation-1: 0 1px 2px rgb(0 0 0 / 0.2);
|
|
98
|
+
--elevation-2: 0 2px 4px rgb(0 0 0 / 0.15), 0 6px 14px rgb(0 0 0 / 0.2);
|
|
99
|
+
--elevation-3: 0 8px 12px -4px rgb(0 0 0 / 0.25), 0 20px 28px -8px rgb(0 0 0 / 0.35);
|
|
100
|
+
--surface-highlight: rgb(255 255 255 / 0.04);
|
|
101
|
+
/* Read by `--overlay-backdrop` in theme.css. */
|
|
102
|
+
--overlay-scrim: rgb(0 0 0 / 0.5);
|
|
103
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/* roadsign palette: light plus roadsign-dark, which follows the OS when no data-theme is set. */
|
|
2
|
+
|
|
3
|
+
@plugin "daisyui/theme" {
|
|
4
|
+
name: 'roadsign';
|
|
5
|
+
default: true;
|
|
6
|
+
prefersdark: false;
|
|
7
|
+
color-scheme: light;
|
|
8
|
+
|
|
9
|
+
--color-primary: #0055a4;
|
|
10
|
+
--color-primary-content: #ffffff;
|
|
11
|
+
--color-secondary: #1a1d21;
|
|
12
|
+
--color-secondary-content: #ffffff;
|
|
13
|
+
--color-accent: #ffd500;
|
|
14
|
+
--color-accent-content: #111418;
|
|
15
|
+
--color-neutral: #1a1d21;
|
|
16
|
+
--color-neutral-content: #ffffff;
|
|
17
|
+
--color-info: #0a6cc4;
|
|
18
|
+
--color-info-content: #ffffff;
|
|
19
|
+
--color-success: #00803c;
|
|
20
|
+
--color-success-content: #ffffff;
|
|
21
|
+
--color-warning: #f28c00;
|
|
22
|
+
--color-warning-content: #111418;
|
|
23
|
+
--color-error: #d5001c;
|
|
24
|
+
--color-error-content: #ffffff;
|
|
25
|
+
--color-base-100: #ffffff;
|
|
26
|
+
--color-base-200: #f1f3f6;
|
|
27
|
+
--color-base-300: #d3d9e1;
|
|
28
|
+
--color-base-content: #111418;
|
|
29
|
+
|
|
30
|
+
--radius-selector: 0.375rem;
|
|
31
|
+
--radius-field: 0.375rem;
|
|
32
|
+
--radius-box: 0.5rem;
|
|
33
|
+
--size-selector: 0.25rem;
|
|
34
|
+
--size-field: 0.25rem;
|
|
35
|
+
--border: 1px;
|
|
36
|
+
--depth: 0;
|
|
37
|
+
--noise: 0;
|
|
38
|
+
|
|
39
|
+
--paper-dark: #e4e6ea;
|
|
40
|
+
--paper-border: #c2c8d0;
|
|
41
|
+
--ink-muted: #5b6470;
|
|
42
|
+
--navbar-bg: #0055a4;
|
|
43
|
+
--navbar-content: #ffffff;
|
|
44
|
+
--control-border: #848c96;
|
|
45
|
+
--soft-ink-share: 45%;
|
|
46
|
+
--paper-shadow: 0 1px 0 rgb(15 23 42 / 0.08), 0 3px 10px rgb(15 23 42 / 0.035);
|
|
47
|
+
--elevation-1: 0 1px 2px rgb(15 23 42 / 0.08);
|
|
48
|
+
--elevation-2: 0 2px 4px rgb(15 23 42 / 0.06), 0 6px 14px rgb(15 23 42 / 0.08);
|
|
49
|
+
--elevation-3: 0 8px 12px -4px rgb(15 23 42 / 0.1), 0 20px 28px -8px rgb(15 23 42 / 0.14);
|
|
50
|
+
--surface-highlight: rgb(255 255 255 / 0.5);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@plugin "daisyui/theme" {
|
|
54
|
+
name: 'roadsign-dark';
|
|
55
|
+
default: false;
|
|
56
|
+
prefersdark: true;
|
|
57
|
+
color-scheme: dark;
|
|
58
|
+
|
|
59
|
+
--color-primary: #5aa6f0;
|
|
60
|
+
--color-primary-content: #04162b;
|
|
61
|
+
--color-secondary: #e8eaed;
|
|
62
|
+
--color-secondary-content: #111418;
|
|
63
|
+
--color-accent: #ffdd2e;
|
|
64
|
+
--color-accent-content: #111418;
|
|
65
|
+
--color-neutral: #c3cad4;
|
|
66
|
+
--color-neutral-content: #0f1216;
|
|
67
|
+
--color-info: #62b4ff;
|
|
68
|
+
--color-info-content: #05192e;
|
|
69
|
+
--color-success: #35c070;
|
|
70
|
+
--color-success-content: #04170c;
|
|
71
|
+
--color-warning: #ffa21f;
|
|
72
|
+
--color-warning-content: #221300;
|
|
73
|
+
--color-error: #ff5b52;
|
|
74
|
+
--color-error-content: #2c0805;
|
|
75
|
+
--color-base-100: #161b22;
|
|
76
|
+
--color-base-200: #0e1218;
|
|
77
|
+
--color-base-300: #27303b;
|
|
78
|
+
--color-base-content: #e9ecf0;
|
|
79
|
+
|
|
80
|
+
--radius-selector: 0.375rem;
|
|
81
|
+
--radius-field: 0.375rem;
|
|
82
|
+
--radius-box: 0.5rem;
|
|
83
|
+
--size-selector: 0.25rem;
|
|
84
|
+
--size-field: 0.25rem;
|
|
85
|
+
--border: 1px;
|
|
86
|
+
--depth: 0;
|
|
87
|
+
--noise: 0;
|
|
88
|
+
|
|
89
|
+
--paper-dark: #353b44;
|
|
90
|
+
--paper-border: #3d444e;
|
|
91
|
+
--ink-muted: #9aa3ae;
|
|
92
|
+
--navbar-bg: #07213f;
|
|
93
|
+
--navbar-content: #e6e8eb;
|
|
94
|
+
--control-border: #676f79;
|
|
95
|
+
--soft-ink-share: 100%;
|
|
96
|
+
--paper-shadow: 0 1px 0 rgb(0 0 0 / 0.2), 0 3px 10px rgb(0 0 0 / 0.088);
|
|
97
|
+
--elevation-1: 0 1px 2px rgb(0 0 0 / 0.2);
|
|
98
|
+
--elevation-2: 0 2px 4px rgb(0 0 0 / 0.15), 0 6px 14px rgb(0 0 0 / 0.2);
|
|
99
|
+
--elevation-3: 0 8px 12px -4px rgb(0 0 0 / 0.25), 0 20px 28px -8px rgb(0 0 0 / 0.35);
|
|
100
|
+
--surface-highlight: rgb(255 255 255 / 0.04);
|
|
101
|
+
/* Read by `--overlay-backdrop` in theme.css. */
|
|
102
|
+
--overlay-scrim: rgb(0 0 0 / 0.5);
|
|
103
|
+
}
|