@skeletonlabs/skeleton 5.0.0-next.0 → 5.0.0-next.10
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/package.json +1 -1
- package/src/base/globals.css +30 -47
- package/src/base/theme.css +137 -35
- package/src/index.css +6 -2
- package/src/themes/catppuccin.css +74 -30
- package/src/themes/cerberus.css +77 -33
- package/src/themes/concord.css +74 -30
- package/src/themes/crimson.css +74 -30
- package/src/themes/fennec.css +75 -30
- package/src/themes/hamlindigo.css +74 -30
- package/src/themes/legacy.css +74 -30
- package/src/themes/mint.css +74 -30
- package/src/themes/modern.css +74 -30
- package/src/themes/mona.css +74 -30
- package/src/themes/nosh.css +74 -30
- package/src/themes/nouveau.css +75 -30
- package/src/themes/pine.css +74 -30
- package/src/themes/reign.css +74 -30
- package/src/themes/rocket.css +75 -30
- package/src/themes/rose.css +74 -30
- package/src/themes/sahara.css +74 -30
- package/src/themes/seafoam.css +74 -30
- package/src/themes/terminus.css +74 -30
- package/src/themes/vintage.css +74 -30
- package/src/themes/vox.css +74 -30
- package/src/themes/wintry.css +74 -30
- package/src/utilities/badges.css +47 -12
- package/src/utilities/buttons.css +97 -57
- package/src/utilities/cards.css +3 -16
- package/src/utilities/chips.css +44 -19
- package/src/utilities/corner-shapes.css +541 -0
- package/src/utilities/dialogs.css +88 -0
- package/src/utilities/disclosures.css +62 -0
- package/src/utilities/dividers.css +3 -2
- package/src/utilities/form-core.css +49 -2
- package/src/utilities/form-groups.css +15 -126
- package/src/utilities/form-inputs.css +18 -10
- package/src/utilities/form-meter.css +58 -0
- package/src/utilities/form-progress.css +1 -1
- package/src/utilities/form-radios-checks.css +20 -22
- package/src/utilities/form-selects.css +8 -38
- package/src/utilities/form-textareas.css +15 -7
- package/src/utilities/masks.css +69 -0
- package/src/utilities/presets.css +25 -5
- package/src/utilities/tables.css +20 -12
- package/src/utilities/typography.css +213 -61
- package/src/variants/index.css +1 -0
- package/src/utilities/core.css +0 -119
- package/src/variants/themes.css +0 -22
package/package.json
CHANGED
package/src/base/globals.css
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/* Base - Globals */
|
|
2
|
-
/*
|
|
2
|
+
/* Skeleton global styles, enabled by default. */
|
|
3
3
|
|
|
4
4
|
@layer base {
|
|
5
5
|
:root {
|
|
6
|
+
/* Design Tokens --- */
|
|
7
|
+
/* Defines form field placeholder text styling. */
|
|
8
|
+
--field-placeholder: var(--color-surface-700-300);
|
|
9
|
+
|
|
6
10
|
/* Color Scheme --- */
|
|
7
11
|
/* https://tailwindcss.com/docs/color-scheme */
|
|
12
|
+
/* IMPORTANT: this must retain the @variant to work. */
|
|
8
13
|
color-scheme: light;
|
|
9
14
|
@variant dark {
|
|
10
15
|
color-scheme: dark;
|
|
@@ -13,65 +18,48 @@
|
|
|
13
18
|
/* Scrollbars --- */
|
|
14
19
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color */
|
|
15
20
|
/* https://developer.chrome.com/docs/css-ui/scrollbar-styling */
|
|
16
|
-
scrollbar-color: var(--color-surface-300-700) var(--color-surface-100-900); /* thumb / track */
|
|
17
21
|
scrollbar-width: thin;
|
|
18
|
-
|
|
22
|
+
scrollbar-color: light-dark(var(--color-surface-300), var(--color-surface-700)) transparent; /* thumb / track */
|
|
19
23
|
|
|
20
|
-
html {
|
|
21
24
|
/* Mobile Tap Highlight Color (WebKit only) --- */
|
|
22
25
|
/* IMPORTANT: this is useful for mobile accessibility. */
|
|
23
26
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-tap-highlight-color */
|
|
24
|
-
/* -webkit-tap-highlight-color: rgba(128, 128, 128, 0.5); */
|
|
25
27
|
-webkit-tap-highlight-color: color-mix(in oklab, var(--color-surface-50-950) 30%, transparent);
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
/* Background */
|
|
30
|
-
background-color: var(--
|
|
31
|
-
@variant dark {
|
|
32
|
-
background-color: var(--body-background-color-dark);
|
|
33
|
-
}
|
|
34
|
-
/* Typography */
|
|
35
|
-
color: var(--base-font-color);
|
|
36
|
-
font-family: var(--base-font-family);
|
|
37
|
-
font-size: var(--base-font-size);
|
|
38
|
-
line-height: var(--base-line-height);
|
|
39
|
-
font-weight: var(--base-font-weight);
|
|
40
|
-
font-style: var(--base-font-style);
|
|
41
|
-
letter-spacing: var(--base-letter-spacing);
|
|
42
|
-
@variant dark {
|
|
43
|
-
color: var(--base-font-color-dark);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Elements --- */
|
|
48
|
-
|
|
49
|
-
/* https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor */
|
|
50
|
-
button:not(:disabled),
|
|
51
|
-
[role='button']:not(:disabled) {
|
|
52
|
-
cursor: pointer;
|
|
30
|
+
html {
|
|
31
|
+
/* Background --- */
|
|
32
|
+
background-color: light-dark(var(--color-root-bg-light), var(--color-root-bg-dark));
|
|
53
33
|
}
|
|
54
34
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
35
|
+
body {
|
|
36
|
+
/* Typography --- */
|
|
37
|
+
color: light-dark(var(--typo-base--color-light), var(--typo-base--color-dark));
|
|
38
|
+
font-family: var(--typo-base--font-family);
|
|
39
|
+
font-size: var(--typo-base--font-size);
|
|
40
|
+
line-height: var(--typo-base--line-height);
|
|
41
|
+
font-weight: var(--typo-base--font-weight);
|
|
42
|
+
font-style: var(--typo-base--font-style);
|
|
43
|
+
letter-spacing: var(--typo-base--letter-spacing);
|
|
44
|
+
font-stretch: var(--typo-base--font-stretch);
|
|
45
|
+
font-kerning: var(--typo-base--font-kerning);
|
|
46
|
+
text-shadow: var(--typo-base--text-shadow);
|
|
47
|
+
word-spacing: var(--typo-base--word-spacing);
|
|
48
|
+
hyphens: var(--typo-base--hyphens);
|
|
49
|
+
text-transform: var(--typo-base--text-transform);
|
|
62
50
|
}
|
|
63
51
|
|
|
64
52
|
/* Selection --- */
|
|
65
53
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/::selection */
|
|
66
|
-
|
|
67
54
|
::selection {
|
|
68
|
-
background-color: color-mix(in
|
|
55
|
+
background-color: color-mix(in oklab, light-dark(var(--color-brand-light), var(--color-brand-dark)) 50%, transparent);
|
|
69
56
|
}
|
|
70
57
|
|
|
71
|
-
/*
|
|
72
|
-
|
|
58
|
+
/* Disabled State --- */
|
|
73
59
|
*:disabled,
|
|
74
60
|
.disabled {
|
|
61
|
+
box-shadow: none;
|
|
62
|
+
cursor: not-allowed;
|
|
75
63
|
opacity: 0.5;
|
|
76
64
|
& > * {
|
|
77
65
|
pointer-events: none;
|
|
@@ -86,11 +74,6 @@
|
|
|
86
74
|
|
|
87
75
|
EXAMPLE: Set a global focus style.
|
|
88
76
|
Apply this in your app's global stylesheet:
|
|
89
|
-
:focus { @apply focus:outline-primary-
|
|
77
|
+
:focus { @apply focus:outline-primary-500; }
|
|
90
78
|
*/
|
|
91
|
-
|
|
92
|
-
/* Component Focus Utility */
|
|
93
|
-
/* .focused {
|
|
94
|
-
@apply ring-[2px] ring-surface-950 dark:ring-surface-50 ring-inset;
|
|
95
|
-
} */
|
|
96
79
|
}
|
package/src/base/theme.css
CHANGED
|
@@ -1,44 +1,97 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Themes.css
|
|
3
|
+
This file services two purposes:
|
|
4
|
+
1. Defines a monochrome default theme for Skeleton.
|
|
5
|
+
2. Accepts Skeleton theme properties to overrides the defaults.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Root Properties --- */
|
|
9
|
+
/* Derived tokens that are NOT supported by Tailwind's theme system */
|
|
10
|
+
|
|
11
|
+
:root {
|
|
12
|
+
/* Defines a global text scaling multiplier. */
|
|
13
|
+
--text-scaling: 1;
|
|
14
|
+
|
|
15
|
+
/* Defines the corner shape for base elements (e.g. squircle). */
|
|
16
|
+
--corner-shape-base: inherit;
|
|
17
|
+
|
|
18
|
+
/* Defines the corner shape for container elements (e.g. squircle). */
|
|
19
|
+
--corner-shape-container: inherit;
|
|
20
|
+
|
|
21
|
+
/* Typography — Base */
|
|
22
|
+
--typo-base--font-weight: normal;
|
|
23
|
+
--typo-base--font-style: normal;
|
|
24
|
+
--typo-base--font-stretch: inherit;
|
|
25
|
+
--typo-base--font-kerning: inherit;
|
|
26
|
+
--typo-base--word-spacing: inherit;
|
|
27
|
+
--typo-base--hyphens: inherit;
|
|
28
|
+
--typo-base--text-transform: inherit;
|
|
29
|
+
|
|
30
|
+
/* Typography — Heading */
|
|
31
|
+
--typo-heading--font-weight: bold;
|
|
32
|
+
--typo-heading--font-style: normal;
|
|
33
|
+
--typo-heading--font-stretch: inherit;
|
|
34
|
+
--typo-heading--font-kerning: inherit;
|
|
35
|
+
--typo-heading--word-spacing: inherit;
|
|
36
|
+
--typo-heading--hyphens: inherit;
|
|
37
|
+
--typo-heading--text-transform: inherit;
|
|
38
|
+
|
|
39
|
+
/* Typography — Anchor */
|
|
40
|
+
--typo-anchor--font-weight: inherit;
|
|
41
|
+
--typo-anchor--font-style: inherit;
|
|
42
|
+
--typo-anchor--font-stretch: inherit;
|
|
43
|
+
--typo-anchor--font-kerning: inherit;
|
|
44
|
+
--typo-anchor--word-spacing: inherit;
|
|
45
|
+
--typo-anchor--hyphens: inherit;
|
|
46
|
+
--typo-anchor--text-transform: inherit;
|
|
47
|
+
--typo-anchor--text-decoration-line: none;
|
|
48
|
+
--typo-anchor--text-decoration-color: inherit;
|
|
49
|
+
--typo-anchor--text-decoration-style: inherit;
|
|
50
|
+
--typo-anchor--text-decoration-thickness: inherit;
|
|
51
|
+
--typo-anchor--text-underline-offset: inherit;
|
|
52
|
+
--typo-anchor--text-underline-position: inherit;
|
|
53
|
+
|
|
54
|
+
/* Typography — Anchor (hover) */
|
|
55
|
+
--typo-anchor--hover--text-decoration-line: underline;
|
|
56
|
+
--typo-anchor--hover--text-decoration-color: inherit;
|
|
57
|
+
--typo-anchor--hover--text-decoration-style: inherit;
|
|
58
|
+
--typo-anchor--hover--text-decoration-thickness: inherit;
|
|
59
|
+
--typo-anchor--hover--text-underline-offset: inherit;
|
|
60
|
+
--typo-anchor--hover--text-underline-position: inherit;
|
|
61
|
+
|
|
62
|
+
/* Typography — Anchor (active) */
|
|
63
|
+
--typo-anchor--active--text-decoration-line: none;
|
|
64
|
+
--typo-anchor--active--text-decoration-color: inherit;
|
|
65
|
+
--typo-anchor--active--text-decoration-style: inherit;
|
|
66
|
+
--typo-anchor--active--text-decoration-thickness: inherit;
|
|
67
|
+
--typo-anchor--active--text-underline-offset: inherit;
|
|
68
|
+
--typo-anchor--active--text-underline-position: inherit;
|
|
69
|
+
|
|
70
|
+
/* Typography — Anchor (focus) */
|
|
71
|
+
--typo-anchor--focus--text-decoration-line: none;
|
|
72
|
+
--typo-anchor--focus--text-decoration-color: inherit;
|
|
73
|
+
--typo-anchor--focus--text-decoration-style: inherit;
|
|
74
|
+
--typo-anchor--focus--text-decoration-thickness: inherit;
|
|
75
|
+
--typo-anchor--focus--text-underline-offset: inherit;
|
|
76
|
+
--typo-anchor--focus--text-underline-position: inherit;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Standard Properties --- */
|
|
80
|
+
/* Derived tokens that are supported by Tailwind's theme system */
|
|
81
|
+
|
|
1
82
|
@theme {
|
|
2
83
|
/* Spacing */
|
|
3
84
|
--spacing: 0.25rem;
|
|
4
85
|
|
|
5
|
-
/* Typography */
|
|
6
|
-
--text-scaling: 1;
|
|
7
|
-
--base-font-color: inherit;
|
|
8
|
-
--base-font-color-dark: inherit;
|
|
9
|
-
--base-font-family: inherit;
|
|
10
|
-
--base-font-size: inherit;
|
|
11
|
-
--base-line-height: inherit;
|
|
12
|
-
--base-font-weight: inherit;
|
|
13
|
-
--base-font-style: inherit;
|
|
14
|
-
--base-letter-spacing: inherit;
|
|
15
|
-
--heading-font-color: inherit;
|
|
16
|
-
--heading-font-color-dark: inherit;
|
|
17
|
-
--heading-font-family: inherit;
|
|
18
|
-
--heading-font-weight: inherit;
|
|
19
|
-
--heading-font-style: inherit;
|
|
20
|
-
--heading-letter-spacing: inherit;
|
|
21
|
-
--anchor-font-color: inherit;
|
|
22
|
-
--anchor-font-color-dark: inherit;
|
|
23
|
-
--anchor-font-family: inherit;
|
|
24
|
-
--anchor-font-size: inherit;
|
|
25
|
-
--anchor-line-height: inherit;
|
|
26
|
-
--anchor-font-weight: inherit;
|
|
27
|
-
--anchor-font-style: inherit;
|
|
28
|
-
--anchor-letter-spacing: inherit;
|
|
29
|
-
--anchor-text-decoration: inherit;
|
|
30
|
-
--anchor-text-decoration-hover: underline;
|
|
31
|
-
--anchor-text-decoration-active: inherit;
|
|
32
|
-
--anchor-text-decoration-focus: inherit;
|
|
33
|
-
|
|
34
86
|
/* Radius */
|
|
35
87
|
--radius-base: 0.25rem;
|
|
36
88
|
--radius-container: 0.25rem;
|
|
37
89
|
|
|
38
90
|
/* Edges */
|
|
39
|
-
|
|
40
|
-
--default-
|
|
41
|
-
--default-ring-width: 1px;
|
|
91
|
+
/* NOTE: The following are undocumented but do functionally work. */
|
|
92
|
+
--default-border-width: var(--default-border-width, 1px);
|
|
93
|
+
--default-ring-width: var(--default-ring-width, 1px);
|
|
94
|
+
--default-outline-width: var(--default-outline-width, 1px);
|
|
42
95
|
|
|
43
96
|
/* Animations */
|
|
44
97
|
--animate-progress-linear-indeterminate-horizontal: progress-linear-indeterminate-horizontal 1.5s ease-in-out infinite;
|
|
@@ -226,12 +279,61 @@
|
|
|
226
279
|
--color-surface-contrast-800: var(--color-surface-contrast-light);
|
|
227
280
|
--color-surface-contrast-900: var(--color-surface-contrast-light);
|
|
228
281
|
--color-surface-contrast-950: var(--color-surface-contrast-light);
|
|
282
|
+
|
|
283
|
+
/* Brand */
|
|
284
|
+
--color-brand-light: var(--color-primary-500);
|
|
285
|
+
--color-brand-contrast-light: var(--color-primary-contrast-500);
|
|
286
|
+
--color-brand-dark: var(--color-primary-500);
|
|
287
|
+
--color-brand-contrast-dark: var(--color-primary-contrast-500);
|
|
288
|
+
|
|
289
|
+
/* Root */
|
|
290
|
+
--color-root-bg-light: var(--color-surface-50);
|
|
291
|
+
--color-root-bg-dark: var(--color-surface-950);
|
|
292
|
+
|
|
293
|
+
/* Element sizes */
|
|
294
|
+
--spacing-elem-xs: var(--text-xs);
|
|
295
|
+
--spacing-elem-sm: var(--text-sm);
|
|
296
|
+
--spacing-elem-base: var(--text-base);
|
|
297
|
+
--spacing-elem-lg: var(--text-lg);
|
|
298
|
+
--spacing-elem-xl: var(--text-xl);
|
|
299
|
+
--spacing-elem-2xl: var(--text-2xl);
|
|
300
|
+
--spacing-elem-3xl: var(--text-3xl);
|
|
301
|
+
--spacing-elem-4xl: var(--text-4xl);
|
|
302
|
+
--spacing-elem-5xl: var(--text-5xl);
|
|
303
|
+
--spacing-elem-6xl: var(--text-6xl);
|
|
304
|
+
--spacing-elem-7xl: var(--text-7xl);
|
|
305
|
+
--spacing-elem-8xl: var(--text-8xl);
|
|
306
|
+
--spacing-elem-9xl: var(--text-9xl);
|
|
229
307
|
}
|
|
230
308
|
|
|
309
|
+
/* Inline Properties */
|
|
310
|
+
/* Derived tokens computed from other theme properties */
|
|
311
|
+
|
|
231
312
|
@theme inline {
|
|
232
|
-
/*
|
|
233
|
-
--
|
|
234
|
-
--
|
|
313
|
+
/* Typography — Base */
|
|
314
|
+
--font-typo-base: var(--typo-base--font-family, system-ui);
|
|
315
|
+
--text-typo-base: var(--typo-base--font-size, inherit);
|
|
316
|
+
--color-typo-base-light: var(--typo-base--color-light, var(--color-surface-950));
|
|
317
|
+
--color-typo-base-dark: var(--typo-base--color-dark, var(--color-surface-50));
|
|
318
|
+
--leading-typo-base: var(--typo-base--line-height, inherit);
|
|
319
|
+
--tracking-typo-base: var(--typo-base--letter-spacing, 0em);
|
|
320
|
+
--text-shadow-typo-base: var(--typo-base--text-shadow, inherit);
|
|
321
|
+
|
|
322
|
+
/* Typography — Heading */
|
|
323
|
+
--font-typo-heading: var(--typo-heading--font-family, inherit);
|
|
324
|
+
--color-typo-heading-light: var(--typo-heading--color-light, inherit);
|
|
325
|
+
--color-typo-heading-dark: var(--typo-heading--color-dark, inherit);
|
|
326
|
+
--tracking-typo-heading: var(--typo-heading--letter-spacing, inherit);
|
|
327
|
+
--text-shadow-typo-heading: var(--typo-heading--text-shadow, inherit);
|
|
328
|
+
|
|
329
|
+
/* Typography — Anchor */
|
|
330
|
+
--font-typo-anchor: var(--typo-anchor--font-family, inherit);
|
|
331
|
+
--text-typo-anchor: var(--typo-anchor--font-size, inherit);
|
|
332
|
+
--color-typo-anchor-light: var(--typo-anchor--color-light, var(--color-primary-500));
|
|
333
|
+
--color-typo-anchor-dark: var(--typo-anchor--color-dark, var(--color-primary-400));
|
|
334
|
+
--leading-typo-anchor: var(--typo-anchor--line-height, inherit);
|
|
335
|
+
--tracking-typo-anchor: var(--typo-anchor--letter-spacing, inherit);
|
|
336
|
+
--text-shadow-typo-anchor: var(--typo-anchor--text-shadow, inherit);
|
|
235
337
|
|
|
236
338
|
/* Primary pairings */
|
|
237
339
|
--color-primary-50-950: light-dark(var(--color-primary-50), var(--color-primary-950));
|
package/src/index.css
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
@import './base/globals.css';
|
|
4
4
|
@import './base/theme.css';
|
|
5
5
|
|
|
6
|
-
@import './utilities/core.css';
|
|
7
6
|
@import './utilities/badges.css';
|
|
8
7
|
@import './utilities/buttons.css';
|
|
9
8
|
@import './utilities/cards.css';
|
|
10
9
|
@import './utilities/chips.css';
|
|
10
|
+
@import './utilities/corner-shapes.css';
|
|
11
|
+
@import './utilities/dialogs.css';
|
|
12
|
+
@import './utilities/disclosures.css';
|
|
11
13
|
@import './utilities/dividers.css';
|
|
14
|
+
@import './utilities/masks.css';
|
|
12
15
|
@import './utilities/placeholders.css';
|
|
13
16
|
@import './utilities/presets.css';
|
|
14
17
|
@import './utilities/tables.css';
|
|
@@ -16,12 +19,13 @@
|
|
|
16
19
|
@import './utilities/form-core.css';
|
|
17
20
|
@import './utilities/form-groups.css';
|
|
18
21
|
@import './utilities/form-inputs.css';
|
|
22
|
+
@import './utilities/form-meter.css';
|
|
19
23
|
@import './utilities/form-progress.css';
|
|
20
24
|
@import './utilities/form-radios-checks.css';
|
|
21
25
|
@import './utilities/form-selects.css';
|
|
22
26
|
@import './utilities/form-textareas.css';
|
|
23
27
|
|
|
24
|
-
@import './variants/
|
|
28
|
+
@import './variants/index.css';
|
|
25
29
|
|
|
26
30
|
@import './keyframes/progress-circular.css';
|
|
27
31
|
@import './keyframes/progress-linear.css';
|
|
@@ -1,41 +1,85 @@
|
|
|
1
1
|
[data-theme='catppuccin'] {
|
|
2
|
+
--spacing: 0.25rem;
|
|
2
3
|
--text-scaling: 1.067;
|
|
3
|
-
--base
|
|
4
|
-
--base-font-color-dark: var(--color-surface-50);
|
|
5
|
-
--base-font-family:
|
|
4
|
+
--typo-base--font-family:
|
|
6
5
|
ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri,
|
|
7
6
|
source-sans-pro, sans-serif;
|
|
8
|
-
--base
|
|
9
|
-
--base-
|
|
10
|
-
--base-
|
|
11
|
-
--base-
|
|
12
|
-
--base-
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
7
|
+
--typo-base--font-size: inherit;
|
|
8
|
+
--typo-base--color-light: var(--color-surface-700);
|
|
9
|
+
--typo-base--color-dark: var(--color-surface-50);
|
|
10
|
+
--typo-base--line-height: inherit;
|
|
11
|
+
--typo-base--font-weight: normal;
|
|
12
|
+
--typo-base--font-style: normal;
|
|
13
|
+
--typo-base--letter-spacing: 0em;
|
|
14
|
+
--typo-base--font-stretch: inherit;
|
|
15
|
+
--typo-base--font-kerning: inherit;
|
|
16
|
+
--typo-base--text-shadow: inherit;
|
|
17
|
+
--typo-base--word-spacing: inherit;
|
|
18
|
+
--typo-base--hyphens: inherit;
|
|
19
|
+
--typo-base--text-transform: inherit;
|
|
20
|
+
--typo-heading--font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
21
|
+
--typo-heading--color-light: var(--color-tertiary-500);
|
|
22
|
+
--typo-heading--color-dark: var(--color-secondary-200);
|
|
23
|
+
--typo-heading--font-weight: bolder;
|
|
24
|
+
--typo-heading--font-style: normal;
|
|
25
|
+
--typo-heading--letter-spacing: inherit;
|
|
26
|
+
--typo-heading--font-stretch: inherit;
|
|
27
|
+
--typo-heading--font-kerning: inherit;
|
|
28
|
+
--typo-heading--text-shadow: inherit;
|
|
29
|
+
--typo-heading--word-spacing: inherit;
|
|
30
|
+
--typo-heading--hyphens: inherit;
|
|
31
|
+
--typo-heading--text-transform: inherit;
|
|
32
|
+
--typo-anchor--font-family: inherit;
|
|
33
|
+
--typo-anchor--font-size: inherit;
|
|
34
|
+
--typo-anchor--color-light: var(--color-secondary-600);
|
|
35
|
+
--typo-anchor--color-dark: var(--color-tertiary-400);
|
|
36
|
+
--typo-anchor--line-height: inherit;
|
|
37
|
+
--typo-anchor--font-weight: normal;
|
|
38
|
+
--typo-anchor--font-style: normal;
|
|
39
|
+
--typo-anchor--letter-spacing: inherit;
|
|
40
|
+
--typo-anchor--font-stretch: inherit;
|
|
41
|
+
--typo-anchor--font-kerning: inherit;
|
|
42
|
+
--typo-anchor--text-shadow: inherit;
|
|
43
|
+
--typo-anchor--word-spacing: inherit;
|
|
44
|
+
--typo-anchor--hyphens: inherit;
|
|
45
|
+
--typo-anchor--text-transform: inherit;
|
|
46
|
+
--typo-anchor--text-decoration-line: none;
|
|
47
|
+
--typo-anchor--text-decoration-color: inherit;
|
|
48
|
+
--typo-anchor--text-decoration-style: inherit;
|
|
49
|
+
--typo-anchor--text-decoration-thickness: inherit;
|
|
50
|
+
--typo-anchor--text-underline-offset: inherit;
|
|
51
|
+
--typo-anchor--text-underline-position: inherit;
|
|
52
|
+
--typo-anchor--hover--text-decoration-line: underline;
|
|
53
|
+
--typo-anchor--hover--text-decoration-color: inherit;
|
|
54
|
+
--typo-anchor--hover--text-decoration-style: inherit;
|
|
55
|
+
--typo-anchor--hover--text-decoration-thickness: inherit;
|
|
56
|
+
--typo-anchor--hover--text-underline-offset: inherit;
|
|
57
|
+
--typo-anchor--hover--text-underline-position: inherit;
|
|
58
|
+
--typo-anchor--active--text-decoration-line: none;
|
|
59
|
+
--typo-anchor--active--text-decoration-color: inherit;
|
|
60
|
+
--typo-anchor--active--text-decoration-style: inherit;
|
|
61
|
+
--typo-anchor--active--text-decoration-thickness: inherit;
|
|
62
|
+
--typo-anchor--active--text-underline-offset: inherit;
|
|
63
|
+
--typo-anchor--active--text-underline-position: inherit;
|
|
64
|
+
--typo-anchor--focus--text-decoration-line: none;
|
|
65
|
+
--typo-anchor--focus--text-decoration-color: inherit;
|
|
66
|
+
--typo-anchor--focus--text-decoration-style: inherit;
|
|
67
|
+
--typo-anchor--focus--text-decoration-thickness: inherit;
|
|
68
|
+
--typo-anchor--focus--text-underline-offset: inherit;
|
|
69
|
+
--typo-anchor--focus--text-underline-position: inherit;
|
|
32
70
|
--radius-base: 0.375rem;
|
|
33
71
|
--radius-container: 0.75rem;
|
|
34
72
|
--default-border-width: 1px;
|
|
35
|
-
--default-
|
|
73
|
+
--default-outline-width: 1px;
|
|
36
74
|
--default-ring-width: 1px;
|
|
37
|
-
--
|
|
38
|
-
--
|
|
75
|
+
--corner-shape-base: inherit;
|
|
76
|
+
--corner-shape-container: inherit;
|
|
77
|
+
--color-root-bg-light: oklch(1 0 0 / 1);
|
|
78
|
+
--color-root-bg-dark: var(--color-surface-950);
|
|
79
|
+
--color-brand-light: var(--color-primary-500);
|
|
80
|
+
--color-brand-contrast-light: var(--color-primary-contrast-500);
|
|
81
|
+
--color-brand-dark: var(--color-primary-500);
|
|
82
|
+
--color-brand-contrast-dark: var(--color-primary-contrast-500);
|
|
39
83
|
--color-primary-50: oklch(97.74% 0.02 214.3deg);
|
|
40
84
|
--color-primary-100: oklch(91.46% 0.04 259.65deg);
|
|
41
85
|
--color-primary-200: oklch(85.14% 0.07 269.1deg);
|
package/src/themes/cerberus.css
CHANGED
|
@@ -1,39 +1,83 @@
|
|
|
1
1
|
[data-theme='cerberus'] {
|
|
2
|
-
--spacing: 0.25rem;
|
|
3
|
-
--text-scaling: 1.067
|
|
4
|
-
--base
|
|
5
|
-
--base
|
|
6
|
-
--base-
|
|
7
|
-
--base-
|
|
8
|
-
--base
|
|
9
|
-
--base
|
|
10
|
-
--base
|
|
11
|
-
--base
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
2
|
+
--spacing: 0.25rem; /* 0.22rem; | 0.25rem; | 0.28rem; */
|
|
3
|
+
--text-scaling: 1; /* 1.067 */
|
|
4
|
+
--typo-base--font-family: system-ui;
|
|
5
|
+
--typo-base--font-size: inherit;
|
|
6
|
+
--typo-base--color-light: var(--color-surface-950);
|
|
7
|
+
--typo-base--color-dark: var(--color-surface-50);
|
|
8
|
+
--typo-base--line-height: inherit;
|
|
9
|
+
--typo-base--font-weight: normal;
|
|
10
|
+
--typo-base--font-style: normal;
|
|
11
|
+
--typo-base--letter-spacing: 0em;
|
|
12
|
+
--typo-base--font-stretch: inherit;
|
|
13
|
+
--typo-base--font-kerning: inherit;
|
|
14
|
+
--typo-base--text-shadow: inherit;
|
|
15
|
+
--typo-base--word-spacing: inherit;
|
|
16
|
+
--typo-base--hyphens: inherit;
|
|
17
|
+
--typo-base--text-transform: inherit;
|
|
18
|
+
--typo-heading--font-family: inherit;
|
|
19
|
+
--typo-heading--color-light: inherit;
|
|
20
|
+
--typo-heading--color-dark: inherit;
|
|
21
|
+
--typo-heading--font-weight: bold;
|
|
22
|
+
--typo-heading--font-style: normal;
|
|
23
|
+
--typo-heading--letter-spacing: inherit;
|
|
24
|
+
--typo-heading--font-stretch: inherit;
|
|
25
|
+
--typo-heading--font-kerning: inherit;
|
|
26
|
+
--typo-heading--text-shadow: inherit;
|
|
27
|
+
--typo-heading--word-spacing: inherit;
|
|
28
|
+
--typo-heading--hyphens: inherit;
|
|
29
|
+
--typo-heading--text-transform: inherit;
|
|
30
|
+
--typo-anchor--font-family: inherit;
|
|
31
|
+
--typo-anchor--font-size: inherit;
|
|
32
|
+
--typo-anchor--color-light: var(--color-primary-500);
|
|
33
|
+
--typo-anchor--color-dark: var(--color-primary-400);
|
|
34
|
+
--typo-anchor--line-height: inherit;
|
|
35
|
+
--typo-anchor--font-weight: inherit;
|
|
36
|
+
--typo-anchor--font-style: inherit;
|
|
37
|
+
--typo-anchor--letter-spacing: inherit;
|
|
38
|
+
--typo-anchor--font-stretch: inherit;
|
|
39
|
+
--typo-anchor--font-kerning: inherit;
|
|
40
|
+
--typo-anchor--text-shadow: inherit;
|
|
41
|
+
--typo-anchor--word-spacing: inherit;
|
|
42
|
+
--typo-anchor--hyphens: inherit;
|
|
43
|
+
--typo-anchor--text-transform: inherit;
|
|
44
|
+
--typo-anchor--text-decoration-line: none;
|
|
45
|
+
--typo-anchor--text-decoration-color: inherit;
|
|
46
|
+
--typo-anchor--text-decoration-style: inherit;
|
|
47
|
+
--typo-anchor--text-decoration-thickness: inherit;
|
|
48
|
+
--typo-anchor--text-underline-offset: inherit;
|
|
49
|
+
--typo-anchor--text-underline-position: inherit;
|
|
50
|
+
--typo-anchor--hover--text-decoration-line: underline;
|
|
51
|
+
--typo-anchor--hover--text-decoration-color: inherit;
|
|
52
|
+
--typo-anchor--hover--text-decoration-style: inherit;
|
|
53
|
+
--typo-anchor--hover--text-decoration-thickness: inherit;
|
|
54
|
+
--typo-anchor--hover--text-underline-offset: inherit;
|
|
55
|
+
--typo-anchor--hover--text-underline-position: inherit;
|
|
56
|
+
--typo-anchor--active--text-decoration-line: none;
|
|
57
|
+
--typo-anchor--active--text-decoration-color: inherit;
|
|
58
|
+
--typo-anchor--active--text-decoration-style: inherit;
|
|
59
|
+
--typo-anchor--active--text-decoration-thickness: inherit;
|
|
60
|
+
--typo-anchor--active--text-underline-offset: inherit;
|
|
61
|
+
--typo-anchor--active--text-underline-position: inherit;
|
|
62
|
+
--typo-anchor--focus--text-decoration-line: none;
|
|
63
|
+
--typo-anchor--focus--text-decoration-color: inherit;
|
|
64
|
+
--typo-anchor--focus--text-decoration-style: inherit;
|
|
65
|
+
--typo-anchor--focus--text-decoration-thickness: inherit;
|
|
66
|
+
--typo-anchor--focus--text-underline-offset: inherit;
|
|
67
|
+
--typo-anchor--focus--text-underline-position: inherit;
|
|
68
|
+
--radius-base: 0.5rem;
|
|
69
|
+
--radius-container: 0.5rem;
|
|
34
70
|
--default-border-width: 1px;
|
|
35
|
-
--default-
|
|
71
|
+
--default-outline-width: 1px;
|
|
36
72
|
--default-ring-width: 1px;
|
|
73
|
+
--corner-shape-base: squircle;
|
|
74
|
+
--corner-shape-container: squircle;
|
|
75
|
+
--color-root-bg-light: var(--color-surface-50);
|
|
76
|
+
--color-root-bg-dark: var(--color-surface-950);
|
|
77
|
+
--color-brand-light: var(--color-primary-500);
|
|
78
|
+
--color-brand-contrast-light: var(--color-primary-contrast-500);
|
|
79
|
+
--color-brand-dark: var(--color-primary-500);
|
|
80
|
+
--color-brand-contrast-dark: var(--color-primary-contrast-500);
|
|
37
81
|
--color-primary-50: oklch(0.92 0.04 257.51);
|
|
38
82
|
--color-primary-100: oklch(0.84 0.08 254.62);
|
|
39
83
|
--color-primary-200: oklch(0.77 0.11 254.28);
|