@widgetic/design-system 0.3.68 → 0.3.71

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 (84) hide show
  1. package/README.md +126 -454
  2. package/dist/components/CopyableHeader.svelte +11 -13
  3. package/dist/components/EmptyState.svelte +4 -2
  4. package/dist/components/EmptyState.svelte.d.ts +2 -1
  5. package/dist/components/PasswordInput.svelte +5 -1
  6. package/dist/components/WScrollArea.svelte +3 -3
  7. package/dist/components/debug-grid/DebugGrid.svelte +1 -1
  8. package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
  9. package/dist/components/index.d.ts +1 -1
  10. package/dist/components/index.js +1 -1
  11. package/dist/components/modals/BaseModal.svelte +1 -1
  12. package/dist/components/modals/NewItemDialog.svelte +1 -1
  13. package/dist/components/modals/RenameDialog.svelte +7 -6
  14. package/dist/components/navigation/Breadcrumbs.svelte +9 -9
  15. package/dist/components/pdf/PDFViewer.svelte +6 -16
  16. package/dist/components/search-input/SearchInput.svelte +3 -8
  17. package/dist/components/search-input/index.d.ts +3 -14
  18. package/dist/components/search-input/index.js +1 -2
  19. package/dist/components/search-input/index2.d.ts +14 -0
  20. package/dist/components/shad-editor/README.md +18 -0
  21. package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
  22. package/dist/components/shad-editor/editor.css +8 -4
  23. package/dist/components/shad-editor/icons/table.svelte +3 -3
  24. package/dist/components/shad-editor/icons/text.svelte +1 -1
  25. package/dist/components/shad-editor/onedark.css +3 -0
  26. package/dist/components/shad-editor/shad-editor.svelte +1 -1
  27. package/dist/components/toast/ToasterModal.svelte +14 -10
  28. package/dist/components/ui/accordion/index.d.ts +1 -1
  29. package/dist/components/ui/badge/badge.svelte +1 -1
  30. package/dist/components/ui/badge/badge.svelte.d.ts +2 -2
  31. package/dist/components/ui/button/button.svelte +1 -1
  32. package/dist/components/ui/button/button.svelte.d.ts +2 -2
  33. package/dist/components/ui/calendar/calendar-day.svelte +4 -4
  34. package/dist/components/ui/calendar/calendar.svelte.d.ts +1 -1
  35. package/dist/components/ui/card/card.svelte +1 -1
  36. package/dist/components/ui/checkbox/checkbox.svelte +1 -1
  37. package/dist/components/ui/collapsible/index.d.ts +1 -1
  38. package/dist/components/ui/command/command-dialog.svelte +1 -1
  39. package/dist/components/ui/command/command-dialog.svelte.d.ts +1 -1
  40. package/dist/components/ui/command/command-input.svelte +1 -1
  41. package/dist/components/ui/command/command-input.svelte.d.ts +1 -1
  42. package/dist/components/ui/command/command-item.svelte +1 -1
  43. package/dist/components/ui/command/command-link-item.svelte +1 -1
  44. package/dist/components/ui/command/command.svelte.d.ts +1 -1
  45. package/dist/components/ui/dialog/dialog-content.svelte +1 -1
  46. package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
  47. package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
  48. package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
  49. package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
  50. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
  51. package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
  52. package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
  53. package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
  54. package/dist/components/ui/input/input.svelte +1 -1
  55. package/dist/components/ui/input/input.svelte.d.ts +1 -1
  56. package/dist/components/ui/input-otp/input-otp.svelte +1 -1
  57. package/dist/components/ui/input-otp/input-otp.svelte.d.ts +1 -1
  58. package/dist/components/ui/popover/popover-content.svelte +1 -1
  59. package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
  60. package/dist/components/ui/radio-group/radio-group.svelte.d.ts +1 -1
  61. package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
  62. package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +1 -1
  63. package/dist/components/ui/select/index.d.ts +1 -1
  64. package/dist/components/ui/select/select-item.svelte +1 -1
  65. package/dist/components/ui/select/select-trigger.svelte +1 -1
  66. package/dist/components/ui/slider/slider.svelte +1 -1
  67. package/dist/components/ui/slider/slider.svelte.d.ts +1 -1
  68. package/dist/components/ui/switch/switch.svelte +1 -1
  69. package/dist/components/ui/tabs/index.d.ts +1 -1
  70. package/dist/components/ui/tabs/tabs-content.svelte +1 -1
  71. package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
  72. package/dist/components/ui/textarea/textarea.svelte +1 -1
  73. package/dist/components/ui/textarea/textarea.svelte.d.ts +1 -1
  74. package/dist/components/ui/toggle/toggle.svelte +1 -1
  75. package/dist/components/ui/toggle/toggle.svelte.d.ts +2 -2
  76. package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +1 -1
  77. package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +1 -1
  78. package/dist/components/widget-system/Moveable.svelte +0 -1
  79. package/dist/icons/eye-off.svg +1 -0
  80. package/dist/icons/eye.svg +1 -0
  81. package/dist/styles/fonts.css +50 -39
  82. package/dist/styles/global.css +55 -36
  83. package/package.json +34 -33
  84. package/tailwind.config.ts +1 -6
@@ -1,3 +1,6 @@
1
+ /* Tailwind config */
2
+ /* @config "../../../tailwind.config.ts"; */
3
+
1
4
  /*** GLOBAL STYLE FONTS ***/
2
5
 
3
6
  /* BL MELODY FAMILY: rules and classes */
@@ -28,47 +31,48 @@
28
31
  font-display: swap;
29
32
  }
30
33
 
31
- .h1 {
34
+ /* Convert classes to utilities */
35
+ @utility h1 {
32
36
  font-family: 'BL Melody';
33
37
  font-weight: 500;
34
38
  font-size: 144px;
35
39
  line-height: 0.85;
36
- }
40
+ }
37
41
 
38
- .h2 {
42
+ @utility h2 {
39
43
  font-family: 'BL Melody';
40
44
  font-weight: 500;
41
45
  font-size: 72px;
42
46
  line-height: 0.96;
43
- }
47
+ }
44
48
 
45
- .h3 {
49
+ @utility h3 {
46
50
  font-family: 'BL Melody';
47
51
  font-weight: 700;
48
52
  font-size: 56px;
49
53
  line-height: 1;
50
- }
54
+ }
51
55
 
52
- .h4 {
56
+ @utility h4 {
53
57
  font-family: 'BL Melody';
54
58
  font-weight: 600;
55
59
  font-size: 32px;
56
60
  line-height: 1.1;
57
- }
61
+ }
58
62
 
59
- .h5 {
63
+ @utility h5 {
60
64
  font-family: 'BL Melody';
61
65
  font-weight: 500;
62
66
  font-size: 24px;
63
67
  line-height: 1.2;
64
- }
68
+ }
65
69
 
66
- .h6 {
70
+ @utility h6 {
67
71
  font-family: 'BL Melody';
68
72
  font-weight: 600;
69
73
  font-size: 14px;
70
74
  line-height: 1;
71
- }
75
+ }
72
76
 
73
77
 
74
78
 
@@ -118,55 +122,62 @@
118
122
  font-display: swap;
119
123
  }
120
124
 
121
- .subtitle1 {
125
+ @utility subtitle1 {
122
126
  font-family: 'Riegla Regular';
123
127
  font-size: 32px;
124
128
  line-height: 1.2;
125
- }
129
+ }
126
130
 
127
- .subtitle2 {
131
+ @utility subtitle2 {
128
132
  font-family: 'Riegla Regular';
129
133
  font-size: 24px;
130
134
  line-height: 1.3;
131
- }
135
+ }
132
136
 
133
- .body-medium {
134
- font-family: 'Riegla Medium' !important;
135
- font-size: 18px !important;
136
- font-weight: 400 !important;
137
- line-height: 1.4 !important;
138
- }
137
+ @utility body-medium {
138
+ font-family: 'Riegla Medium';
139
+ font-size: 18px;
140
+ font-weight: 400;
141
+ line-height: 1.4;
142
+ }
139
143
 
140
- .body {
141
- font-family: 'Riegla Regular' !important;
142
- font-size: 18px !important;
143
- line-height: 1.4 !important;
144
- }
144
+ @utility body {
145
+ font-family: 'Riegla Regular';
146
+ font-size: 18px;
147
+ line-height: 1.4;
148
+ }
145
149
 
146
- .subtext {
147
- font-family: 'Riegla Regular' !important;
148
- font-size: 16px !important;
149
- line-height: 1.4 !important;
150
- }
150
+ @utility body-bold {
151
+ font-family: 'Riegla Regular';
152
+ font-size: 18px;
153
+ line-height: 1.4;
154
+ font-weight: 700;
155
+ }
151
156
 
152
- .caption {
157
+ @utility subtext {
158
+ font-family: 'Riegla Regular';
159
+ font-size: 16px;
160
+ line-height: 1.4;
161
+ }
162
+
163
+ @utility caption {
153
164
  font-family: 'Riegla Medium';
154
- font-weight: 400 !important;
165
+ font-weight: 400;
155
166
  font-size: 14px;
156
167
  line-height: 1.2;
157
- }
168
+ }
158
169
 
159
- .link {
170
+ @utility link {
160
171
  font-family: 'Riegla Medium';
161
172
  font-size: 14px;
162
173
  line-height: 1;
163
174
  text-decoration: underline;
164
- }
175
+ }
165
176
 
166
- .tag {
177
+ @utility tag {
167
178
  font-family: 'Riegla Medium';
168
179
  font-size: 11px;
169
180
  line-height: 16px;
170
181
  text-transform: uppercase;
171
- }
182
+ }
172
183
 
@@ -1,14 +1,48 @@
1
- /* Tailwind 4
2
- @import "tailwindcss"; */
3
-
4
- /* Taildind 3 imports */
5
- @import 'tailwindcss/base';
6
- @import 'tailwindcss/components';
7
- @import 'tailwindcss/utilities';
1
+ /* Tailwind import(v4) */
2
+ @import 'tailwindcss';
8
3
 
9
4
  /* Import fonts css */
5
+ /* @import './fonts.css' layer(utilities); */
10
6
  @import './fonts.css';
11
7
 
8
+ /* Tailwind config load *after* main imports */
9
+ @config "../../../tailwind.config.ts";
10
+
11
+ /* Utility classes for border radius - Moved to top level */
12
+ @utility rounded-pill {
13
+ border-radius: var(--radius-pill);
14
+ }
15
+
16
+ @utility rounded-large {
17
+ border-radius: var(--radius-large);
18
+ }
19
+
20
+ @utility rounded-medium {
21
+ border-radius: var(--radius-medium);
22
+ }
23
+
24
+ @utility rounded-small {
25
+ border-radius: var(--radius-small);
26
+ }
27
+
28
+ /*
29
+ The default border color has changed to `currentcolor` in Tailwind CSS v4,
30
+ so we've added these compatibility styles to make sure everything still
31
+ looks the same as it did with Tailwind CSS v3.
32
+
33
+ If we ever want to remove these styles, we need to add an explicit border
34
+ color utility to any element that depends on these defaults.
35
+ */
36
+ @layer base {
37
+ *,
38
+ ::after,
39
+ ::before,
40
+ ::backdrop,
41
+ ::file-selector-button {
42
+ border-color: var(--color-gray-200, currentcolor);
43
+ }
44
+ }
45
+
12
46
  @layer base {
13
47
  /* CSS Variables Here at the top of the base layer */
14
48
  :root {
@@ -58,7 +92,7 @@
58
92
  --icon-error: 0 84% 60%;
59
93
  }
60
94
 
61
- /* CLASSES FOR WIDGETIC COMPONENTS */
95
+ /* CLASSES FOR WIDGETIC COMPONENTS - Keep variable definitions inside layer */
62
96
  /* convert colors from hex to HSL (Hue, Saturation, Lightness) format */
63
97
  .widgetic-colors {
64
98
  --dark: 120 35.7% 9.4%;
@@ -94,22 +128,6 @@
94
128
  --breakpoint-tablet: 744px;
95
129
  --breakpoint-desktop: 1156px;
96
130
  }
97
- /* Utility classes for border radius */
98
- .rounded-pill {
99
- border-radius: var(--radius-pill);
100
- }
101
-
102
- .rounded-large {
103
- border-radius: var(--radius-large);
104
- }
105
-
106
- .rounded-medium {
107
- border-radius: var(--radius-medium);
108
- }
109
-
110
- .rounded-small {
111
- border-radius: var(--radius-small);
112
- }
113
131
 
114
132
  /*** GLOBAL STYLE CLASSES ***/
115
133
  * {
@@ -126,18 +144,18 @@
126
144
 
127
145
  /* This is the root container of the website(app.html) */
128
146
  .root-ct {
129
- @apply min-h-screen;
147
+ @apply w-full h-screen;
130
148
  display: block !important;
131
149
  }
132
150
 
133
151
  /* This is the root layout container of the website pages */
134
152
  .layout-ct {
135
- @apply min-h-screen w-full;
153
+ @apply w-full h-full;
136
154
  }
137
155
 
138
156
  .page-ct {
139
157
  width: 100%;
140
- height: 100vh;
158
+ height: 100%;
141
159
  /* background-color: green; */
142
160
  }
143
161
 
@@ -164,6 +182,7 @@
164
182
  }
165
183
 
166
184
  .native-scrollbar::-webkit-scrollbar-thumb {
185
+ @apply bg-muted;
167
186
  cursor: pointer;
168
187
 
169
188
  border: calc(var(--scrollbar-width) / 3) solid transparent;
@@ -551,7 +570,7 @@
551
570
 
552
571
  /* Modal Button Styles */
553
572
  .modal-btn-primary {
554
- @apply h6 inline-flex items-center justify-center !important;
573
+ @apply !h6 !inline-flex !items-center !justify-center;
555
574
  padding: 0 16px !important;
556
575
  min-height: 34px !important;
557
576
  border-radius: var(--radius-pill) !important;
@@ -567,7 +586,7 @@
567
586
  }
568
587
 
569
588
  .modal-btn-secondary {
570
- @apply h6 inline-flex items-center justify-center !important;
589
+ @apply !h6 !inline-flex !items-center !justify-center;
571
590
  padding: 0 16px !important;
572
591
  min-height: 34px !important;
573
592
  border-radius: var(--radius-pill) !important;
@@ -585,9 +604,9 @@
585
604
  }
586
605
 
587
606
  .modal-btn-attention {
588
- @apply h6 inline-flex items-center justify-center !important;
607
+ @apply !h6 !inline-flex !items-center !justify-center;
589
608
  padding: 0 16px !important;
590
- height: 34px;
609
+ height: 34px !important;
591
610
  border-radius: var(--radius-pill) !important;
592
611
  background-color: hsl(var(--error)) !important;
593
612
  color: white !important;
@@ -604,7 +623,7 @@
604
623
 
605
624
  /* Primary Button - Base styfles */
606
625
  .btn-primary {
607
- @apply inline-flex items-center justify-center gap-2 !important;
626
+ @apply !inline-flex !items-center !justify-center !gap-2;
608
627
  padding: 8px 16px !important;
609
628
  height: 34px !important;
610
629
  border-radius: var(--radius-small) !important;
@@ -624,7 +643,7 @@
624
643
 
625
644
  /* Primary Button sizes */
626
645
  .btn-primary-small {
627
- @apply body-medium inline-flex items-center justify-center gap-1 !important;
646
+ @apply !body-medium !inline-flex !items-center !justify-center !gap-1;
628
647
  padding: 4px 12px 6px 12px !important;
629
648
  border-radius: var(--radius-medium) !important;
630
649
  background-color: hsl(var(--deep-forest-green)) !important;
@@ -632,7 +651,7 @@
632
651
  }
633
652
 
634
653
  .btn-primary-large {
635
- @apply body-medium inline-flex items-center justify-center gap-3 !important;
654
+ @apply !body-medium !inline-flex !items-center !justify-center !gap-3;
636
655
  padding: 16px 32px !important;
637
656
  min-height: 56px !important;
638
657
  border-radius: var(--radius-medium) !important;
@@ -652,7 +671,7 @@
652
671
 
653
672
  /* Secondary Button */
654
673
  .btn-secondary {
655
- @apply h6 inline-flex items-center justify-center gap-2 !important;
674
+ @apply !h6 !inline-flex !items-center !justify-center !gap-2;
656
675
  padding: 0 16px !important;
657
676
  height: 34px !important;
658
677
  border-radius: var(--radius-small) !important;
@@ -691,7 +710,7 @@
691
710
  }
692
711
 
693
712
  .dropdown-menu-item {
694
- @apply flex items-center gap-2 w-full text-left h6 text-[hsl(var(--grey7))] whitespace-nowrap;
713
+ @apply !flex !items-center !gap-2 !w-full !text-left !h6 !text-[hsl(var(--grey7))] !whitespace-nowrap;
695
714
  padding: 8px 16px;
696
715
  }
697
716
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/design-system",
3
- "version": "0.3.68",
3
+ "version": "0.3.71",
4
4
  "type": "module",
5
5
  "svelte": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -14,7 +14,7 @@
14
14
  "**/*.ts"
15
15
  ],
16
16
  "scripts": {
17
- "i": "rm -rf node_modules && npm i && npm link",
17
+ "i": "rm -rf node_modules && rm -rf package-lock.json && npm i && npm link",
18
18
  "unlink": "rm -rf \"$(npm root -g)/@widgetic/design-system\" 2>/dev/null || true",
19
19
  "clean-modules": "rm -rf node_modules",
20
20
  "llinks": "ls -la node_modules/@widgetic",
@@ -36,7 +36,7 @@
36
36
  "i-shadcn": "npm run clean-shadcn && npm run i-shadcn-init && npm run i-shadcn-comps",
37
37
  "clean-shadcn": "rm -rf ./src/lib/components/ui",
38
38
  "i-shadcn-init": "npx shadcn-svelte@next init",
39
- "i-shadcn-comps": "npx shadcn-svelte@next add accordion badge button calendar range-calendar card checkbox collapsible dialog drawer dropdown-menu input input-otp label popover progress radio-group scroll-area select separator slider switch table tabs textarea tooltip",
39
+ "i-shadcn-comps": "npx shadcn-svelte@next add accordion badge breadcrumb button calendar card checkbox collapsible command dialog drawer dropdown-menu hover-card input input-otp label popover progress radio-group range-calendar scroll-area select separator slider sonner switch table tabs textarea toogle toggle-group tooltip",
40
40
  "format": "prettier --write .",
41
41
  "lint": "prettier --check . && eslint .",
42
42
  "prepublishOnly": "npm run package",
@@ -106,13 +106,10 @@
106
106
  "peerDependencies": {
107
107
  "@internationalized/date": "^3.6.0",
108
108
  "@sveltejs/kit": "^2.20.2",
109
- "@tabler/icons-svelte": "^3.30.0",
110
- "bits-ui": "^1.3.0",
111
- "lucide-svelte": "^0.468.0",
112
- "shadcn-svelte": "latest",
109
+ "bits-ui": "^1.3.19",
110
+ "shadcn-svelte": "1.0.0-next.9",
113
111
  "svelte": "^5.25.6",
114
- "svelte-sonner": "^0.3.28",
115
- "tailwindcss": "^3.4.16"
112
+ "tailwindcss": "^4.1.4"
116
113
  },
117
114
  "devDependencies": {
118
115
  "@internationalized/date": "^3.6.0",
@@ -120,7 +117,33 @@
120
117
  "@sveltejs/kit": "^2.20.2",
121
118
  "@sveltejs/package": "^2.3.7",
122
119
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
120
+ "@tailwindcss/postcss": "^4.1.4",
123
121
  "@tailwindcss/typography": "^0.5.15",
122
+ "@types/node": "^22.10.1",
123
+ "bits-ui": "^1.3.19",
124
+ "concurrently": "^9.1.0",
125
+ "eslint": "^9.7.0",
126
+ "eslint-config-prettier": "^9.1.0",
127
+ "eslint-plugin-svelte": "^2.36.0",
128
+ "globals": "^15.0.0",
129
+ "lucide-svelte": "^0.468.0",
130
+ "mode-watcher": "^0.5.0",
131
+ "postcss": "^8.5.3",
132
+ "prettier": "^3.3.2",
133
+ "prettier-plugin-svelte": "^3.2.6",
134
+ "prettier-plugin-tailwindcss": "^0.6.11",
135
+ "shadcn-svelte": "1.0.0-next.9",
136
+ "svelte": "^5.25.6",
137
+ "svelte-check": "^4.1.0",
138
+ "svelte-sonner": "^0.3.28",
139
+ "tailwindcss": "^4.1.4",
140
+ "typescript": "^5.0.0",
141
+ "typescript-eslint": "^8.0.0",
142
+ "vite": "^6.0.1"
143
+ },
144
+ "dependencies": {
145
+ "@hirasso/thumbhash-custom-element": "^0.5.5",
146
+ "@tabler/icons-svelte": "^3.30.0",
124
147
  "@tiptap/core": "^2.9.1",
125
148
  "@tiptap/extension-bubble-menu": "^2.9.1",
126
149
  "@tiptap/extension-code-block-lowlight": "^2.9.1",
@@ -143,41 +166,19 @@
143
166
  "@tiptap/extension-underline": "^2.9.1",
144
167
  "@tiptap/pm": "^2.9.1",
145
168
  "@tiptap/starter-kit": "^2.9.1",
146
- "@types/node": "^22.10.1",
147
- "autoprefixer": "^10.4.20",
148
- "bits-ui": "^1.3.0",
149
169
  "clsx": "^2.1.1",
150
- "concurrently": "^9.1.0",
151
- "eslint": "^9.7.0",
152
- "eslint-config-prettier": "^9.1.0",
153
- "eslint-plugin-svelte": "^2.36.0",
154
- "globals": "^15.0.0",
155
170
  "lowlight": "^3.2.0",
156
- "lucide-svelte": "^0.468.0",
157
- "mode-watcher": "^0.5.0",
158
- "prettier": "^3.3.2",
159
- "prettier-plugin-svelte": "^3.2.6",
160
- "prettier-plugin-tailwindcss": "^0.6.5",
161
- "svelte": "^5.25.6",
171
+ "pdfjs-dist": "^4.10.38",
162
172
  "svelte-awesome-color-picker": "^3.1.4",
163
- "svelte-check": "^4.1.0",
164
173
  "svelte-sonner": "^0.3.28",
165
174
  "svelte-tiptap": "^2.0.3",
166
175
  "tailwind-merge": "^2.5.5",
167
176
  "tailwind-variants": "^0.3.0",
168
177
  "tailwindcss-animate": "^1.0.7",
169
- "typescript": "^5.0.0",
170
- "typescript-eslint": "^8.0.0",
171
- "vaul-svelte": "^1.0.0-next.3",
172
- "vite": "^6.0.1"
178
+ "vaul-svelte": "^1.0.0-next.3"
173
179
  },
174
180
  "volta": {
175
181
  "node": "22.14.0",
176
182
  "npm": "11.1.0"
177
- },
178
- "dependencies": {
179
- "@hirasso/thumbhash-custom-element": "^0.5.5",
180
- "@tabler/icons-svelte": "^3.30.0",
181
- "pdfjs-dist": "^4.10.38"
182
183
  }
183
184
  }
@@ -1,12 +1,10 @@
1
- import { fontFamily } from "tailwindcss/defaultTheme";
2
1
  import type { Config } from "tailwindcss";
3
2
  import tailwindcssAnimate from "tailwindcss-animate";
4
3
  import tailwindcssTypography from '@tailwindcss/typography';
5
4
 
6
5
  const config: Config = {
7
- darkMode: ["class"],
6
+ darkMode: "class",
8
7
  content: ["./src/**/*.{html,js,svelte,ts}"],
9
- safelist: ["dark"],
10
8
  theme: {
11
9
  container: {
12
10
  center: true,
@@ -67,9 +65,6 @@ const config: Config = {
67
65
  md: "calc(var(--radius) - 2px)",
68
66
  sm: "calc(var(--radius) - 4px)"
69
67
  },
70
- fontFamily: {
71
- sans: [...fontFamily.sans]
72
- },
73
68
  keyframes: {
74
69
  "accordion-down": {
75
70
  from: { height: "0" },