@skeletonlabs/skeleton 1.11.0-dev.fa91c649 → 2.0.0-rc.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/dist/components/Accordion/Accordion.svelte +15 -3
- package/dist/components/Accordion/Accordion.svelte.d.ts +17 -23
- package/dist/components/Accordion/AccordionItem.svelte +8 -3
- package/dist/components/Accordion/AccordionItem.svelte.d.ts +15 -25
- package/dist/components/AppRail/AppRailTile.svelte +1 -1
- package/dist/components/Autocomplete/Autocomplete.svelte +17 -7
- package/dist/components/Autocomplete/Autocomplete.svelte.d.ts +17 -27
- package/dist/components/Avatar/Avatar.svelte +1 -1
- package/dist/components/ConicGradient/ConicGradient.svelte +1 -1
- package/dist/components/InputChip/InputChip.svelte +25 -4
- package/dist/components/InputChip/InputChip.svelte.d.ts +22 -27
- package/dist/components/Paginator/Paginator.svelte +18 -16
- package/dist/components/Paginator/Paginator.svelte.d.ts +2 -2
- package/dist/components/Paginator/types.d.ts +2 -2
- package/dist/components/Ratings/Ratings.svelte +1 -1
- package/dist/components/Stepper/Step.svelte +11 -2
- package/dist/components/Stepper/Step.svelte.d.ts +15 -12
- package/dist/components/Stepper/Stepper.svelte +21 -3
- package/dist/components/Stepper/Stepper.svelte.d.ts +17 -27
- package/dist/components/Tab/TabGroup.svelte +1 -1
- package/dist/components/Table/Table.svelte +1 -1
- package/dist/index.d.ts +10 -9
- package/dist/index.js +10 -12
- package/dist/internal/transitions.d.ts +10 -0
- package/dist/internal/transitions.js +11 -0
- package/dist/transitions/crossfade.d.ts +1 -0
- package/dist/transitions/crossfade.js +21 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.js +1 -0
- package/dist/utilities/Drawer/Drawer.svelte +33 -12
- package/dist/utilities/Drawer/Drawer.svelte.d.ts +4 -2
- package/dist/utilities/Drawer/stores.d.ts +20 -1
- package/dist/utilities/Drawer/stores.js +27 -2
- package/dist/utilities/Drawer/types.d.ts +2 -0
- package/dist/utilities/Modal/Modal.svelte +21 -23
- package/dist/utilities/Modal/Modal.svelte.d.ts +17 -37
- package/dist/utilities/Modal/stores.d.ts +20 -1
- package/dist/utilities/Modal/stores.js +27 -1
- package/dist/utilities/PrefersReducedMotion/PrefersReducedMotion.d.ts +7 -0
- package/dist/utilities/PrefersReducedMotion/PrefersReducedMotion.js +26 -0
- package/dist/utilities/TableOfContents/TableOfContents.svelte +56 -0
- package/dist/utilities/TableOfContents/TableOfContents.svelte.d.ts +34 -0
- package/dist/utilities/TableOfContents/crawler.d.ts +14 -0
- package/dist/utilities/TableOfContents/crawler.js +76 -0
- package/dist/utilities/TableOfContents/stores.d.ts +6 -0
- package/dist/utilities/TableOfContents/stores.js +5 -0
- package/dist/utilities/TableOfContents/types.d.ts +5 -0
- package/dist/utilities/TableOfContents/types.js +2 -0
- package/dist/utilities/Toast/Toast.svelte +24 -23
- package/dist/utilities/Toast/Toast.svelte.d.ts +17 -24
- package/dist/utilities/Toast/stores.d.ts +23 -5
- package/dist/utilities/Toast/stores.js +56 -29
- package/dist/utilities/index.d.ts +18 -0
- package/dist/utilities/index.js +25 -0
- package/package.json +3 -16
- package/dist/components/TableOfContents/TableOfContents.svelte +0 -111
- package/dist/components/TableOfContents/TableOfContents.svelte.d.ts +0 -44
- package/dist/styles/all.css +0 -30
- package/dist/styles/elements/alerts.css +0 -17
- package/dist/styles/elements/badges.css +0 -31
- package/dist/styles/elements/breadcrumbs.css +0 -36
- package/dist/styles/elements/buttons.css +0 -109
- package/dist/styles/elements/cards.css +0 -32
- package/dist/styles/elements/chips.css +0 -22
- package/dist/styles/elements/codeblocks.css +0 -16
- package/dist/styles/elements/forms.css +0 -283
- package/dist/styles/elements/lists.css +0 -51
- package/dist/styles/elements/logo-clouds.css +0 -29
- package/dist/styles/elements/modals.css +0 -15
- package/dist/styles/elements/placeholders.css +0 -17
- package/dist/styles/elements/popups.css +0 -16
- package/dist/styles/elements/tables.css +0 -102
- package/dist/styles/partials/core.css +0 -66
- package/dist/styles/partials/elements.css +0 -20
- package/dist/styles/partials/tailwind.css +0 -16
- package/dist/styles/partials/typography-next.css +0 -99
- package/dist/styles/partials/typography-prose.css +0 -49
- package/dist/styles/partials/typography.css +0 -99
- package/dist/styles/partials/variants.css +0 -204
- package/dist/styles/skeleton-minimal.css +0 -30
- package/dist/styles/skeleton.css +0 -30
- package/dist/tailwind/core.cjs +0 -37
- package/dist/tailwind/core.d.cts +0 -5
- package/dist/tailwind/generated/intellisense-classes.cjs +0 -1
- package/dist/tailwind/generated/intellisense-classes.d.cts +0 -2729
- package/dist/tailwind/intellisense.cjs +0 -21
- package/dist/tailwind/intellisense.d.cts +0 -5
- package/dist/tailwind/settings.cjs +0 -20
- package/dist/tailwind/settings.d.cts +0 -6
- package/dist/tailwind/skeleton.cjs +0 -19
- package/dist/tailwind/skeleton.d.cts +0 -7
- package/dist/tailwind/theme/colors.cjs +0 -18
- package/dist/tailwind/theme/colors.d.cts +0 -2
- package/dist/tailwind/tokens/backgrounds.cjs +0 -39
- package/dist/tailwind/tokens/backgrounds.d.cts +0 -2
- package/dist/tailwind/tokens/border-radius.cjs +0 -21
- package/dist/tailwind/tokens/border-radius.d.cts +0 -33
- package/dist/tailwind/tokens/borders.cjs +0 -20
- package/dist/tailwind/tokens/borders.d.cts +0 -6
- package/dist/tailwind/tokens/fills.cjs +0 -20
- package/dist/tailwind/tokens/fills.d.cts +0 -15
- package/dist/tailwind/tokens/rings.cjs +0 -50
- package/dist/tailwind/tokens/rings.d.cts +0 -22
- package/dist/tailwind/tokens/text.cjs +0 -31
- package/dist/tailwind/tokens/text.d.cts +0 -21
- package/dist/themes/theme-crimson.css +0 -100
- package/dist/themes/theme-gold-nouveau.css +0 -143
- package/dist/themes/theme-hamlindigo.css +0 -109
- package/dist/themes/theme-modern.css +0 -134
- package/dist/themes/theme-rocket.css +0 -120
- package/dist/themes/theme-sahara.css +0 -133
- package/dist/themes/theme-seafoam.css +0 -128
- package/dist/themes/theme-seasonal.css +0 -114
- package/dist/themes/theme-skeleton.css +0 -119
- package/dist/themes/theme-test.css +0 -96
- package/dist/themes/theme-vintage.css +0 -131
- package/dist/utilities/DataTable/DataTable.d.ts +0 -19
- package/dist/utilities/DataTable/DataTable.js +0 -137
- package/dist/utilities/DataTable/types.d.ts +0 -33
- package/dist/utilities/DataTable/types.js +0 -2
- /package/dist/{utilities/DataTable → components/Table}/actions.d.ts +0 -0
- /package/dist/{utilities/DataTable → components/Table}/actions.js +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: typography-next.css */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
This represents the OPT-IN typography styles.
|
|
5
|
-
IMPORTANT: take care to maintain parity with typography.css!
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
@layer base {
|
|
9
|
-
body {
|
|
10
|
-
@apply text-base font-token text-token;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* === Headings === */
|
|
14
|
-
|
|
15
|
-
.h1 {
|
|
16
|
-
@apply font-heading-token text-3xl md:text-5xl;
|
|
17
|
-
}
|
|
18
|
-
.h2 {
|
|
19
|
-
@apply font-heading-token text-2xl md:text-4xl;
|
|
20
|
-
}
|
|
21
|
-
.h3 {
|
|
22
|
-
@apply font-heading-token text-xl md:text-2xl;
|
|
23
|
-
}
|
|
24
|
-
.h4 {
|
|
25
|
-
@apply font-heading-token text-lg md:text-xl;
|
|
26
|
-
}
|
|
27
|
-
.h5 {
|
|
28
|
-
@apply font-heading-token text-base md:text-lg;
|
|
29
|
-
}
|
|
30
|
-
.h6 {
|
|
31
|
-
@apply font-heading-token text-sm md:text-base;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* === Elements === */
|
|
35
|
-
|
|
36
|
-
/* p { ... } */
|
|
37
|
-
|
|
38
|
-
.anchor {
|
|
39
|
-
@apply text-primary-700 dark:text-primary-500 hover:brightness-110 underline;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.blockquote {
|
|
43
|
-
@apply text-token text-base italic border-l-8 border-l-secondary-500 px-4 pl-4;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Keyboard */
|
|
47
|
-
.kbd {
|
|
48
|
-
@apply font-sans font-bold text-sm;
|
|
49
|
-
@apply bg-surface-300-600-token px-1.5 py-[3px] rounded;
|
|
50
|
-
@apply ring-[1px] ring-surface-900 ring-inset;
|
|
51
|
-
@apply border-b-2 border-surface-900;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Timestamps */
|
|
55
|
-
.time {
|
|
56
|
-
@apply text-sm text-surface-500 dark:text-surface-400;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* === Preformatted / Code === */
|
|
60
|
-
/* For use outside of Skeleton's CodeBlock component */
|
|
61
|
-
|
|
62
|
-
.pre {
|
|
63
|
-
@apply font-mono text-base bg-neutral-900/90 text-white p-4 whitespace-pre-wrap overflow-x-auto rounded-container-token;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.code {
|
|
67
|
-
@apply font-mono text-xs text-primary-700 dark:text-primary-400 whitespace-nowrap;
|
|
68
|
-
@apply bg-primary-500/30 dark:bg-primary-500/20;
|
|
69
|
-
@apply py-0.5 px-1 rounded;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* === Insertions / Deletions ==== */
|
|
73
|
-
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins */
|
|
74
|
-
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del */
|
|
75
|
-
|
|
76
|
-
.ins,
|
|
77
|
-
.del {
|
|
78
|
-
@apply block relative p-0.5 pl-5;
|
|
79
|
-
text-decoration: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.ins::before,
|
|
83
|
-
.del::before {
|
|
84
|
-
@apply absolute left-1 font-mono;
|
|
85
|
-
}
|
|
86
|
-
.ins::before {
|
|
87
|
-
content: '+';
|
|
88
|
-
}
|
|
89
|
-
.del::before {
|
|
90
|
-
content: '−';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.ins {
|
|
94
|
-
@apply font-mono bg-success-500 text-on-success-token;
|
|
95
|
-
}
|
|
96
|
-
.del {
|
|
97
|
-
@apply font-mono bg-error-500 text-on-error-token;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: typography-prose.css */
|
|
2
|
-
|
|
3
|
-
/* Provides default styling for the Tailwind Typography plugin via element modifiers. */
|
|
4
|
-
/* https://tailwindcss.com/docs/typography-plugin */
|
|
5
|
-
|
|
6
|
-
.prose {
|
|
7
|
-
@apply text-base font-token text-token;
|
|
8
|
-
/* Element Modifiers */
|
|
9
|
-
/* https://tailwindcss.com/docs/typography-plugin#element-modifiers */
|
|
10
|
-
@apply prose-headings:text-token;
|
|
11
|
-
/* @apply prose-lead:{utility}; */
|
|
12
|
-
@apply prose-h1:font-heading-token prose-h1:text-3xl prose-h1:md:text-5xl;
|
|
13
|
-
@apply prose-h2:font-heading-token prose-h2:text-2xl prose-h2:md:text-4xl;
|
|
14
|
-
@apply prose-h3:font-heading-token prose-h3:text-xl prose-h3:md:text-2xl;
|
|
15
|
-
@apply prose-h4:font-heading-token prose-h4:text-lg prose-h4:md:text-xl;
|
|
16
|
-
@apply prose-p:text-base;
|
|
17
|
-
/* @apply prose-a:{utility}; */
|
|
18
|
-
@apply prose-a:text-primary-700 prose-a:dark:text-primary-500 prose-a:hover:brightness-110 prose-a:underline;
|
|
19
|
-
@apply prose-blockquote:text-token prose-blockquote:text-base prose-blockquote:!border-secondary-500;
|
|
20
|
-
/* @apply prose-figure:{utility}; */
|
|
21
|
-
@apply prose-figcaption:text-token prose-figcaption:!text-sm prose-figcaption:italic prose-figcaption:text-center mt-3;
|
|
22
|
-
@apply prose-strong:text-token;
|
|
23
|
-
@apply prose-em:text-token;
|
|
24
|
-
/* @apply prose-ol:{utility}; */
|
|
25
|
-
/* @apply prose-ul:{utility}; */
|
|
26
|
-
@apply prose-li:text-base;
|
|
27
|
-
/* @apply prose-table:{utility}; */
|
|
28
|
-
/* @apply prose-thead:{utility}; */
|
|
29
|
-
/* @apply prose-tr:{utility}; */
|
|
30
|
-
/* @apply prose-th:{utility}; */
|
|
31
|
-
/* @apply prose-td:{utility}; */
|
|
32
|
-
/* @apply prose-img:{utility}; */
|
|
33
|
-
/* @apply prose-video:{utility}; */
|
|
34
|
-
/* @apply prose-hr:{utility}; */
|
|
35
|
-
|
|
36
|
-
/* The following have special use cases and must be handled seperately */
|
|
37
|
-
/* @apply prose-code:{utility}; */
|
|
38
|
-
/* @apply prose-pre:{utility}; */
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* NOTE: keep these in sync with typography.css */
|
|
42
|
-
.prose pre:not(.code-block pre) {
|
|
43
|
-
@apply font-mono text-base bg-neutral-900/90 text-white p-4 whitespace-pre-wrap overflow-x-auto rounded-container-token;
|
|
44
|
-
}
|
|
45
|
-
.prose code:is(:not(pre *)) {
|
|
46
|
-
@apply font-mono text-xs text-primary-700 dark:text-primary-400 whitespace-nowrap;
|
|
47
|
-
@apply bg-primary-500/30 dark:bg-primary-500/20;
|
|
48
|
-
@apply py-0.5 px-1 rounded;
|
|
49
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: typography.css */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
This represents the ON-BY-DEFAULT typography styles.
|
|
5
|
-
IMPORTANT: take care to maintain parity with typography-next.css!
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
@layer base {
|
|
9
|
-
body {
|
|
10
|
-
@apply text-base font-token text-token;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* === Headings === */
|
|
14
|
-
|
|
15
|
-
h1:not(.unstyled) {
|
|
16
|
-
@apply font-heading-token text-3xl md:text-5xl;
|
|
17
|
-
}
|
|
18
|
-
h2:not(.unstyled) {
|
|
19
|
-
@apply font-heading-token text-2xl md:text-4xl;
|
|
20
|
-
}
|
|
21
|
-
h3:not(.unstyled) {
|
|
22
|
-
@apply font-heading-token text-xl md:text-2xl;
|
|
23
|
-
}
|
|
24
|
-
h4:not(.unstyled) {
|
|
25
|
-
@apply font-heading-token text-lg md:text-xl;
|
|
26
|
-
}
|
|
27
|
-
h5:not(.unstyled) {
|
|
28
|
-
@apply font-heading-token text-base md:text-lg;
|
|
29
|
-
}
|
|
30
|
-
h6:not(.unstyled) {
|
|
31
|
-
@apply font-heading-token text-sm md:text-base;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* === Elements === */
|
|
35
|
-
|
|
36
|
-
/* p { ... } */
|
|
37
|
-
|
|
38
|
-
a:not(.unstyled):not(.permalink):not(.btn):not(.btn-icon):not(.app-bar a):not(.logo-item):not(a.card):not(.list-nav a) {
|
|
39
|
-
@apply text-primary-700 dark:text-primary-500 hover:brightness-110 underline;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
blockquote:not(.unstyled) {
|
|
43
|
-
@apply text-token text-base italic border-l-8 border-secondary-500 px-4 pl-4;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Keyboard */
|
|
47
|
-
kbd:not(.unstyled) {
|
|
48
|
-
@apply font-sans font-bold text-sm;
|
|
49
|
-
@apply bg-surface-300-600-token px-1.5 py-[3px] rounded;
|
|
50
|
-
@apply ring-[1px] ring-surface-900 ring-inset;
|
|
51
|
-
@apply border-b-2 border-surface-900;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Timestamps */
|
|
55
|
-
time:not(.unstyled) {
|
|
56
|
-
@apply text-sm text-surface-500 dark:text-surface-400;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* === Preformatted / Code === */
|
|
60
|
-
/* For use outside of Skeleton's CodeBlock component */
|
|
61
|
-
|
|
62
|
-
pre:not(.unstyled):not(.code-block pre) {
|
|
63
|
-
@apply font-mono text-base bg-neutral-900/90 text-white p-4 whitespace-pre-wrap overflow-x-auto rounded-container-token;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
code:not(.unstyled):is(:not(pre *)) {
|
|
67
|
-
@apply font-mono text-xs text-primary-700 dark:text-primary-400 whitespace-nowrap;
|
|
68
|
-
@apply bg-primary-500/30 dark:bg-primary-500/20;
|
|
69
|
-
@apply py-0.5 px-1 rounded;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* === Insertions / Deletions ==== */
|
|
73
|
-
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins */
|
|
74
|
-
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del */
|
|
75
|
-
|
|
76
|
-
ins:not(.unstyled),
|
|
77
|
-
del:not(.unstyled) {
|
|
78
|
-
@apply block relative p-0.5 pl-5;
|
|
79
|
-
text-decoration: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
ins:not(.unstyled)::before,
|
|
83
|
-
del:not(.unstyled)::before {
|
|
84
|
-
@apply absolute left-1 font-mono;
|
|
85
|
-
}
|
|
86
|
-
ins:not(.unstyled)::before {
|
|
87
|
-
content: '+';
|
|
88
|
-
}
|
|
89
|
-
del:not(.unstyled)::before {
|
|
90
|
-
content: '−';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
ins:not(.unstyled) {
|
|
94
|
-
@apply font-mono bg-success-500 text-on-success-token;
|
|
95
|
-
}
|
|
96
|
-
del:not(.unstyled) {
|
|
97
|
-
@apply font-mono bg-error-500 text-on-error-token;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
/* === Variants === */
|
|
2
|
-
/* A canned set of reusable variant styles. */
|
|
3
|
-
|
|
4
|
-
@layer components {
|
|
5
|
-
/* Outline -- supports ringed and host variants */
|
|
6
|
-
.variant-outline-primary {
|
|
7
|
-
@apply ring-[1px] ring-primary-500 dark:ring-primary-500 ring-inset;
|
|
8
|
-
}
|
|
9
|
-
.variant-outline-secondary {
|
|
10
|
-
@apply ring-[1px] ring-secondary-500 dark:ring-secondary-500 ring-inset;
|
|
11
|
-
}
|
|
12
|
-
.variant-outline-tertiary {
|
|
13
|
-
@apply ring-[1px] ring-tertiary-500 dark:ring-tertiary-500 ring-inset;
|
|
14
|
-
}
|
|
15
|
-
.variant-outline-success {
|
|
16
|
-
@apply ring-[1px] ring-success-500 dark:ring-success-500 ring-inset;
|
|
17
|
-
}
|
|
18
|
-
.variant-outline-warning {
|
|
19
|
-
@apply ring-[1px] ring-warning-500 dark:ring-warning-500 ring-inset;
|
|
20
|
-
}
|
|
21
|
-
.variant-outline-error {
|
|
22
|
-
@apply ring-[1px] ring-error-500 dark:ring-error-500 ring-inset;
|
|
23
|
-
}
|
|
24
|
-
.variant-outline,
|
|
25
|
-
.variant-outline-surface {
|
|
26
|
-
@apply ring-[1px] ring-surface-500 dark:ring-surface-500 ring-inset;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* ------------------------ */
|
|
30
|
-
|
|
31
|
-
/* === Filled === */
|
|
32
|
-
|
|
33
|
-
.variant-filled {
|
|
34
|
-
@apply bg-surface-900-50-token text-surface-50-900-token;
|
|
35
|
-
}
|
|
36
|
-
.variant-filled-primary {
|
|
37
|
-
@apply bg-primary-500 dark:bg-primary-500 text-on-primary-token dark:text-on-primary-token;
|
|
38
|
-
}
|
|
39
|
-
.variant-filled-secondary {
|
|
40
|
-
@apply bg-secondary-500 dark:bg-secondary-500 text-on-secondary-token dark:text-on-secondary-token;
|
|
41
|
-
}
|
|
42
|
-
.variant-filled-tertiary {
|
|
43
|
-
@apply bg-tertiary-500 dark:bg-tertiary-500 text-on-tertiary-token dark:text-on-tertiary-token;
|
|
44
|
-
}
|
|
45
|
-
.variant-filled-success {
|
|
46
|
-
@apply bg-success-500 dark:bg-success-500 text-on-success-token dark:text-on-success-token;
|
|
47
|
-
}
|
|
48
|
-
.variant-filled-warning {
|
|
49
|
-
@apply bg-warning-500 dark:bg-warning-500 text-on-warning-token dark:text-on-warning-token;
|
|
50
|
-
}
|
|
51
|
-
.variant-filled-error {
|
|
52
|
-
@apply bg-error-500 dark:bg-error-500 text-on-error-token dark:text-on-error-token;
|
|
53
|
-
}
|
|
54
|
-
.variant-filled-surface {
|
|
55
|
-
@apply bg-surface-400-500-token text-on-surface-token dark:text-on-surface-token;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* === Ringed === */
|
|
59
|
-
|
|
60
|
-
.variant-ringed {
|
|
61
|
-
@apply bg-transparent dark:bg-transparent variant-outline;
|
|
62
|
-
}
|
|
63
|
-
.variant-ringed-primary {
|
|
64
|
-
@apply bg-transparent dark:bg-transparent variant-outline-primary;
|
|
65
|
-
}
|
|
66
|
-
.variant-ringed-secondary {
|
|
67
|
-
@apply bg-transparent dark:bg-transparent variant-outline-secondary;
|
|
68
|
-
}
|
|
69
|
-
.variant-ringed-tertiary {
|
|
70
|
-
@apply bg-transparent dark:bg-transparent variant-outline-tertiary;
|
|
71
|
-
}
|
|
72
|
-
.variant-ringed-success {
|
|
73
|
-
@apply bg-transparent dark:bg-transparent variant-outline-success;
|
|
74
|
-
}
|
|
75
|
-
.variant-ringed-warning {
|
|
76
|
-
@apply bg-transparent dark:bg-transparent variant-outline-warning;
|
|
77
|
-
}
|
|
78
|
-
.variant-ringed-error {
|
|
79
|
-
@apply bg-transparent dark:bg-transparent variant-outline-error;
|
|
80
|
-
}
|
|
81
|
-
.variant-ringed-surface {
|
|
82
|
-
@apply bg-transparent dark:bg-transparent variant-outline-surface;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/* === Ghost === */
|
|
86
|
-
|
|
87
|
-
.variant-ghost-primary {
|
|
88
|
-
@apply bg-primary-500/20 dark:bg-primary-500/20 variant-outline-primary;
|
|
89
|
-
}
|
|
90
|
-
.variant-ghost-secondary {
|
|
91
|
-
@apply bg-secondary-500/20 dark:bg-secondary-500/20 variant-outline-secondary;
|
|
92
|
-
}
|
|
93
|
-
.variant-ghost-tertiary {
|
|
94
|
-
@apply bg-tertiary-500/20 dark:bg-tertiary-500/20 variant-outline-tertiary;
|
|
95
|
-
}
|
|
96
|
-
.variant-ghost-success {
|
|
97
|
-
@apply bg-success-500/20 dark:bg-success-500/20 variant-outline-success;
|
|
98
|
-
}
|
|
99
|
-
.variant-ghost-warning {
|
|
100
|
-
@apply bg-warning-500/20 dark:bg-warning-500/20 variant-outline-warning;
|
|
101
|
-
}
|
|
102
|
-
.variant-ghost-error {
|
|
103
|
-
@apply bg-error-500/20 dark:bg-error-500/20 variant-outline-error;
|
|
104
|
-
}
|
|
105
|
-
.variant-ghost,
|
|
106
|
-
.variant-ghost-surface {
|
|
107
|
-
@apply bg-surface-500/20 dark:bg-surface-500/20 variant-outline-surface;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* === Soft === */
|
|
111
|
-
|
|
112
|
-
.variant-soft-primary {
|
|
113
|
-
@apply bg-primary-400/20 dark:bg-primary-500/20 text-primary-700-200-token !ring-0;
|
|
114
|
-
}
|
|
115
|
-
.variant-soft-secondary {
|
|
116
|
-
@apply bg-secondary-400/20 dark:bg-secondary-500/20 text-secondary-700-200-token !ring-0;
|
|
117
|
-
}
|
|
118
|
-
.variant-soft-tertiary {
|
|
119
|
-
@apply bg-tertiary-400/20 dark:bg-tertiary-500/20 text-tertiary-700-200-token !ring-0;
|
|
120
|
-
}
|
|
121
|
-
.variant-soft-success {
|
|
122
|
-
@apply bg-success-400/20 dark:bg-success-500/20 text-success-700-200-token !ring-0;
|
|
123
|
-
}
|
|
124
|
-
.variant-soft-warning {
|
|
125
|
-
@apply bg-warning-400/20 dark:bg-warning-500/20 text-warning-700-200-token !ring-0;
|
|
126
|
-
}
|
|
127
|
-
.variant-soft-error {
|
|
128
|
-
@apply bg-error-400/20 dark:bg-error-500/20 text-error-700-200-token !ring-0;
|
|
129
|
-
}
|
|
130
|
-
.variant-soft,
|
|
131
|
-
.variant-soft-surface {
|
|
132
|
-
@apply bg-surface-400/20 dark:bg-surface-500/20 text-surface-700-200-token !ring-0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/* === Glass === */
|
|
136
|
-
|
|
137
|
-
.variant-glass-primary {
|
|
138
|
-
@apply bg-primary-500/20 dark:bg-primary-500/20 backdrop-blur-lg;
|
|
139
|
-
}
|
|
140
|
-
.variant-glass-secondary {
|
|
141
|
-
@apply bg-secondary-500/20 dark:bg-secondary-500/20 backdrop-blur-lg;
|
|
142
|
-
}
|
|
143
|
-
.variant-glass-tertiary {
|
|
144
|
-
@apply bg-tertiary-500/20 dark:bg-tertiary-500/20 backdrop-blur-lg;
|
|
145
|
-
}
|
|
146
|
-
.variant-glass-success {
|
|
147
|
-
@apply bg-success-500/20 dark:bg-success-500/20 backdrop-blur-lg;
|
|
148
|
-
}
|
|
149
|
-
.variant-glass-warning {
|
|
150
|
-
@apply bg-warning-500/20 dark:bg-warning-500/20 backdrop-blur-lg;
|
|
151
|
-
}
|
|
152
|
-
.variant-glass-error {
|
|
153
|
-
@apply bg-error-500/20 dark:bg-error-500/20 backdrop-blur-lg;
|
|
154
|
-
}
|
|
155
|
-
.variant-glass-surface {
|
|
156
|
-
@apply bg-surface-500/20 dark:bg-surface-500/20 backdrop-blur-lg;
|
|
157
|
-
}
|
|
158
|
-
.variant-glass {
|
|
159
|
-
@apply bg-surface-50/30 dark:bg-surface-900/30 backdrop-blur-lg;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/* === Gradients === */
|
|
163
|
-
|
|
164
|
-
/* Core Trio */
|
|
165
|
-
.variant-gradient-primary-secondary {
|
|
166
|
-
@apply from-primary-500 to-secondary-500 text-on-primary-token;
|
|
167
|
-
}
|
|
168
|
-
.variant-gradient-secondary-tertiary {
|
|
169
|
-
@apply from-secondary-500 to-tertiary-500 text-on-secondary-token;
|
|
170
|
-
}
|
|
171
|
-
.variant-gradient-tertiary-primary {
|
|
172
|
-
@apply from-tertiary-500 to-primary-500 text-on-tertiary-token;
|
|
173
|
-
}
|
|
174
|
-
/* Core Trio (reversed) */
|
|
175
|
-
.variant-gradient-secondary-primary {
|
|
176
|
-
@apply from-secondary-500 to-primary-500 text-on-secondary-token;
|
|
177
|
-
}
|
|
178
|
-
.variant-gradient-tertiary-secondary {
|
|
179
|
-
@apply from-tertiary-500 to-secondary-500 text-on-tertiary-token;
|
|
180
|
-
}
|
|
181
|
-
.variant-gradient-primary-tertiary {
|
|
182
|
-
@apply from-primary-500 to-tertiary-500 text-on-primary-token;
|
|
183
|
-
}
|
|
184
|
-
/* State Trio */
|
|
185
|
-
.variant-gradient-success-warning {
|
|
186
|
-
@apply from-success-500 to-warning-500 text-on-success-token;
|
|
187
|
-
}
|
|
188
|
-
.variant-gradient-warning-error {
|
|
189
|
-
@apply from-warning-500 to-error-500 text-on-secondary-token;
|
|
190
|
-
}
|
|
191
|
-
.variant-gradient-error-success {
|
|
192
|
-
@apply from-error-500 to-success-500 text-on-error-token;
|
|
193
|
-
}
|
|
194
|
-
/* State Trio (reversed) */
|
|
195
|
-
.variant-gradient-warning-success {
|
|
196
|
-
@apply from-warning-500 to-success-500 text-on-warning-token;
|
|
197
|
-
}
|
|
198
|
-
.variant-gradient-error-warning {
|
|
199
|
-
@apply from-error-500 to-warning-500 text-on-secondary-token;
|
|
200
|
-
}
|
|
201
|
-
.variant-gradient-success-error {
|
|
202
|
-
@apply from-success-500 to-error-500 text-on-success-token;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: skeleton-minimal.css */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
- Only required stylesheets are provided.
|
|
5
|
-
- Optional stylesheets are not included.
|
|
6
|
-
- Typography using opt-in system
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/* NOTE: The order shown below is required */
|
|
10
|
-
/* Import AFTER your theme, but BEFORE your global stylesheet. */
|
|
11
|
-
|
|
12
|
-
/* Tailwind Directives */
|
|
13
|
-
@import 'partials/tailwind.css';
|
|
14
|
-
|
|
15
|
-
/* === OPTIONAL STYLESHEETS === */
|
|
16
|
-
|
|
17
|
-
/* Core Styles */
|
|
18
|
-
/* (excluded - supplied by developer) */
|
|
19
|
-
|
|
20
|
-
/* Typography Settings */
|
|
21
|
-
@import 'partials/typography-next.css';
|
|
22
|
-
/* (prose excluded - supplied by developer) */
|
|
23
|
-
|
|
24
|
-
/* === REQUIRED STYLESHEETS === */
|
|
25
|
-
|
|
26
|
-
/* Imports all Tailwind Elements */
|
|
27
|
-
@import 'partials/elements.css';
|
|
28
|
-
|
|
29
|
-
/* Imports all Variant Styles */
|
|
30
|
-
@import 'partials/variants.css';
|
package/dist/styles/skeleton.css
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: skeleton.css */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
- Slated to replace `all.css` in the next major release
|
|
5
|
-
- All available stylesheets are imported
|
|
6
|
-
- Typography using opt-in system
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/* NOTE: The order shown below is required */
|
|
10
|
-
/* Import AFTER your theme, but BEFORE your global stylesheet. */
|
|
11
|
-
|
|
12
|
-
/* Tailwind Directives */
|
|
13
|
-
@import 'partials/tailwind.css';
|
|
14
|
-
|
|
15
|
-
/* === OPTIONAL STYLESHEETS === */
|
|
16
|
-
|
|
17
|
-
/* Core Styles */
|
|
18
|
-
@import 'partials/core.css';
|
|
19
|
-
|
|
20
|
-
/* Typography Settings */
|
|
21
|
-
@import 'partials/typography-next.css';
|
|
22
|
-
/* DEPRECATED: 'partials/typography-prose.css' must now be imported directly */
|
|
23
|
-
|
|
24
|
-
/* === REQUIRED STYLESHEETS === */
|
|
25
|
-
|
|
26
|
-
/* Imports all Tailwind Elements */
|
|
27
|
-
@import 'partials/elements.css';
|
|
28
|
-
|
|
29
|
-
/* Imports all Variant Styles */
|
|
30
|
-
@import 'partials/variants.css';
|
package/dist/tailwind/core.cjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// The Skeleton Tailwind Plugin
|
|
2
|
-
// Tailwind Docs: https://tailwindcss.com/docs/plugins
|
|
3
|
-
// Skeleton Docs: https://www.skeleton.dev/docs/get-started
|
|
4
|
-
|
|
5
|
-
const plugin = require('tailwindcss/plugin');
|
|
6
|
-
|
|
7
|
-
// Skeleton Theme Modules
|
|
8
|
-
const themeColors = require('./theme/colors.cjs');
|
|
9
|
-
// Skeleton Design Token Modules
|
|
10
|
-
const tokensBackgrounds = require('./tokens/backgrounds.cjs');
|
|
11
|
-
const tokensBorders = require('./tokens/borders.cjs');
|
|
12
|
-
const tokensBorderRadius = require('./tokens/border-radius.cjs');
|
|
13
|
-
const tokensFills = require('./tokens/fills.cjs');
|
|
14
|
-
const tokensText = require('./tokens/text.cjs');
|
|
15
|
-
const tokensRings = require('./tokens/rings.cjs');
|
|
16
|
-
|
|
17
|
-
module.exports = plugin(
|
|
18
|
-
({ addUtilities }) => {
|
|
19
|
-
addUtilities({
|
|
20
|
-
// Implement Skeleton design token classes
|
|
21
|
-
...tokensBackgrounds(),
|
|
22
|
-
...tokensBorders(),
|
|
23
|
-
...tokensBorderRadius(),
|
|
24
|
-
...tokensFills(),
|
|
25
|
-
...tokensText(),
|
|
26
|
-
...tokensRings()
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
theme: {
|
|
31
|
-
extend: {
|
|
32
|
-
// Implement Skeleton theme colors
|
|
33
|
-
colors: themeColors()
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
);
|