@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/src/themes/vintage.css
CHANGED
|
@@ -1,39 +1,83 @@
|
|
|
1
1
|
[data-theme='vintage'] {
|
|
2
|
-
--text-scaling: 1.067;
|
|
3
|
-
--base-font-color: var(--color-surface-950);
|
|
4
|
-
--base-font-color-dark: var(--color-surface-50);
|
|
5
|
-
--base-font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
|
6
|
-
--base-font-size: inherit;
|
|
7
|
-
--base-line-height: inherit;
|
|
8
|
-
--base-font-weight: normal;
|
|
9
|
-
--base-font-style: normal;
|
|
10
|
-
--base-letter-spacing: 0em;
|
|
11
|
-
--heading-font-color: var(--color-secondary-950);
|
|
12
|
-
--heading-font-color-dark: oklch(1 0 0 / 1);
|
|
13
|
-
--heading-font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
|
14
|
-
--heading-font-weight: bold;
|
|
15
|
-
--heading-font-style: normal;
|
|
16
|
-
--heading-letter-spacing: inherit;
|
|
17
|
-
--anchor-font-color: var(--color-primary-600);
|
|
18
|
-
--anchor-font-color-dark: var(--color-primary-500);
|
|
19
|
-
--anchor-font-family: inherit;
|
|
20
|
-
--anchor-font-size: inherit;
|
|
21
|
-
--anchor-line-height: inherit;
|
|
22
|
-
--anchor-font-weight: inherit;
|
|
23
|
-
--anchor-font-style: inherit;
|
|
24
|
-
--anchor-letter-spacing: inherit;
|
|
25
|
-
--anchor-text-decoration: none;
|
|
26
|
-
--anchor-text-decoration-hover: underline;
|
|
27
|
-
--anchor-text-decoration-active: none;
|
|
28
|
-
--anchor-text-decoration-focus: none;
|
|
29
2
|
--spacing: 0.25rem;
|
|
3
|
+
--text-scaling: 1.067;
|
|
4
|
+
--typo-base--font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
|
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: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
|
19
|
+
--typo-heading--color-light: var(--color-secondary-950);
|
|
20
|
+
--typo-heading--color-dark: oklch(1 0 0 / 1);
|
|
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-600);
|
|
33
|
+
--typo-anchor--color-dark: var(--color-primary-500);
|
|
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;
|
|
30
68
|
--radius-base: 0.375rem;
|
|
31
69
|
--radius-container: 0.75rem;
|
|
32
70
|
--default-border-width: 1px;
|
|
33
|
-
--default-
|
|
71
|
+
--default-outline-width: 1px;
|
|
34
72
|
--default-ring-width: 1px;
|
|
35
|
-
--
|
|
36
|
-
--
|
|
73
|
+
--corner-shape-base: inherit;
|
|
74
|
+
--corner-shape-container: inherit;
|
|
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(95.02% 0.11 100.34deg);
|
|
38
82
|
--color-primary-100: oklch(90.13% 0.12 91.31deg);
|
|
39
83
|
--color-primary-200: oklch(85.12% 0.13 82.4deg);
|
package/src/themes/vox.css
CHANGED
|
@@ -1,39 +1,83 @@
|
|
|
1
1
|
[data-theme='vox'] {
|
|
2
|
-
--text-scaling: 1.067;
|
|
3
|
-
--base-font-color: var(--color-surface-950);
|
|
4
|
-
--base-font-color-dark: var(--color-surface-50);
|
|
5
|
-
--base-font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
6
|
-
--base-font-size: inherit;
|
|
7
|
-
--base-line-height: inherit;
|
|
8
|
-
--base-font-weight: normal;
|
|
9
|
-
--base-font-style: normal;
|
|
10
|
-
--base-letter-spacing: 0em;
|
|
11
|
-
--heading-font-color: inherit;
|
|
12
|
-
--heading-font-color-dark: inherit;
|
|
13
|
-
--heading-font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
|
14
|
-
--heading-font-weight: 600;
|
|
15
|
-
--heading-font-style: normal;
|
|
16
|
-
--heading-letter-spacing: 0.025em;
|
|
17
|
-
--anchor-font-color: var(--color-tertiary-700);
|
|
18
|
-
--anchor-font-color-dark: var(--color-secondary-500);
|
|
19
|
-
--anchor-font-family: inherit;
|
|
20
|
-
--anchor-font-size: inherit;
|
|
21
|
-
--anchor-line-height: inherit;
|
|
22
|
-
--anchor-font-weight: inherit;
|
|
23
|
-
--anchor-font-style: inherit;
|
|
24
|
-
--anchor-letter-spacing: inherit;
|
|
25
|
-
--anchor-text-decoration: none;
|
|
26
|
-
--anchor-text-decoration-hover: underline;
|
|
27
|
-
--anchor-text-decoration-active: none;
|
|
28
|
-
--anchor-text-decoration-focus: none;
|
|
29
2
|
--spacing: 0.25rem;
|
|
3
|
+
--text-scaling: 1.067;
|
|
4
|
+
--typo-base--font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
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: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
|
19
|
+
--typo-heading--color-light: inherit;
|
|
20
|
+
--typo-heading--color-dark: inherit;
|
|
21
|
+
--typo-heading--font-weight: 600;
|
|
22
|
+
--typo-heading--font-style: normal;
|
|
23
|
+
--typo-heading--letter-spacing: 0.025em;
|
|
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-tertiary-700);
|
|
33
|
+
--typo-anchor--color-dark: var(--color-secondary-500);
|
|
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;
|
|
30
68
|
--radius-base: 0.375rem;
|
|
31
69
|
--radius-container: 0.75rem;
|
|
32
70
|
--default-border-width: 1px;
|
|
33
|
-
--default-
|
|
71
|
+
--default-outline-width: 1px;
|
|
34
72
|
--default-ring-width: 1px;
|
|
35
|
-
--
|
|
36
|
-
--
|
|
73
|
+
--corner-shape-base: inherit;
|
|
74
|
+
--corner-shape-container: inherit;
|
|
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(96.94% 0.02 50.48deg);
|
|
38
82
|
--color-primary-100: oklch(94.06% 0.03 52.35deg);
|
|
39
83
|
--color-primary-200: oklch(91.01% 0.05 52.1deg);
|
package/src/themes/wintry.css
CHANGED
|
@@ -1,39 +1,83 @@
|
|
|
1
1
|
[data-theme='wintry'] {
|
|
2
|
-
--text-scaling: 1.067;
|
|
3
|
-
--base-font-color: var(--color-surface-950);
|
|
4
|
-
--base-font-color-dark: var(--color-surface-50);
|
|
5
|
-
--base-font-family: system-ui, sans-serif;
|
|
6
|
-
--base-font-size: inherit;
|
|
7
|
-
--base-line-height: inherit;
|
|
8
|
-
--base-font-weight: normal;
|
|
9
|
-
--base-font-style: normal;
|
|
10
|
-
--base-letter-spacing: 0em;
|
|
11
|
-
--heading-font-color: inherit;
|
|
12
|
-
--heading-font-color-dark: inherit;
|
|
13
|
-
--heading-font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
|
14
|
-
--heading-font-weight: bold;
|
|
15
|
-
--heading-font-style: normal;
|
|
16
|
-
--heading-letter-spacing: inherit;
|
|
17
|
-
--anchor-font-color: var(--color-primary-500);
|
|
18
|
-
--anchor-font-color-dark: var(--color-primary-500);
|
|
19
|
-
--anchor-font-family: inherit;
|
|
20
|
-
--anchor-font-size: inherit;
|
|
21
|
-
--anchor-line-height: inherit;
|
|
22
|
-
--anchor-font-weight: inherit;
|
|
23
|
-
--anchor-font-style: inherit;
|
|
24
|
-
--anchor-letter-spacing: inherit;
|
|
25
|
-
--anchor-text-decoration: none;
|
|
26
|
-
--anchor-text-decoration-hover: underline;
|
|
27
|
-
--anchor-text-decoration-active: none;
|
|
28
|
-
--anchor-text-decoration-focus: none;
|
|
29
2
|
--spacing: 0.25rem;
|
|
3
|
+
--text-scaling: 1.067;
|
|
4
|
+
--typo-base--font-family: system-ui, sans-serif;
|
|
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: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
|
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-500);
|
|
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;
|
|
30
68
|
--radius-base: 0.375rem;
|
|
31
69
|
--radius-container: 0.75rem;
|
|
32
70
|
--default-border-width: 1px;
|
|
33
|
-
--default-
|
|
71
|
+
--default-outline-width: 1px;
|
|
34
72
|
--default-ring-width: 1px;
|
|
35
|
-
--
|
|
36
|
-
--
|
|
73
|
+
--corner-shape-base: inherit;
|
|
74
|
+
--corner-shape-container: inherit;
|
|
75
|
+
--color-root-bg-light: oklch(1 0 0 / 1);
|
|
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(96.19% 0.04 201.62deg);
|
|
38
82
|
--color-primary-100: oklch(89.29% 0.06 230.4deg);
|
|
39
83
|
--color-primary-200: oklch(82.2% 0.09 245.96deg);
|
package/src/utilities/badges.css
CHANGED
|
@@ -1,29 +1,39 @@
|
|
|
1
1
|
/* Components: Badges */
|
|
2
2
|
|
|
3
3
|
@utility badge {
|
|
4
|
-
|
|
4
|
+
--badge-size: calc(var(--text-xs) * 0.8);
|
|
5
|
+
|
|
6
|
+
border-radius: 9999px;
|
|
5
7
|
|
|
6
8
|
/* Icon Spacing */
|
|
7
9
|
display: inline-flex;
|
|
8
10
|
flex-direction: row;
|
|
9
11
|
align-items: center;
|
|
10
12
|
justify-content: center;
|
|
11
|
-
gap: --spacing(2);
|
|
13
|
+
gap: calc((var(--badge-size) - --spacing(0.5)) / 2);
|
|
12
14
|
|
|
13
15
|
/* Typography */
|
|
14
16
|
text-decoration-line: none;
|
|
15
17
|
white-space: nowrap;
|
|
18
|
+
font-weight: bold;
|
|
16
19
|
|
|
17
20
|
/* Size */
|
|
18
|
-
font-size: var(--
|
|
19
|
-
line-height: var(--
|
|
20
|
-
padding-block: --spacing(
|
|
21
|
-
padding-inline: --spacing(
|
|
21
|
+
font-size: var(--badge-size);
|
|
22
|
+
line-height: var(--badge-size);
|
|
23
|
+
padding-block: calc((var(--badge-size) - --spacing(0.5)) / 2);
|
|
24
|
+
padding-inline: calc((var(--badge-size) - --spacing(0.5)) / 2 + var(--spacing));
|
|
25
|
+
|
|
26
|
+
/* Inner Icon Sizing */
|
|
27
|
+
& > :where(svg) {
|
|
28
|
+
width: var(--badge-size);
|
|
29
|
+
height: var(--badge-size);
|
|
30
|
+
}
|
|
22
31
|
}
|
|
23
32
|
|
|
24
33
|
@utility badge-icon {
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
--badge-size: calc(var(--text-xs) * 0.8);
|
|
35
|
+
|
|
36
|
+
border-radius: 9999px;
|
|
27
37
|
|
|
28
38
|
/* Center Icons */
|
|
29
39
|
display: inline-flex;
|
|
@@ -33,10 +43,35 @@
|
|
|
33
43
|
/* Typography */
|
|
34
44
|
text-decoration-line: none;
|
|
35
45
|
white-space: nowrap;
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
|
|
48
|
+
/* Size */
|
|
49
|
+
font-size: var(--badge-size);
|
|
50
|
+
line-height: var(--badge-size);
|
|
51
|
+
width: calc(var(--badge-size) * 2 - --spacing(0.5));
|
|
52
|
+
height: calc(var(--badge-size) * 2 - --spacing(0.5));
|
|
53
|
+
padding: calc((var(--badge-size) - --spacing(0.5)) / 2);
|
|
54
|
+
|
|
55
|
+
/* Inner Icon Sizing */
|
|
56
|
+
& > :where(svg) {
|
|
57
|
+
width: var(--badge-size);
|
|
58
|
+
height: var(--badge-size);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@utility badge-dot {
|
|
63
|
+
border-radius: 9999px;
|
|
64
|
+
|
|
65
|
+
/* Hide Inner Content */
|
|
66
|
+
display: inline-block;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
font-size: 0;
|
|
69
|
+
line-height: 0;
|
|
70
|
+
& > * {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
36
73
|
|
|
37
74
|
/* Size */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
height: var(--text-xs);
|
|
41
|
-
padding: --spacing(1.5);
|
|
75
|
+
width: 8px;
|
|
76
|
+
height: 8px;
|
|
42
77
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/* Components: Buttons */
|
|
2
2
|
|
|
3
3
|
@utility btn {
|
|
4
|
+
--btn-size: var(--text-base);
|
|
5
|
+
|
|
4
6
|
border-radius: var(--radius-base);
|
|
5
7
|
|
|
6
8
|
/* Icon Spacing */
|
|
@@ -15,36 +17,19 @@
|
|
|
15
17
|
white-space: nowrap;
|
|
16
18
|
|
|
17
19
|
/* Size */
|
|
18
|
-
font-size: var(--
|
|
19
|
-
line-height: var(--
|
|
20
|
-
padding-block: --spacing(
|
|
21
|
-
padding-inline: --spacing(
|
|
20
|
+
font-size: var(--btn-size);
|
|
21
|
+
line-height: var(--btn-size);
|
|
22
|
+
padding-block: calc((var(--btn-size) - --spacing(0.5)) / 2);
|
|
23
|
+
padding-inline: calc((var(--btn-size) - --spacing(0.5)) / 2 + var(--spacing));
|
|
24
|
+
|
|
25
|
+
/* Inner Icon Sizing */
|
|
26
|
+
& > :where(svg) {
|
|
27
|
+
width: var(--btn-size);
|
|
28
|
+
height: var(--btn-size);
|
|
29
|
+
}
|
|
22
30
|
|
|
23
31
|
/* Transitions */
|
|
24
|
-
transition-property:
|
|
25
|
-
color,
|
|
26
|
-
background-color,
|
|
27
|
-
border-color,
|
|
28
|
-
outline-color,
|
|
29
|
-
text-decoration-color,
|
|
30
|
-
fill,
|
|
31
|
-
stroke,
|
|
32
|
-
--tw-gradient-from,
|
|
33
|
-
--tw-gradient-via,
|
|
34
|
-
--tw-gradient-to,
|
|
35
|
-
opacity,
|
|
36
|
-
box-shadow,
|
|
37
|
-
transform,
|
|
38
|
-
translate,
|
|
39
|
-
scale,
|
|
40
|
-
rotate,
|
|
41
|
-
filter,
|
|
42
|
-
-webkit-backdrop-filter,
|
|
43
|
-
backdrop-filter,
|
|
44
|
-
display,
|
|
45
|
-
content-visibility,
|
|
46
|
-
overlay,
|
|
47
|
-
pointer-events;
|
|
32
|
+
transition-property: var(--default-transition-property);
|
|
48
33
|
transition-timing-function: var(--default-transition-timing-function);
|
|
49
34
|
transition-duration: var(--default-transition-duration);
|
|
50
35
|
|
|
@@ -59,7 +44,8 @@
|
|
|
59
44
|
}
|
|
60
45
|
|
|
61
46
|
@utility btn-icon {
|
|
62
|
-
|
|
47
|
+
--btn-size: var(--text-base);
|
|
48
|
+
|
|
63
49
|
border-radius: var(--radius-base);
|
|
64
50
|
|
|
65
51
|
/* Center Icons */
|
|
@@ -72,10 +58,22 @@
|
|
|
72
58
|
white-space: nowrap;
|
|
73
59
|
|
|
74
60
|
/* Size */
|
|
75
|
-
font-size: var(--
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
61
|
+
font-size: var(--btn-size);
|
|
62
|
+
line-height: var(--btn-size);
|
|
63
|
+
width: calc(var(--btn-size) * 2 - --spacing(0.5));
|
|
64
|
+
height: calc(var(--btn-size) * 2 - --spacing(0.5));
|
|
65
|
+
padding: calc((var(--btn-size) - --spacing(0.5)) / 2);
|
|
66
|
+
|
|
67
|
+
/* Inner Icon Sizing */
|
|
68
|
+
& > :where(svg) {
|
|
69
|
+
width: var(--btn-size);
|
|
70
|
+
height: var(--btn-size);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Transitions */
|
|
74
|
+
transition-property: var(--default-transition-property);
|
|
75
|
+
transition-timing-function: var(--default-transition-timing-function);
|
|
76
|
+
transition-duration: var(--default-transition-duration);
|
|
79
77
|
|
|
80
78
|
@variant not-disabled {
|
|
81
79
|
@variant hover {
|
|
@@ -90,43 +88,85 @@
|
|
|
90
88
|
/* Sizes --- */
|
|
91
89
|
|
|
92
90
|
/* Button */
|
|
91
|
+
@utility btn-xs {
|
|
92
|
+
--btn-size: var(--text-xs);
|
|
93
|
+
}
|
|
93
94
|
@utility btn-sm {
|
|
94
|
-
|
|
95
|
-
line-height: var(--text-xs--line-height);
|
|
96
|
-
padding-block: --spacing(1);
|
|
97
|
-
padding-inline: --spacing(3);
|
|
95
|
+
--btn-size: var(--text-sm);
|
|
98
96
|
}
|
|
99
97
|
@utility btn-base {
|
|
100
|
-
|
|
101
|
-
line-height: var(--text-base--line-height);
|
|
102
|
-
padding-block: --spacing(1);
|
|
103
|
-
padding-inline: --spacing(4);
|
|
98
|
+
--btn-size: var(--text-base);
|
|
104
99
|
}
|
|
105
100
|
@utility btn-lg {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
101
|
+
--btn-size: var(--text-lg);
|
|
102
|
+
}
|
|
103
|
+
@utility btn-xl {
|
|
104
|
+
--btn-size: var(--text-xl);
|
|
105
|
+
}
|
|
106
|
+
@utility btn-2xl {
|
|
107
|
+
--btn-size: var(--text-2xl);
|
|
108
|
+
}
|
|
109
|
+
@utility btn-3xl {
|
|
110
|
+
--btn-size: var(--text-3xl);
|
|
111
|
+
}
|
|
112
|
+
@utility btn-4xl {
|
|
113
|
+
--btn-size: var(--text-4xl);
|
|
114
|
+
}
|
|
115
|
+
@utility btn-5xl {
|
|
116
|
+
--btn-size: var(--text-5xl);
|
|
117
|
+
}
|
|
118
|
+
@utility btn-6xl {
|
|
119
|
+
--btn-size: var(--text-6xl);
|
|
120
|
+
}
|
|
121
|
+
@utility btn-7xl {
|
|
122
|
+
--btn-size: var(--text-7xl);
|
|
123
|
+
}
|
|
124
|
+
@utility btn-8xl {
|
|
125
|
+
--btn-size: var(--text-8xl);
|
|
126
|
+
}
|
|
127
|
+
@utility btn-9xl {
|
|
128
|
+
--btn-size: var(--text-9xl);
|
|
110
129
|
}
|
|
111
130
|
|
|
112
131
|
/* Button Icon */
|
|
132
|
+
@utility btn-icon-xs {
|
|
133
|
+
--btn-size: var(--text-xs);
|
|
134
|
+
}
|
|
113
135
|
@utility btn-icon-sm {
|
|
114
|
-
|
|
115
|
-
width: var(--text-xs);
|
|
116
|
-
height: var(--text-xs);
|
|
117
|
-
padding: --spacing(1.5);
|
|
136
|
+
--btn-size: var(--text-sm);
|
|
118
137
|
}
|
|
119
138
|
@utility btn-icon-base {
|
|
120
|
-
|
|
121
|
-
width: var(--text-base);
|
|
122
|
-
height: var(--text-base);
|
|
123
|
-
padding: --spacing(2);
|
|
139
|
+
--btn-size: var(--text-base);
|
|
124
140
|
}
|
|
125
141
|
@utility btn-icon-lg {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
142
|
+
--btn-size: var(--text-lg);
|
|
143
|
+
}
|
|
144
|
+
@utility btn-icon-xl {
|
|
145
|
+
--btn-size: var(--text-xl);
|
|
146
|
+
}
|
|
147
|
+
@utility btn-icon-2xl {
|
|
148
|
+
--btn-size: var(--text-2xl);
|
|
149
|
+
}
|
|
150
|
+
@utility btn-icon-3xl {
|
|
151
|
+
--btn-size: var(--text-3xl);
|
|
152
|
+
}
|
|
153
|
+
@utility btn-icon-4xl {
|
|
154
|
+
--btn-size: var(--text-4xl);
|
|
155
|
+
}
|
|
156
|
+
@utility btn-icon-5xl {
|
|
157
|
+
--btn-size: var(--text-5xl);
|
|
158
|
+
}
|
|
159
|
+
@utility btn-icon-6xl {
|
|
160
|
+
--btn-size: var(--text-6xl);
|
|
161
|
+
}
|
|
162
|
+
@utility btn-icon-7xl {
|
|
163
|
+
--btn-size: var(--text-7xl);
|
|
164
|
+
}
|
|
165
|
+
@utility btn-icon-8xl {
|
|
166
|
+
--btn-size: var(--text-8xl);
|
|
167
|
+
}
|
|
168
|
+
@utility btn-icon-9xl {
|
|
169
|
+
--btn-size: var(--text-9xl);
|
|
130
170
|
}
|
|
131
171
|
|
|
132
172
|
/* Group --- */
|
package/src/utilities/cards.css
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
@utility card {
|
|
4
4
|
border-radius: var(--radius-container);
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
&:is(a),
|
|
7
|
+
&:is(button) {
|
|
7
8
|
/* Transitions (all) */
|
|
8
|
-
transition-property:
|
|
9
|
+
transition-property: var(--default-transition-property);
|
|
9
10
|
transition-timing-function: var(--default-transition-timing-function);
|
|
10
11
|
transition-duration: var(--default-transition-duration);
|
|
11
12
|
|
|
@@ -17,17 +18,3 @@
|
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
@utility card-hover {
|
|
22
|
-
/* Transitions (all) */
|
|
23
|
-
transition-property: all;
|
|
24
|
-
transition-timing-function: var(--default-transition-timing-function);
|
|
25
|
-
transition-duration: var(--default-transition-duration);
|
|
26
|
-
|
|
27
|
-
@variant hover {
|
|
28
|
-
filter: brightness(95%);
|
|
29
|
-
@variant dark {
|
|
30
|
-
filter: brightness(110%);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|