@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
@@ -4,23 +4,25 @@
4
4
  /* https://fonts.google.com/specimen/Quicksand?query=Quicksand */
5
5
  @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
6
6
 
7
+ /* =~= Gold Nouveau =~= */
7
8
  :root {
8
- /* =~= Gold Nouveau | Custom =~= */
9
- /* =~= Theme Styles =~= */
10
- --theme-border-base: 1px;
11
- --theme-font-family-heading: 'Quicksand', sans-serif;
9
+ /* =~= Theme Properties =~= */
12
10
  --theme-font-family-base: system-ui, sans-serif;
11
+ --theme-font-family-heading: 'Quicksand', sans-serif;
13
12
  --theme-font-color-base: var(--color-surface-900);
14
13
  --theme-font-color-dark: var(--color-surface-50);
15
14
  --theme-rounded-base: 4px;
16
15
  --theme-rounded-container: 4px;
17
- /* On Colors */
18
- --on-primary: #fff;
19
- --on-accent: #000;
20
- --on-tertiary: #000;
21
- --on-warning: #fff;
22
- --on-surface: #fff;
23
- /* =~= Theme Colors | Hex =~= */
16
+ --theme-border-base: 1px;
17
+ /* =~= Theme On-X Colors =~= */
18
+ --on-primary: 255 255 255;
19
+ --on-secondary: 255 255 255;
20
+ --on-tertiary: 255 255 255;
21
+ --on-success: 0 0 0;
22
+ --on-warning: 0 0 0;
23
+ --on-error: 255 255 255;
24
+ --on-surface: 255 255 255;
25
+ /* =~= Theme Colors =~= */
24
26
  /* primary | #744aa1 */
25
27
  --color-primary-50: 250 248 252; /* ⬅ #faf8fc */
26
28
  --color-primary-100: 242 238 247; /* ⬅ #f2eef7 */
@@ -32,104 +34,61 @@
32
34
  --color-primary-700: 60 39 84; /* ⬅ #3c2754 */
33
35
  --color-primary-800: 35 22 49; /* ⬅ #231631 */
34
36
  --color-primary-900: 18 11 24; /* ⬅ #120b18 */
35
- /* accent | #e7c504 */
36
- --color-accent-50: 255 253 245; /* ⬅ #fffdf5 */
37
- --color-accent-100: 255 251 230; /* ⬅ #fffbe6 */
38
- --color-accent-200: 254 247 205; /* ⬅ #fef7cd */
39
- --color-accent-300: 254 240 165; /* ⬅ #fef0a5 */
40
- --color-accent-400: 252 226 74; /* ⬅ #fce24a */
41
- --color-accent-500: 231 197 4; /* ⬅ #e7c504 */
42
- --color-accent-600: 166 141 3; /* ⬅ #a68d03 */
43
- --color-accent-700: 121 103 2; /* ⬅ #796702 */
44
- --color-accent-800: 70 60 1; /* ⬅ #463c01 */
45
- --color-accent-900: 35 30 1; /* ⬅ #231e01 */
46
- /* ternary | #3e7bac */
47
- --color-ternary-50: 248 250 252; /* ⬅ #f8fafc */
48
- --color-ternary-100: 236 243 248; /* ⬅ #ecf3f8 */
49
- --color-ternary-200: 218 231 241; /* ⬅ #dae7f1 */
50
- --color-ternary-300: 188 211 231; /* ⬅ #bcd3e7 */
51
- --color-ternary-400: 120 168 206; /* ⬅ #78a8ce */
52
- --color-ternary-500: 62 123 172; /* ⬅ #3e7bac */
53
- --color-ternary-600: 45 88 124; /* ⬅ #2d587c */
54
- --color-ternary-700: 32 64 90; /* ⬅ #20405a */
55
- --color-ternary-800: 19 37 52; /* ⬅ #132534 */
56
- --color-ternary-900: 9 19 26; /* ⬅ #09131a */
57
- /* warning | #de0d30 */
58
- --color-warning-50: 254 245 247; /* ⬅ #fef5f7 */
59
- --color-warning-100: 254 231 235; /* ⬅ #fee7eb */
60
- --color-warning-200: 252 207 214; /* ⬅ #fccfd6 */
61
- --color-warning-300: 250 168 182; /* ⬅ #faa8b6 */
62
- --color-warning-400: 245 81 109; /* ⬅ #f5516d */
63
- --color-warning-500: 222 13 48; /* ⬅ #de0d30 */
64
- --color-warning-600: 159 9 34; /* ⬅ #9f0922 */
65
- --color-warning-700: 116 7 25; /* ⬅ #740719 */
66
- --color-warning-800: 67 4 15; /* ⬅ #43040f */
67
- --color-warning-900: 34 2 7; /* ⬅ #220207 */
68
- /* surface | #6b7280 */
69
- --color-surface-50: 249 250 250; /* ⬅ #f9fafa */
70
- --color-surface-100: 241 242 243; /* ⬅ #f1f2f3 */
71
- --color-surface-200: 227 229 232; /* ⬅ #e3e5e8 */
72
- --color-surface-300: 205 208 213; /* ⬅ #cdd0d5 */
73
- --color-surface-400: 155 160 171; /* ⬅ #9ba0ab */
74
- --color-surface-500: 107 114 128; /* ⬅ #6b7280 */
75
- --color-surface-600: 77 82 92; /* ⬅ #4d525c */
76
- --color-surface-700: 56 59 67; /* ⬅ #383b43 */
77
- --color-surface-800: 32 35 39; /* ⬅ #202327 */
78
- --color-surface-900: 16 17 19; /* ⬅ #101113 */
79
- }
80
-
81
- /* Dark Mode Overrides */
82
- .dark body {
83
- /* On Colors */
84
- --on-primary: #000;
85
- --on-accent: #fff;
86
- --on-tertiary: #000;
87
- --on-warning: #fff;
88
- --on-surface: #fff;
89
- /* primary | #e7c504 */
90
- --color-primary-50: 255 253 245; /* ⬅ #fffdf5 */
91
- --color-primary-100: 255 251 230; /* ⬅ #fffbe6 */
92
- --color-primary-200: 254 247 205; /* ⬅ #fef7cd */
93
- --color-primary-300: 254 240 165; /* ⬅ #fef0a5 */
94
- --color-primary-400: 252 226 74; /* ⬅ #fce24a */
95
- --color-primary-500: 231 197 4; /* ⬅ #e7c504 */
96
- --color-primary-600: 166 141 3; /* ⬅ #a68d03 */
97
- --color-primary-700: 121 103 2; /* ⬅ #796702 */
98
- --color-primary-800: 70 60 1; /* ⬅ #463c01 */
99
- --color-primary-900: 35 30 1; /* ⬅ #231e01 */
100
- /* accent | #0697e5 */
101
- --color-accent-50: 245 251 255; /* ⬅ #f5fbff */
102
- --color-accent-100: 230 246 254; /* ⬅ #e6f6fe */
103
- --color-accent-200: 205 237 254; /* ⬅ #cdedfe */
104
- --color-accent-300: 165 222 253; /* ⬅ #a5defd */
105
- --color-accent-400: 76 189 250; /* ⬅ #4cbdfa */
106
- --color-accent-500: 6 151 229; /* ⬅ #0697e5 */
107
- --color-accent-600: 4 108 164; /* ⬅ #046ca4 */
108
- --color-accent-700: 3 79 119; /* ⬅ #034f77 */
109
- --color-accent-800: 2 46 70; /* ⬅ #022e46 */
110
- --color-accent-900: 1 23 35; /* ⬅ #011723 */
111
- /* ternary | #cc1e8a */
112
- --color-ternary-50: 254 246 251; /* ⬅ #fef6fb */
113
- --color-ternary-100: 252 233 244; /* ⬅ #fce9f4 */
114
- --color-ternary-200: 248 211 234; /* ⬅ #f8d3ea */
115
- --color-ternary-300: 243 175 217; /* ⬅ #f3afd9 */
116
- --color-ternary-400: 231 95 179; /* ⬅ #e75fb3 */
117
- --color-ternary-500: 204 30 138; /* ⬅ #cc1e8a */
118
- --color-ternary-600: 146 22 99; /* ⬅ #921663 */
119
- --color-ternary-700: 106 16 72; /* ⬅ #6a1048 */
120
- --color-ternary-800: 62 9 42; /* ⬅ #3e092a */
121
- --color-ternary-900: 31 5 21; /* ⬅ #1f0515 */
122
- /* warning | #d41629 */
123
- --color-warning-50: 254 246 247; /* ⬅ #fef6f7 */
124
- --color-warning-100: 253 232 234; /* ⬅ #fde8ea */
125
- --color-warning-200: 250 209 213; /* ⬅ #fad1d5 */
126
- --color-warning-300: 246 172 179; /* ⬅ #f6acb3 */
127
- --color-warning-400: 238 89 104; /* ⬅ #ee5968 */
128
- --color-warning-500: 212 22 41; /* ⬅ #d41629 */
129
- --color-warning-600: 152 16 30; /* ⬅ #98101e */
130
- --color-warning-700: 111 12 22; /* ⬅ #6f0c16 */
131
- --color-warning-800: 65 7 13; /* ⬅ #41070d */
132
- --color-warning-900: 32 3 6; /* ⬅ #200306 */
37
+ /* secondary | #0672e5 */
38
+ --color-secondary-50: 218 234 251; /* ⬅ #daeafb */
39
+ --color-secondary-100: 205 227 250; /* ⬅ #cde3fa */
40
+ --color-secondary-200: 193 220 249; /* ⬅ #c1dcf9 */
41
+ --color-secondary-300: 155 199 245; /* ⬅ #9bc7f5 */
42
+ --color-secondary-400: 81 156 237; /* ⬅ #519ced */
43
+ --color-secondary-500: 6 114 229; /* ⬅ #0672e5 */
44
+ --color-secondary-600: 5 103 206; /* ⬅ #0567ce */
45
+ --color-secondary-700: 5 86 172; /* ⬅ #0556ac */
46
+ --color-secondary-800: 4 68 137; /* ⬅ #044489 */
47
+ --color-secondary-900: 3 56 112; /* ⬅ #033870 */
48
+ /* tertiary | #7f78dd */
49
+ --color-tertiary-50: 236 235 250; /* ⬅ #ecebfa */
50
+ --color-tertiary-100: 229 228 248; /* ⬅ #e5e4f8 */
51
+ --color-tertiary-200: 223 221 247; /* ⬅ #dfddf7 */
52
+ --color-tertiary-300: 204 201 241; /* ⬅ #ccc9f1 */
53
+ --color-tertiary-400: 165 161 231; /* ⬅ #a5a1e7 */
54
+ --color-tertiary-500: 127 120 221; /* ⬅ #7f78dd */
55
+ --color-tertiary-600: 114 108 199; /* ⬅ #726cc7 */
56
+ --color-tertiary-700: 95 90 166; /* ⬅ #5f5aa6 */
57
+ --color-tertiary-800: 76 72 133; /* ⬅ #4c4885 */
58
+ --color-tertiary-900: 62 59 108; /* ⬅ #3e3b6c */
59
+ /* success | #72c585 */
60
+ --color-success-50: 234 246 237; /* ⬅ #eaf6ed */
61
+ --color-success-100: 227 243 231; /* ⬅ #e3f3e7 */
62
+ --color-success-200: 220 241 225; /* ⬅ #dcf1e1 */
63
+ --color-success-300: 199 232 206; /* ⬅ #c7e8ce */
64
+ --color-success-400: 156 214 170; /* ⬅ #9cd6aa */
65
+ --color-success-500: 114 197 133; /* ⬅ #72c585 */
66
+ --color-success-600: 103 177 120; /* ⬅ #67b178 */
67
+ --color-success-700: 86 148 100; /* ⬅ #569464 */
68
+ --color-success-800: 68 118 80; /* ⬅ #447650 */
69
+ --color-success-900: 56 97 65; /* ⬅ #386141 */
70
+ /* warning | #e77f08 */
71
+ --color-warning-50: 251 236 218; /* ⬅ #fbecda */
72
+ --color-warning-100: 250 229 206; /* ⬅ #fae5ce */
73
+ --color-warning-200: 249 223 193; /* ⬅ #f9dfc1 */
74
+ --color-warning-300: 245 204 156; /* ⬅ #f5cc9c */
75
+ --color-warning-400: 238 165 82; /* ⬅ #eea552 */
76
+ --color-warning-500: 231 127 8; /* ⬅ #e77f08 */
77
+ --color-warning-600: 208 114 7; /* ⬅ #d07207 */
78
+ --color-warning-700: 173 95 6; /* ⬅ #ad5f06 */
79
+ --color-warning-800: 139 76 5; /* ⬅ #8b4c05 */
80
+ --color-warning-900: 113 62 4; /* ⬅ #713e04 */
81
+ /* error | #8f0f22 */
82
+ --color-error-50: 238 219 222; /* ⬅ #eedbde */
83
+ --color-error-100: 233 207 211; /* ⬅ #e9cfd3 */
84
+ --color-error-200: 227 195 200; /* ⬅ #e3c3c8 */
85
+ --color-error-300: 210 159 167; /* ⬅ #d29fa7 */
86
+ --color-error-400: 177 87 100; /* ⬅ #b15764 */
87
+ --color-error-500: 143 15 34; /* ⬅ #8f0f22 */
88
+ --color-error-600: 129 14 31; /* ⬅ #810e1f */
89
+ --color-error-700: 107 11 26; /* ⬅ #6b0b1a */
90
+ --color-error-800: 86 9 20; /* ⬅ #560914 */
91
+ --color-error-900: 70 7 17; /* ⬅ #460711 */
133
92
  /* surface | #744aa1 */
134
93
  --color-surface-50: 250 248 252; /* ⬅ #faf8fc */
135
94
  --color-surface-100: 242 238 247; /* ⬅ #f2eef7 */
@@ -143,12 +102,46 @@
143
102
  --color-surface-900: 18 11 24; /* ⬅ #120b18 */
144
103
  }
145
104
 
105
+ /* =~= Gold Nouveau (dark mode overrides) =~= */
106
+ .dark [data-theme='gold-nouveau'] {
107
+ /* =~= Theme On-X Colors =~= */
108
+ --on-primary: 0 0 0;
109
+ /* =~= Theme Colors =~= */
110
+ /* primary | #e6c833 */
111
+ --color-primary-50: 251 247 224; /* ⬅ #fbf7e0 */
112
+ --color-primary-100: 250 244 214; /* ⬅ #faf4d6 */
113
+ --color-primary-200: 249 241 204; /* ⬅ #f9f1cc */
114
+ --color-primary-300: 245 233 173; /* ⬅ #f5e9ad */
115
+ --color-primary-400: 238 217 112; /* ⬅ #eed970 */
116
+ --color-primary-500: 230 200 51; /* ⬅ #e6c833 */
117
+ --color-primary-600: 207 180 46; /* ⬅ #cfb42e */
118
+ --color-primary-700: 173 150 38; /* ⬅ #ad9626 */
119
+ --color-primary-800: 138 120 31; /* ⬅ #8a781f */
120
+ --color-primary-900: 113 98 25; /* ⬅ #716219 */
121
+ }
122
+
146
123
  /* Headings */
147
- [data-theme='skeleton'] h1,
148
- [data-theme='skeleton'] h2,
149
- [data-theme='skeleton'] h3,
150
- [data-theme='skeleton'] h4,
151
- [data-theme='skeleton'] h5,
152
- [data-theme='skeleton'] h6 {
124
+ [data-theme='gold-nouveau'] h1,
125
+ [data-theme='gold-nouveau'] h2,
126
+ [data-theme='gold-nouveau'] h3,
127
+ [data-theme='gold-nouveau'] h4,
128
+ [data-theme='gold-nouveau'] h5,
129
+ [data-theme='gold-nouveau'] h6 {
153
130
  font-weight: bold;
154
131
  }
132
+
133
+ /* Applied to body with `<body data-theme="gold-nouveau">` */
134
+ /* Created with: https://csshero.org/mesher/ */
135
+ [data-theme='gold-nouveau'] {
136
+ background: #e5dcef;
137
+ /* prettier-ignore */
138
+ background-image:
139
+ radial-gradient(at 92% 96%, hsla(268,37%,46%,0.25) 0px, transparent 50%),
140
+ radial-gradient(at 7% 0%, hsla(268,37%,46%,0.20) 0px, transparent 50%);
141
+ }
142
+ .dark [data-theme='gold-nouveau'] {
143
+ /* prettier-ignore */
144
+ background-image:
145
+ radial-gradient(at 77% 0%, hsla(37, 81%, 56%, 0.1) 0px, transparent 50%),
146
+ radial-gradient(at 7% 0%, hsla(37, 81%, 56%, 0) 0px, transparent 50%);
147
+ }
@@ -5,84 +5,107 @@
5
5
 
6
6
  :root {
7
7
  /* =~= Hamlindigo Theme | Custom =~= */
8
- --theme-border-base: 2px;
9
- --theme-font-family-heading: 'Playfair Display', serif;
10
8
  --theme-font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
11
9
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
10
+ --theme-font-family-heading: 'Playfair Display', serif;
12
11
  --theme-font-color-base: 0 0 0;
13
12
  --theme-font-color-dark: 255 255 255;
14
- --theme-rounded-base: 0px;
15
- --theme-rounded-container: 0px;
16
- /* On Colors */
17
- --on-primary: #fff;
18
- --on-accent: #fff;
19
- --on-tertiary: #000;
20
- --on-warning: #fff;
21
- --on-surface: #fff;
22
- /* =~= Theme Colors | Hex =~= */
23
- /* primary | #6376A1 */
24
- --color-primary-50: 245 247 249;
25
- --color-primary-100: 233 235 242;
26
- --color-primary-200: 207 213 226;
27
- --color-primary-300: 179 188 209;
28
- --color-primary-400: 147 160 190;
29
- --color-primary-500: 99 118 161;
30
- --color-primary-600: 90 108 150;
31
- --color-primary-700: 77 92 127;
32
- --color-primary-800: 61 74 102;
33
- --color-primary-900: 48 57 80;
34
- /* accent | #a58945 */
35
- --color-accent-50: 252 251 248; /* ⬅ #fcfbf8 */
36
- --color-accent-100: 247 244 237; /* ⬅ #f7f4ed */
37
- --color-accent-200: 240 234 219; /* ⬅ #f0eadb */
38
- --color-accent-300: 228 217 190; /* ⬅ #e4d9be */
39
- --color-accent-400: 201 178 126; /* ⬅ #c9b27e */
40
- --color-accent-500: 165 137 69; /* ⬅ #a58945 */
41
- --color-accent-600: 119 98 50; /* ⬅ #776232 */
42
- --color-accent-700: 86 71 36; /* ⬅ #564724 */
43
- --color-accent-800: 50 42 21; /* ⬅ #322a15 */
44
- --color-accent-900: 25 21 11; /* ⬅ #19150b */
45
- /* tertiary | amber | #f59e0b */
46
- --color-tertiary-50: 255 251 235; /* ⬅ #fffbeb */
47
- --color-tertiary-100: 254 243 199; /* ⬅ #fef3c7 */
48
- --color-tertiary-200: 253 230 138; /* ⬅ #fde68a */
49
- --color-tertiary-300: 252 211 77; /* ⬅ #fcd34d */
50
- --color-tertiary-400: 251 191 36; /* ⬅ #fbbf24 */
51
- --color-tertiary-500: 245 158 11; /* ⬅ #f59e0b */
52
- --color-tertiary-600: 217 119 6; /* ⬅ #d97706 */
53
- --color-tertiary-700: 180 83 9; /* ⬅ #b45309 */
54
- --color-tertiary-800: 146 64 14; /* ⬅ #92400e */
55
- --color-tertiary-900: 120 53 15; /* ⬅ #78350f */
56
- /* warning | rose | #f43f5e */
57
- --color-warning-50: 255 241 242; /* ⬅ #fff1f2 */
58
- --color-warning-100: 255 228 230; /* ⬅ #ffe4e6 */
59
- --color-warning-200: 254 205 211; /* ⬅ #fecdd3 */
60
- --color-warning-300: 253 164 175; /* ⬅ #fda4af */
61
- --color-warning-400: 251 113 133; /* ⬅ #fb7185 */
62
- --color-warning-500: 244 63 94; /* ⬅ #f43f5e */
63
- --color-warning-600: 225 29 72; /* ⬅ #e11d48 */
64
- --color-warning-700: 190 18 60; /* ⬅ #be123c */
65
- --color-warning-800: 159 18 57; /* ⬅ #9f1239 */
66
- --color-warning-900: 136 19 55; /* ⬅ #881337 */
67
- /* surface | #6276A3 */
68
- --color-surface-50: 245 247 249;
69
- --color-surface-100: 232 235 242;
70
- --color-surface-200: 207 213 227;
71
- --color-surface-300: 181 190 212;
72
- --color-surface-400: 146 159 191;
73
- --color-surface-500: 98 118 163;
74
- --color-surface-600: 92 112 158;
75
- --color-surface-700: 83 100 141;
76
- --color-surface-800: 73 89 125;
77
- --color-surface-900: 66 80 113;
13
+ --theme-rounded-base: 2px;
14
+ --theme-rounded-container: 2px;
15
+ --theme-border-base: 2px;
16
+ /* =~= Theme On-X Colors =~= */
17
+ --on-primary: 0 0 0;
18
+ --on-secondary: 255 255 255;
19
+ --on-tertiary: 255 255 255;
20
+ --on-success: 255 255 255;
21
+ --on-warning: 0 0 0;
22
+ --on-error: 255 255 255;
23
+ --on-surface: 255 255 255;
24
+ /* =~= Theme Colors =~= */
25
+ /* primary | #a8bef1 */
26
+ --color-primary-50: 242 245 253; /* ⬅ #f2f5fd */
27
+ --color-primary-100: 238 242 252; /* ⬅ #eef2fc */
28
+ --color-primary-200: 233 239 252; /* ⬅ #e9effc */
29
+ --color-primary-300: 220 229 249; /* ⬅ #dce5f9 */
30
+ --color-primary-400: 194 210 245; /* ⬅ #c2d2f5 */
31
+ --color-primary-500: 168 190 241; /* ⬅ #a8bef1 */
32
+ --color-primary-600: 151 171 217; /* ⬅ #97abd9 */
33
+ --color-primary-700: 126 143 181; /* ⬅ #7e8fb5 */
34
+ --color-primary-800: 101 114 145; /* ⬅ #657291 */
35
+ --color-primary-900: 82 93 118; /* ⬅ #525d76 */
36
+ /* secondary | #a48e5b */
37
+ --color-secondary-50: 241 238 230; /* ⬅ #f1eee6 */
38
+ --color-secondary-100: 237 232 222; /* ⬅ #ede8de */
39
+ --color-secondary-200: 232 227 214; /* ⬅ #e8e3d6 */
40
+ --color-secondary-300: 219 210 189; /* ⬅ #dbd2bd */
41
+ --color-secondary-400: 191 176 140; /* ⬅ #bfb08c */
42
+ --color-secondary-500: 164 142 91; /* ⬅ #a48e5b */
43
+ --color-secondary-600: 148 128 82; /* ⬅ #948052 */
44
+ --color-secondary-700: 123 107 68; /* ⬅ #7b6b44 */
45
+ --color-secondary-800: 98 85 55; /* ⬅ #625537 */
46
+ --color-secondary-900: 80 70 45; /* ⬅ #50462d */
47
+ /* tertiary | #6197a3 */
48
+ --color-tertiary-50: 231 239 241; /* ⬅ #e7eff1 */
49
+ --color-tertiary-100: 223 234 237; /* ⬅ #dfeaed */
50
+ --color-tertiary-200: 216 229 232; /* ⬅ #d8e5e8 */
51
+ --color-tertiary-300: 192 213 218; /* ⬅ #c0d5da */
52
+ --color-tertiary-400: 144 182 191; /* ⬅ #90b6bf */
53
+ --color-tertiary-500: 97 151 163; /* ⬅ #6197a3 */
54
+ --color-tertiary-600: 87 136 147; /* ⬅ #578893 */
55
+ --color-tertiary-700: 73 113 122; /* ⬅ #49717a */
56
+ --color-tertiary-800: 58 91 98; /* ⬅ #3a5b62 */
57
+ --color-tertiary-900: 48 74 80; /* ⬅ #304a50 */
58
+ /* success | #47947d */
59
+ --color-success-50: 227 239 236; /* ⬅ #e3efec */
60
+ --color-success-100: 218 234 229; /* ⬅ #daeae5 */
61
+ --color-success-200: 209 228 223; /* ⬅ #d1e4df */
62
+ --color-success-300: 181 212 203; /* ⬅ #b5d4cb */
63
+ --color-success-400: 126 180 164; /* ⬅ #7eb4a4 */
64
+ --color-success-500: 71 148 125; /* ⬅ #47947d */
65
+ --color-success-600: 64 133 113; /* ⬅ #408571 */
66
+ --color-success-700: 53 111 94; /* ⬅ #356f5e */
67
+ --color-success-800: 43 89 75; /* ⬅ #2b594b */
68
+ --color-success-900: 35 73 61; /* ⬅ #23493d */
69
+ /* warning | #daa93e */
70
+ --color-warning-50: 249 242 226; /* ⬅ #f9f2e2 */
71
+ --color-warning-100: 248 238 216; /* ⬅ #f8eed8 */
72
+ --color-warning-200: 246 234 207; /* ⬅ #f6eacf */
73
+ --color-warning-300: 240 221 178; /* ⬅ #f0ddb2 */
74
+ --color-warning-400: 229 195 120; /* ⬅ #e5c378 */
75
+ --color-warning-500: 218 169 62; /* ⬅ #daa93e */
76
+ --color-warning-600: 196 152 56; /* ⬅ #c49838 */
77
+ --color-warning-700: 164 127 47; /* ⬅ #a47f2f */
78
+ --color-warning-800: 131 101 37; /* ⬅ #836525 */
79
+ --color-warning-900: 107 83 30; /* ⬅ #6b531e */
80
+ /* error | #a26175 */
81
+ --color-error-50: 241 231 234; /* ⬅ #f1e7ea */
82
+ --color-error-100: 236 223 227; /* ⬅ #ecdfe3 */
83
+ --color-error-200: 232 216 221; /* ⬅ #e8d8dd */
84
+ --color-error-300: 218 192 200; /* ⬅ #dac0c8 */
85
+ --color-error-400: 190 144 158; /* ⬅ #be909e */
86
+ --color-error-500: 162 97 117; /* ⬅ #a26175 */
87
+ --color-error-600: 146 87 105; /* ⬅ #925769 */
88
+ --color-error-700: 122 73 88; /* ⬅ #7a4958 */
89
+ --color-error-800: 97 58 70; /* ⬅ #613a46 */
90
+ --color-error-900: 79 48 57; /* ⬅ #4f3039 */
91
+ /* surface | #6376a3 */
92
+ --color-surface-50: 232 234 241; /* ⬅ #e8eaf1 */
93
+ --color-surface-100: 224 228 237; /* ⬅ #e0e4ed */
94
+ --color-surface-200: 216 221 232; /* ⬅ #d8dde8 */
95
+ --color-surface-300: 193 200 218; /* ⬅ #c1c8da */
96
+ --color-surface-400: 146 159 191; /* ⬅ #929fbf */
97
+ --color-surface-500: 99 118 163; /* ⬅ #6376a3 */
98
+ --color-surface-600: 89 106 147; /* ⬅ #596a93 */
99
+ --color-surface-700: 74 89 122; /* ⬅ #4a597a */
100
+ --color-surface-800: 59 71 98; /* ⬅ #3b4762 */
101
+ --color-surface-900: 49 58 80; /* ⬅ #313a50 */
78
102
  }
79
103
 
80
- /* Headings */
81
- [data-theme='hamlindigo'] h1,
82
- [data-theme='hamlindigo'] h2,
83
- [data-theme='hamlindigo'] h3,
84
- [data-theme='hamlindigo'] h4,
85
- [data-theme='hamlindigo'] h5,
86
- [data-theme='hamlindigo'] h6 {
87
- font-weight: bold;
104
+ /* Applied to body with `<body data-theme="hamlindigo">` */
105
+ /* Generated via: https://heropatterns.com/ */
106
+ [data-theme='hamlindigo'] {
107
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23e0e4ed' fill-opacity='0.5'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
108
+ }
109
+ .dark [data-theme='hamlindigo'] {
110
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%233b4762' fill-opacity='0.2'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
88
111
  }