@skeletonlabs/skeleton 0.80.9 → 0.92.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.
Files changed (122) hide show
  1. package/README.md +1 -1
  2. package/components/Accordion/AccordionGroup.svelte +1 -2
  3. package/components/Accordion/AccordionItem.svelte +6 -3
  4. package/components/Accordion/AccordionItem.svelte.d.ts +1 -0
  5. package/components/Alert/Alert.svelte +3 -3
  6. package/components/AppRail/AppRailTile.svelte +8 -6
  7. package/components/AppShell/AppShell.svelte +3 -3
  8. package/components/Breadcrumb/Crumb.svelte +3 -1
  9. package/components/Breadcrumb/Crumb.svelte.d.ts +5 -0
  10. package/components/ConicGradient/ConicGradient.svelte +2 -2
  11. package/components/ConicGradient/ConicGradient.svelte.d.ts +5 -0
  12. package/{tailwind/colors.d.ts → components/ConicGradient/settings.d.ts} +1 -1
  13. package/{tailwind/colors.js → components/ConicGradient/settings.js} +1 -1
  14. package/components/FileButton/FileButton.svelte +2 -2
  15. package/components/FileButton/FileButton.svelte.d.ts +3 -0
  16. package/components/FileDropzone/FileDropzone.svelte +5 -4
  17. package/components/FileDropzone/FileDropzone.svelte.d.ts +4 -0
  18. package/components/GradientHeading/GradientHeading.svelte +1 -1
  19. package/components/InputChip/InputChip.svelte +107 -0
  20. package/components/InputChip/InputChip.svelte.d.ts +29 -0
  21. package/components/ListBox/ListBoxItem.svelte +6 -5
  22. package/components/ListBox/ListBoxItem.svelte.d.ts +2 -0
  23. package/components/Paginator/Paginator.svelte +21 -9
  24. package/components/Paginator/Paginator.svelte.d.ts +5 -1
  25. package/components/ProgressBar/ProgressBar.svelte +6 -4
  26. package/components/ProgressBar/ProgressBar.svelte.d.ts +1 -0
  27. package/components/ProgressRadial/ProgressRadial.svelte +1 -1
  28. package/components/Radio/RadioGroup.svelte +2 -2
  29. package/components/Radio/RadioItem.svelte +3 -1
  30. package/components/Radio/RadioItem.svelte.d.ts +2 -0
  31. package/components/RangeSlider/RangeSlider.svelte +1 -1
  32. package/components/SlideToggle/SlideToggle.svelte +9 -6
  33. package/components/SlideToggle/SlideToggle.svelte.d.ts +4 -1
  34. package/components/Stepper/Step.svelte +52 -13
  35. package/components/Stepper/Step.svelte.d.ts +11 -3
  36. package/components/Stepper/Stepper.svelte +32 -10
  37. package/components/Stepper/Stepper.svelte.d.ts +8 -3
  38. package/components/SvgIcon/SvgIcon.svelte +1 -1
  39. package/components/SvgIcon/icons.js +2 -148
  40. package/components/Tab/Tab.svelte +16 -4
  41. package/components/Tab/Tab.svelte.d.ts +5 -0
  42. package/components/Table/Table.svelte +3 -3
  43. package/components/TableOfContents/TableOfContents.svelte +132 -0
  44. package/components/TableOfContents/TableOfContents.svelte.d.ts +32 -0
  45. package/index.d.ts +2 -0
  46. package/index.js +2 -0
  47. package/package.json +37 -29
  48. package/styles/all.css +0 -3
  49. package/styles/core.css +3 -0
  50. package/styles/elements/alerts.css +43 -0
  51. package/styles/elements/badges.css +12 -6
  52. package/styles/elements/breadcrumbs.css +27 -0
  53. package/styles/elements/buttons.css +34 -10
  54. package/styles/elements/cards.css +23 -4
  55. package/styles/elements/chips.css +58 -5
  56. package/styles/elements/lists.css +1 -1
  57. package/styles/elements/logo-clouds.css +1 -1
  58. package/styles/elements/menus.css +1 -1
  59. package/styles/elements/placeholders.css +1 -1
  60. package/styles/elements/tables.css +1 -1
  61. package/styles/elements/tooltips.css +1 -1
  62. package/styles/elements.css +2 -0
  63. package/styles/forms.css +59 -41
  64. package/styles/typography.css +6 -6
  65. package/tailwind/generated/allComponents.cjs +1 -0
  66. package/tailwind/generated/allComponents.d.cts +5552 -0
  67. package/tailwind/settings.cjs +20 -0
  68. package/tailwind/settings.d.cts +6 -0
  69. package/tailwind/skeleton.cjs +54 -0
  70. package/tailwind/skeleton.d.cts +5 -0
  71. package/tailwind/theme/colors.cjs +18 -0
  72. package/tailwind/theme/colors.d.cts +2 -0
  73. package/tailwind/tokens/backgrounds.cjs +40 -0
  74. package/tailwind/tokens/backgrounds.d.cts +2 -0
  75. package/tailwind/tokens/border-radius.cjs +21 -0
  76. package/tailwind/tokens/border-radius.d.cts +33 -0
  77. package/tailwind/tokens/borders.cjs +20 -0
  78. package/tailwind/tokens/borders.d.cts +6 -0
  79. package/tailwind/tokens/fills.cjs +20 -0
  80. package/tailwind/tokens/fills.d.cts +15 -0
  81. package/tailwind/tokens/rings.cjs +42 -0
  82. package/tailwind/tokens/rings.d.cts +17 -0
  83. package/tailwind/tokens/text.cjs +33 -0
  84. package/tailwind/tokens/text.d.cts +21 -0
  85. package/themes/theme-crimson.css +88 -64
  86. package/themes/theme-gold-nouveau.css +108 -115
  87. package/themes/theme-hamlindigo.css +97 -74
  88. package/themes/theme-modern.css +107 -64
  89. package/themes/theme-rocket.css +96 -63
  90. package/themes/theme-sahara.css +104 -65
  91. package/themes/theme-seafoam.css +100 -66
  92. package/themes/theme-seasonal.css +111 -65
  93. package/themes/theme-skeleton.css +99 -75
  94. package/themes/theme-vintage.css +102 -63
  95. package/utilities/CodeBlock/CodeBlock.svelte +6 -1
  96. package/utilities/CodeBlock/CodeBlock.svelte.d.ts +2 -0
  97. package/utilities/DataTable/DataTable.js +3 -1
  98. package/utilities/Drawer/Drawer.svelte +11 -10
  99. package/utilities/Drawer/Drawer.svelte.d.ts +1 -2
  100. package/utilities/Drawer/stores.d.ts +1 -1
  101. package/utilities/LightSwitch/LightSwitch.svelte +42 -14
  102. package/utilities/LightSwitch/LightSwitch.svelte.d.ts +5 -0
  103. package/utilities/LightSwitch/stores.d.ts +2 -3
  104. package/utilities/LocalStorageStore/LocalStorageStore.d.ts +3 -1
  105. package/utilities/LocalStorageStore/LocalStorageStore.js +9 -4
  106. package/utilities/Menu/menu.js +11 -7
  107. package/utilities/Modal/Modal.svelte +25 -12
  108. package/utilities/Modal/Modal.svelte.d.ts +2 -0
  109. package/utilities/Modal/types.d.ts +12 -2
  110. package/utilities/Toast/Toast.svelte +2 -2
  111. package/utilities/Toast/stores.js +17 -1
  112. package/utilities/Toast/types.d.ts +5 -0
  113. package/styles/tokens/backgrounds.css +0 -239
  114. package/styles/tokens/border-radius.css +0 -41
  115. package/styles/tokens/borders.css +0 -185
  116. package/styles/tokens/fills.css +0 -29
  117. package/styles/tokens/misc.css +0 -22
  118. package/styles/tokens/rings.css +0 -185
  119. package/styles/tokens/text.css +0 -216
  120. package/styles/tokens.css +0 -11
  121. package/tailwind/theme.cjs +0 -37
  122. package/tailwind/theme.d.cts +0 -5
@@ -0,0 +1,20 @@
1
+ // Common Shared Settings and Constants
2
+
3
+ module.exports = {
4
+ colorNames: ['primary', 'secondary', 'tertiary', 'success', 'warning', 'error', 'surface'],
5
+ colorShades: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
6
+ colorPairings: [
7
+ // forward:
8
+ { light: 50, dark: 900 },
9
+ { light: 100, dark: 800 },
10
+ { light: 200, dark: 700 },
11
+ { light: 300, dark: 600 },
12
+ { light: 400, dark: 500 },
13
+ // backwards
14
+ { light: 900, dark: 50 },
15
+ { light: 800, dark: 100 },
16
+ { light: 700, dark: 200 },
17
+ { light: 600, dark: 300 },
18
+ { light: 500, dark: 400 },
19
+ ],
20
+ };
@@ -0,0 +1,6 @@
1
+ export const colorNames: string[];
2
+ export const colorShades: number[];
3
+ export const colorPairings: {
4
+ light: number;
5
+ dark: number;
6
+ }[];
@@ -0,0 +1,54 @@
1
+ // The Skeleton Tailwind Plugin
2
+ // Tailwind Docs: https://tailwindcss.com/docs/plugins
3
+ // Skeleton Docs: https://www.skeleton.dev/guides/tailwind
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, addComponents }) => {
19
+ addUtilities({
20
+ // Implement Skeleton design token classes
21
+ ...tokensBackgrounds(),
22
+ ...tokensBorders(),
23
+ ...tokensBorderRadius(),
24
+ ...tokensFills(),
25
+ ...tokensText(),
26
+ ...tokensRings()
27
+ });
28
+ // The following will generate the non-token classes PURELY for Intellisense.
29
+ // These are excluded from production, which means we still need to lean into
30
+ // using the `all.css` stylesheet to import non-token styles.
31
+ if (process.env.NODE_ENV !== 'production') {
32
+ // try/catch because it will throw when allComponents.cjs isn't generated yet
33
+ try {
34
+ const all = require('./generated/allComponents.cjs');
35
+ // Tokens are already loaded as utilities so we'll delete them to prevent duplicate rules
36
+ for (const [key, _] of Object.entries(all)) {
37
+ if (key.includes('token')) delete all[key];
38
+ }
39
+ addComponents(all, {
40
+ respectImportant: true,
41
+ respectPrefix: true
42
+ });
43
+ } catch { }
44
+ }
45
+ },
46
+ {
47
+ theme: {
48
+ extend: {
49
+ // Implement Skeleton theme colors
50
+ colors: themeColors()
51
+ }
52
+ }
53
+ }
54
+ );
@@ -0,0 +1,5 @@
1
+ declare const _exports: {
2
+ handler: import("tailwindcss/types/config.js").PluginCreator;
3
+ config?: Partial<import("tailwindcss/types/config.js").Config> | undefined;
4
+ };
5
+ export = _exports;
@@ -0,0 +1,18 @@
1
+ // Extends Tailwind with Skeleton theme-specific colors values
2
+ // Doc: https://tailwindcss.com/docs/customizing-colors#using-css-variables
3
+
4
+ const settings = require('../settings.cjs');
5
+
6
+ // ex: `50: 'rgb(var(--color-primary-50) / <alpha-value>)'`
7
+ function generatePaletteShades(colorName) {
8
+ const shadeObj = {};
9
+ settings.colorShades.forEach(s => shadeObj[s] = `rgb(var(--color-${colorName}-${s}) / <alpha-value>)`);
10
+ return shadeObj;
11
+ }
12
+
13
+ // Generate a a color shade palette 50-900 per each color available
14
+ module.exports = () => {
15
+ const paletteObj = {};
16
+ settings.colorNames.forEach(n => paletteObj[n] = generatePaletteShades(n));
17
+ return paletteObj;
18
+ }
@@ -0,0 +1,2 @@
1
+ declare function _exports(): {};
2
+ export = _exports;
@@ -0,0 +1,40 @@
1
+ // Design Tokens: Background
2
+ // Doc: https://www.skeleton.dev/elements/tokens
3
+
4
+ const settings = require('../settings.cjs');
5
+
6
+ // Defaults
7
+ const backdropAlpha = 0.7;
8
+ const hoverAlpha = 0.1;
9
+
10
+ module.exports = () => {
11
+ const classes = {};
12
+ settings.colorNames.forEach(n => {
13
+
14
+ // Backdrops
15
+ // Example: .bg-primary-backdrop-token
16
+ classes[`.bg-${n}-backdrop-token`] = { 'background-color': `rgb(var(--color-${n}-400) / ${backdropAlpha})` };
17
+ classes[`.dark .bg-${n}-backdrop-token`] = { 'background-color': `rgb(var(--color-${n}-900) / ${backdropAlpha})` };
18
+
19
+ // Hover
20
+ // Example: .bg-primary-hover-token
21
+ classes[`.bg-${n}-hover-token:hover`] = { 'background-color': `rgb(var(--color-${n}-500) / ${hoverAlpha})` };
22
+
23
+ // Active
24
+ // Example: .bg-primary-active-token
25
+ classes[`.bg-${n}-active-token`] = {
26
+ 'background-color': `rgb(var(--color-${n}-500)) !important`,
27
+ 'color': `rgb(var(--on-${n}))`,
28
+ 'fill': `rgb(var(--on-${n}))`,
29
+ };
30
+
31
+ // Color Pairings
32
+ // Example: .bg-primary-50-900-token | .bg-primary-900-50-token
33
+ settings.colorPairings.forEach(p => {
34
+ classes[`.bg-${n}-${p.light}-${p.dark}-token`] = { 'background-color': `rgb(var(--color-${n}-${p.light}))` };
35
+ classes[`.dark .bg-${n}-${p.light}-${p.dark}-token`] = { 'background-color': `rgb(var(--color-${n}-${p.dark}))` };
36
+ });
37
+
38
+ });
39
+ return classes;
40
+ }
@@ -0,0 +1,2 @@
1
+ declare function _exports(): {};
2
+ export = _exports;
@@ -0,0 +1,21 @@
1
+ // Design Tokens: Border Radius
2
+ // Doc: https://www.skeleton.dev/elements/tokens
3
+
4
+ // const settings = require('../settings.cjs');
5
+
6
+ module.exports = () => {
7
+ return {
8
+ // Base
9
+ '.rounded-token': { 'border-radius': 'var(--theme-rounded-base)' },
10
+ '.rounded-tl-token': { 'border-top-left-radius': 'var(--theme-rounded-base)' },
11
+ '.rounded-tr-token': { 'border-top-right-radius': 'var(--theme-rounded-base)' },
12
+ '.rounded-bl-token': { 'border-bottom-left-radius': 'var(--theme-rounded-base)' },
13
+ '.rounded-br-token': { 'border-bottom-right-radius': 'var(--theme-rounded-base)' },
14
+ // Container
15
+ '.rounded-container-token': { 'border-radius': 'var(--theme-rounded-container)' },
16
+ '.rounded-tl-container-token': { 'border-top-left-radius': 'var(--theme-rounded-container)' },
17
+ '.rounded-tr-container-token': { 'border-top-right-radius': 'var(--theme-rounded-container)' },
18
+ '.rounded-bl-container-token': { 'border-bottom-left-radius': 'var(--theme-rounded-container)' },
19
+ '.rounded-br-container-token': { 'border-bottom-right-radius': 'var(--theme-rounded-container)' },
20
+ };
21
+ }
@@ -0,0 +1,33 @@
1
+ declare function _exports(): {
2
+ '.rounded-token': {
3
+ 'border-radius': string;
4
+ };
5
+ '.rounded-tl-token': {
6
+ 'border-top-left-radius': string;
7
+ };
8
+ '.rounded-tr-token': {
9
+ 'border-top-right-radius': string;
10
+ };
11
+ '.rounded-bl-token': {
12
+ 'border-bottom-left-radius': string;
13
+ };
14
+ '.rounded-br-token': {
15
+ 'border-bottom-right-radius': string;
16
+ };
17
+ '.rounded-container-token': {
18
+ 'border-radius': string;
19
+ };
20
+ '.rounded-tl-container-token': {
21
+ 'border-top-left-radius': string;
22
+ };
23
+ '.rounded-tr-container-token': {
24
+ 'border-top-right-radius': string;
25
+ };
26
+ '.rounded-bl-container-token': {
27
+ 'border-bottom-left-radius': string;
28
+ };
29
+ '.rounded-br-container-token': {
30
+ 'border-bottom-right-radius': string;
31
+ };
32
+ };
33
+ export = _exports;
@@ -0,0 +1,20 @@
1
+ // Design Tokens: Borders
2
+ // Doc: https://www.skeleton.dev/elements/tokens
3
+
4
+ const settings = require('../settings.cjs');
5
+
6
+ module.exports = () => {
7
+ const classes = {
8
+ // Border Width - ex: .border-token
9
+ '.border-token': { 'border-width': 'var(--theme-border-base)' }
10
+ };
11
+ settings.colorNames.forEach(n => {
12
+ // Color Pairings
13
+ // Example: .border-primary-50-900-token | .border-primary-900-50-token
14
+ settings.colorPairings.forEach(p => {
15
+ classes[`.border-${n}-${p.light}-${p.dark}-token`] = { 'border-color': `rgb(var(--color-${n}-${p.light}))` };
16
+ classes[`.dark .border-${n}-${p.light}-${p.dark}-token`] = { 'border-color': `rgb(var(--color-${n}-${p.dark}))` };
17
+ });
18
+ });
19
+ return classes;
20
+ }
@@ -0,0 +1,6 @@
1
+ declare function _exports(): {
2
+ '.border-token': {
3
+ 'border-width': string;
4
+ };
5
+ };
6
+ export = _exports;
@@ -0,0 +1,20 @@
1
+ // Design Tokens: SVG Fill
2
+ // Doc: https://www.skeleton.dev/elements/tokens
3
+
4
+ const settings = require('../settings.cjs');
5
+
6
+ module.exports = () => {
7
+ const classes = {
8
+ '.fill-base-token': { 'fill': 'rgba(var(--theme-font-color-base))' },
9
+ '.fill-dark-token': { 'fill': 'rgba(var(--theme-font-color-dark))' },
10
+ // Fill Token - ex: .fill-token
11
+ '.fill-token': { 'fill': 'rgba(var(--theme-font-color-base))' },
12
+ '.dark .fill-token': { 'fill': 'rgba(var(--theme-font-color-dark))' },
13
+ };
14
+ settings.colorNames.forEach(n => {
15
+ // On-X Fill Colors
16
+ // Example: .fill-on-primary-token
17
+ classes[`.fill-on-${n}-token`] = { 'fill': `rgb(var(--on-${n}))` };
18
+ });
19
+ return classes;
20
+ }
@@ -0,0 +1,15 @@
1
+ declare function _exports(): {
2
+ '.fill-base-token': {
3
+ fill: string;
4
+ };
5
+ '.fill-dark-token': {
6
+ fill: string;
7
+ };
8
+ '.fill-token': {
9
+ fill: string;
10
+ };
11
+ '.dark .fill-token': {
12
+ fill: string;
13
+ };
14
+ };
15
+ export = _exports;
@@ -0,0 +1,42 @@
1
+ // Design Tokens: Rings
2
+ // Doc: https://www.skeleton.dev/elements/tokens
3
+
4
+ const settings = require('../settings.cjs');
5
+
6
+ // Local
7
+ const ringOutlineShared = {
8
+ // .ring-[1px]
9
+ '--tw-ring-offset-shadow': 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
10
+ '--tw-ring-shadow': 'var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
11
+ 'box-shadow': 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
12
+ // .ring-inset
13
+ '--tw-ring-inset': 'inset'
14
+ };
15
+
16
+ module.exports = () => {
17
+ const classes = {
18
+ // Ring Outline (for cards)
19
+ // Example: .ring-outline-token
20
+ '.ring-outline-token': {
21
+ ...ringOutlineShared,
22
+ '--tw-ring-color': 'rgb(23 23 23 / 0.05);', // neutral-900, 5% opacity
23
+ },
24
+ '.dark .ring-outline-token': {
25
+ ...ringOutlineShared,
26
+ '--tw-ring-color': 'rgb(250 250 250 / 0.05)', // neutral-50, 5% opacity
27
+ }
28
+ };
29
+ settings.colorNames.forEach(n => {
30
+ // Color Pairings
31
+ // Example: .ring-primary-50-900-token | .ring-primary-900-50-token
32
+ settings.colorPairings.forEach(p => {
33
+ classes[`.ring-${n}-${p.light}-${p.dark}-token`] = {
34
+ '--tw-ring-color': `rgb(var(--color-${n}-${p.light}) / 1)`
35
+ };
36
+ classes[`.dark .ring-${n}-${p.light}-${p.dark}-token`] = {
37
+ '--tw-ring-color': `rgb(var(--color-${n}-${p.dark}) / 1)`
38
+ };
39
+ });
40
+ });
41
+ return classes;
42
+ }
@@ -0,0 +1,17 @@
1
+ declare function _exports(): {
2
+ '.ring-outline-token': {
3
+ '--tw-ring-color': string;
4
+ '--tw-ring-offset-shadow': string;
5
+ '--tw-ring-shadow': string;
6
+ 'box-shadow': string;
7
+ '--tw-ring-inset': string;
8
+ };
9
+ '.dark .ring-outline-token': {
10
+ '--tw-ring-color': string;
11
+ '--tw-ring-offset-shadow': string;
12
+ '--tw-ring-shadow': string;
13
+ 'box-shadow': string;
14
+ '--tw-ring-inset': string;
15
+ };
16
+ };
17
+ export = _exports;
@@ -0,0 +1,33 @@
1
+ // Design Tokens: Text
2
+ // Doc: https://www.skeleton.dev/elements/tokens
3
+
4
+ const settings = require('../settings.cjs');
5
+
6
+ module.exports = () => {
7
+ const classes = {
8
+ // Font Family
9
+ '.font-heading-token': { 'font-family': 'var(--theme-font-family-heading)' },
10
+ '.font-token': { 'font-family': 'var(--theme-font-family-base)' },
11
+ // Default Text Colors
12
+ '.text-base-token': { 'color': 'rgba(var(--theme-font-color-base))' },
13
+ '.text-dark-token': { 'color': 'rgba(var(--theme-font-color-dark))' },
14
+ // Light/Dark Text Color - ex: .text-token
15
+ '.text-token': { 'color': 'rgba(var(--theme-font-color-base))' },
16
+ '.dark .text-token': { 'color': 'rgba(var(--theme-font-color-dark))' },
17
+ };
18
+ settings.colorNames.forEach(n => {
19
+
20
+ // On-X Text Colors
21
+ // Example: .text-on-primary-token
22
+ classes[`.text-on-${n}-token`] = { 'color': `rgb(var(--on-${n}))` };
23
+
24
+ // Color Pairings
25
+ // Example: .text-primary-50-900-token | .text-primary-900-50-token
26
+ settings.colorPairings.forEach(p => {
27
+ classes[`.text-${n}-${p.light}-${p.dark}-token`] = { 'color': `rgb(var(--color-${n}-${p.light}))` };
28
+ classes[`.dark .text-${n}-${p.light}-${p.dark}-token`] = { 'color': `rgb(var(--color-${n}-${p.dark}))` };
29
+ });
30
+
31
+ });
32
+ return classes;
33
+ }
@@ -0,0 +1,21 @@
1
+ declare function _exports(): {
2
+ '.font-heading-token': {
3
+ 'font-family': string;
4
+ };
5
+ '.font-token': {
6
+ 'font-family': string;
7
+ };
8
+ '.text-base-token': {
9
+ color: string;
10
+ };
11
+ '.text-dark-token': {
12
+ color: string;
13
+ };
14
+ '.text-token': {
15
+ color: string;
16
+ };
17
+ '.dark .text-token': {
18
+ color: string;
19
+ };
20
+ };
21
+ export = _exports;
@@ -3,74 +3,98 @@
3
3
 
4
4
  :root {
5
5
  /* =~= Theme Styles =~= */
6
- --theme-border-base: 1px;
7
- --theme-font-family-heading: system-ui;
8
6
  --theme-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
9
7
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
8
+ --theme-font-family-heading: system-ui;
10
9
  --theme-font-color-base: var(--color-surface-900);
11
10
  --theme-font-color-dark: var(--color-surface-50);
12
11
  --theme-rounded-base: 24px;
13
12
  --theme-rounded-container: 24px;
14
- /* On Colors */
15
- --on-primary: #fff;
16
- --on-accent: #fff;
17
- --on-tertiary: #000;
18
- --on-warning: #fff;
19
- --on-surface: #fff;
20
- /* =~= Theme Colors | Hex =~= */
21
- /* primary | #d4161d */
22
- --color-primary-50: 254 246 246; /* ⬅ #fef6f6 */
23
- --color-primary-100: 253 232 233; /* ⬅ #fde8e9 */
24
- --color-primary-200: 250 209 210; /* ⬅ #fad1d2 */
25
- --color-primary-300: 246 172 174; /* ⬅ #f6acae */
26
- --color-primary-400: 238 89 94; /* ⬅ #ee595e */
27
- --color-primary-500: 212 22 29; /* ⬅ #d4161d */
28
- --color-primary-600: 152 16 21; /* ⬅ #981015 */
29
- --color-primary-700: 111 12 15; /* ⬅ #6f0c0f */
30
- --color-primary-800: 65 7 9; /* ⬅ #410709 */
31
- --color-primary-900: 32 3 4; /* ⬅ #200304 */
32
- /* accent | #3881b2 */
33
- --color-accent-50: 247 250 253; /* ⬅ #f7fafd */
34
- --color-accent-100: 236 244 249; /* ⬅ #ecf4f9 */
35
- --color-accent-200: 216 232 243; /* ⬅ #d8e8f3 */
36
- --color-accent-300: 185 214 233; /* ⬅ #b9d6e9 */
37
- --color-accent-400: 115 173 211; /* ⬅ #73add3 */
38
- --color-accent-500: 56 129 178; /* ⬅ #3881b2 */
39
- --color-accent-600: 40 93 128; /* ⬅ #285d80 */
40
- --color-accent-700: 29 68 93; /* ⬅ #1d445d */
41
- --color-accent-800: 17 39 54; /* ⬅ #112736 */
42
- --color-accent-900: 9 20 27; /* ⬅ #09141b */
43
- /* ternary | #956056 */
44
- --color-ternary-50: 251 249 249; /* ⬅ #fbf9f9 */
45
- --color-ternary-100: 246 240 239; /* ⬅ #f6f0ef */
46
- --color-ternary-200: 236 225 223; /* ⬅ #ece1df */
47
- --color-ternary-300: 221 201 197; /* ⬅ #ddc9c5 */
48
- --color-ternary-400: 188 147 138; /* ⬅ #bc938a */
49
- --color-ternary-500: 149 96 86; /* ⬅ #956056 */
50
- --color-ternary-600: 107 69 61; /* ⬅ #6b453d */
51
- --color-ternary-700: 78 50 45; /* ⬅ #4e322d */
52
- --color-ternary-800: 45 29 26; /* ⬅ #2d1d1a */
53
- --color-ternary-900: 23 15 13; /* ⬅ #170f0d */
54
- /* warning | #d4161d */
55
- --color-warning-50: 254 246 246; /* ⬅ #fef6f6 */
56
- --color-warning-100: 253 232 233; /* ⬅ #fde8e9 */
57
- --color-warning-200: 250 209 210; /* ⬅ #fad1d2 */
58
- --color-warning-300: 246 172 174; /* ⬅ #f6acae */
59
- --color-warning-400: 238 89 94; /* ⬅ #ee595e */
60
- --color-warning-500: 212 22 29; /* ⬅ #d4161d */
61
- --color-warning-600: 152 16 21; /* ⬅ #981015 */
62
- --color-warning-700: 111 12 15; /* ⬅ #6f0c0f */
63
- --color-warning-800: 65 7 9; /* ⬅ #410709 */
64
- --color-warning-900: 32 3 4; /* ⬅ #200304 */
65
- /* surface | #656a86 */
66
- --color-surface-50: 249 249 251; /* ⬅ #f9f9fb */
67
- --color-surface-100: 240 241 244; /* ⬅ #f0f1f4 */
68
- --color-surface-200: 226 227 233; /* ⬅ #e2e3e9 */
69
- --color-surface-300: 203 205 216; /* ⬅ #cbcdd8 */
70
- --color-surface-400: 150 155 176; /* ⬅ #969bb0 */
71
- --color-surface-500: 101 106 134; /* ⬅ #656a86 */
72
- --color-surface-600: 72 76 96; /* ⬅ #484c60 */
73
- --color-surface-700: 53 55 70; /* ⬅ #353746 */
74
- --color-surface-800: 31 32 41; /* ⬅ #1f2029 */
75
- --color-surface-900: 15 16 20; /* ⬅ #0f1014 */
13
+ --theme-border-base: 1px;
14
+ /* =~= Theme On-X Colors =~= */
15
+ --on-primary: 255 255 255;
16
+ --on-secondary: 255 255 255;
17
+ --on-tertiary: 0 0 0;
18
+ --on-success: 0 0 0;
19
+ --on-warning: 0 0 0;
20
+ --on-error: 0 0 0;
21
+ --on-surface: 255 255 255;
22
+ /* =~= Theme Colors =~= */
23
+ /* primary | #d4163c */
24
+ --color-primary-50: 249 220 226; /* ⬅ #f9dce2 */
25
+ --color-primary-100: 246 208 216; /* ⬅ #f6d0d8 */
26
+ --color-primary-200: 244 197 206; /* ⬅ #f4c5ce */
27
+ --color-primary-300: 238 162 177; /* ⬅ #eea2b1 */
28
+ --color-primary-400: 225 92 119; /* ⬅ #e15c77 */
29
+ --color-primary-500: 212 22 60; /* ⬅ #d4163c */
30
+ --color-primary-600: 191 20 54; /* ⬅ #bf1436 */
31
+ --color-primary-700: 159 17 45; /* ⬅ #9f112d */
32
+ --color-primary-800: 127 13 36; /* ⬅ #7f0d24 */
33
+ --color-primary-900: 104 11 29; /* ⬅ #680b1d */
34
+ /* secondary | #4685af */
35
+ --color-secondary-50: 227 237 243; /* ⬅ #e3edf3 */
36
+ --color-secondary-100: 218 231 239; /* ⬅ #dae7ef */
37
+ --color-secondary-200: 209 225 235; /* ⬅ #d1e1eb */
38
+ --color-secondary-300: 181 206 223; /* ⬅ #b5cedf */
39
+ --color-secondary-400: 126 170 199; /* ⬅ #7eaac7 */
40
+ --color-secondary-500: 70 133 175; /* ⬅ #4685af */
41
+ --color-secondary-600: 63 120 158; /* ⬅ #3f789e */
42
+ --color-secondary-700: 53 100 131; /* ⬅ #356483 */
43
+ --color-secondary-800: 42 80 105; /* ⬅ #2a5069 */
44
+ --color-secondary-900: 34 65 86; /* ⬅ #224156 */
45
+ /* tertiary | #c0b6b4 */
46
+ --color-tertiary-50: 246 244 244; /* ⬅ #f6f4f4 */
47
+ --color-tertiary-100: 242 240 240; /* ⬅ #f2f0f0 */
48
+ --color-tertiary-200: 239 237 236; /* ⬅ #efedec */
49
+ --color-tertiary-300: 230 226 225; /* ⬅ #e6e2e1 */
50
+ --color-tertiary-400: 211 204 203; /* ⬅ #d3cccb */
51
+ --color-tertiary-500: 192 182 180; /* ⬅ #c0b6b4 */
52
+ --color-tertiary-600: 173 164 162; /* ⬅ #ada4a2 */
53
+ --color-tertiary-700: 144 137 135; /* ⬅ #908987 */
54
+ --color-tertiary-800: 115 109 108; /* ⬅ #736d6c */
55
+ --color-tertiary-900: 94 89 88; /* ⬅ #5e5958 */
56
+ /* success | #c1dd97 */
57
+ --color-success-50: 246 250 239; /* ⬅ #f6faef */
58
+ --color-success-100: 243 248 234; /* ⬅ #f3f8ea */
59
+ --color-success-200: 240 247 229; /* ⬅ #f0f7e5 */
60
+ --color-success-300: 230 241 213; /* ⬅ #e6f1d5 */
61
+ --color-success-400: 212 231 182; /* ⬅ #d4e7b6 */
62
+ --color-success-500: 193 221 151; /* ⬅ #c1dd97 */
63
+ --color-success-600: 174 199 136; /* ⬅ #aec788 */
64
+ --color-success-700: 145 166 113; /* ⬅ #91a671 */
65
+ --color-success-800: 116 133 91; /* ⬅ #74855b */
66
+ --color-success-900: 95 108 74; /* ⬅ #5f6c4a */
67
+ /* warning | #e4c25e */
68
+ --color-warning-50: 251 246 231; /* ⬅ #fbf6e7 */
69
+ --color-warning-100: 250 243 223; /* ⬅ #faf3df */
70
+ --color-warning-200: 248 240 215; /* ⬅ #f8f0d7 */
71
+ --color-warning-300: 244 231 191; /* ⬅ #f4e7bf */
72
+ --color-warning-400: 236 212 142; /* ⬅ #ecd48e */
73
+ --color-warning-500: 228 194 94; /* ⬅ #e4c25e */
74
+ --color-warning-600: 205 175 85; /* ⬅ #cdaf55 */
75
+ --color-warning-700: 171 146 71; /* ⬅ #ab9247 */
76
+ --color-warning-800: 137 116 56; /* ⬅ #897438 */
77
+ --color-warning-900: 112 95 46; /* ⬅ #705f2e */
78
+ /* error | #d27f81 */
79
+ --color-error-50: 248 236 236; /* ⬅ #f8ecec */
80
+ --color-error-100: 246 229 230; /* ⬅ #f6e5e6 */
81
+ --color-error-200: 244 223 224; /* ⬅ #f4dfe0 */
82
+ --color-error-300: 237 204 205; /* ⬅ #edcccd */
83
+ --color-error-400: 224 165 167; /* ⬅ #e0a5a7 */
84
+ --color-error-500: 210 127 129; /* ⬅ #d27f81 */
85
+ --color-error-600: 189 114 116; /* ⬅ #bd7274 */
86
+ --color-error-700: 158 95 97; /* ⬅ #9e5f61 */
87
+ --color-error-800: 126 76 77; /* ⬅ #7e4c4d */
88
+ --color-error-900: 103 62 63; /* ⬅ #673e3f */
89
+ /* surface | #2b2e40 */
90
+ --color-surface-50: 223 224 226; /* ⬅ #dfe0e2 */
91
+ --color-surface-100: 213 213 217; /* ⬅ #d5d5d9 */
92
+ --color-surface-200: 202 203 207; /* ⬅ #cacbcf */
93
+ --color-surface-300: 170 171 179; /* ⬅ #aaabb3 */
94
+ --color-surface-400: 107 109 121; /* ⬅ #6b6d79 */
95
+ --color-surface-500: 43 46 64; /* ⬅ #2b2e40 */
96
+ --color-surface-600: 39 41 58; /* ⬅ #27293a */
97
+ --color-surface-700: 32 35 48; /* ⬅ #202330 */
98
+ --color-surface-800: 26 28 38; /* ⬅ #1a1c26 */
99
+ --color-surface-900: 21 23 31; /* ⬅ #15171f */
76
100
  }