@wakastellar/ui 0.1.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/blocks/footer/index.d.ts +19 -0
- package/dist/blocks/headtab/index.d.ts +27 -0
- package/dist/blocks/index.d.ts +5 -0
- package/dist/blocks/language-selector/index.d.ts +6 -0
- package/dist/blocks/layout/index.d.ts +28 -0
- package/dist/blocks/login/index.d.ts +13 -0
- package/dist/components/DataTable/DataTable.d.ts +17 -0
- package/dist/components/DataTable/DataTableAdvanced.d.ts +27 -0
- package/dist/components/DataTable/DataTableColumnResizer.d.ts +8 -0
- package/dist/components/DataTable/DataTableContextMenu.d.ts +47 -0
- package/dist/components/DataTable/DataTableEditCell.d.ts +29 -0
- package/dist/components/DataTable/DataTableFilters.d.ts +14 -0
- package/dist/components/DataTable/DataTableGrouping.d.ts +25 -0
- package/dist/components/DataTable/DataTablePagination.d.ts +8 -0
- package/dist/components/DataTable/DataTableSelection.d.ts +46 -0
- package/dist/components/DataTable/DataTableToolbar.d.ts +14 -0
- package/dist/components/DataTable/examples/EditExample.d.ts +2 -0
- package/dist/components/DataTable/hooks/useDataTable.d.ts +24 -0
- package/dist/components/DataTable/hooks/useDataTableAdvanced.d.ts +38 -0
- package/dist/components/DataTable/hooks/useDataTableEdit.d.ts +22 -0
- package/dist/components/DataTable/hooks/useDataTableExport.d.ts +15 -0
- package/dist/components/DataTable/hooks/useDataTableImport.d.ts +12 -0
- package/dist/components/DataTable/hooks/useDataTableTheme.d.ts +16 -0
- package/dist/components/DataTable/hooks/useDataTableVirtualization.d.ts +19 -0
- package/dist/components/DataTable/hooks/useTableLayout.d.ts +26 -0
- package/dist/components/DataTable/index.d.ts +37 -0
- package/dist/components/DataTable/types.d.ts +461 -0
- package/dist/components/DataTable/utils.d.ts +37 -0
- package/dist/components/accordion/index.d.ts +7 -0
- package/dist/components/alert/index.d.ts +8 -0
- package/dist/components/alert-dialog/index.d.ts +20 -0
- package/dist/components/aspect-ratio/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts +6 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/button/index.d.ts +11 -0
- package/dist/components/calendar/index.d.ts +8 -0
- package/dist/components/card/index.d.ts +8 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/code/index.d.ts +29 -0
- package/dist/components/collapsible/index.d.ts +5 -0
- package/dist/components/command/index.d.ts +51 -0
- package/dist/components/context-menu/index.d.ts +27 -0
- package/dist/components/dialog/index.d.ts +19 -0
- package/dist/components/dropdown-menu/index.d.ts +27 -0
- package/dist/components/form/index.d.ts +23 -0
- package/dist/components/hover-card/index.d.ts +6 -0
- package/dist/components/index.d.ts +52 -0
- package/dist/components/input/index.d.ts +5 -0
- package/dist/components/input-otp/index.d.ts +51 -0
- package/dist/components/label/index.d.ts +5 -0
- package/dist/components/language-selector/index.d.ts +40 -0
- package/dist/components/menubar/index.d.ts +28 -0
- package/dist/components/navigation-menu/index.d.ts +12 -0
- package/dist/components/popover/index.d.ts +6 -0
- package/dist/components/progress/index.d.ts +4 -0
- package/dist/components/radio-group/index.d.ts +5 -0
- package/dist/components/scroll-area/index.d.ts +5 -0
- package/dist/components/select/index.d.ts +13 -0
- package/dist/components/separator/index.d.ts +4 -0
- package/dist/components/sheet/index.d.ts +27 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/switch/index.d.ts +4 -0
- package/dist/components/table/index.d.ts +10 -0
- package/dist/components/tabs/index.d.ts +7 -0
- package/dist/components/textarea/index.d.ts +5 -0
- package/dist/components/theme-selector/index.d.ts +8 -0
- package/dist/components/toast/index.d.ts +15 -0
- package/dist/components/toaster/index.d.ts +1 -0
- package/dist/components/toggle/index.d.ts +12 -0
- package/dist/components/tooltip/index.d.ts +7 -0
- package/dist/components/typography/index.d.ts +85 -0
- package/dist/components/waka-admincrumb/index.d.ts +41 -0
- package/dist/components/waka-carousel/index.d.ts +105 -0
- package/dist/components/waka-datetime-picker/index.d.ts +135 -0
- package/dist/components/waka-datetime-picker.form-integration/index.d.ts +69 -0
- package/dist/components/waka-notifications/index.d.ts +40 -0
- package/dist/components/waka-spinner/index.d.ts +46 -0
- package/dist/components/waka-theme-creator/index.d.ts +59 -0
- package/dist/components/waka-theme-manager/index.d.ts +62 -0
- package/dist/context/admincrumb-context.d.ts +34 -0
- package/dist/context/index.d.ts +8 -0
- package/dist/context/language-context.d.ts +57 -0
- package/dist/context/theme-context.d.ts +39 -0
- package/dist/context/theme-provider.d.ts +74 -0
- package/dist/context/waka-provider.d.ts +50 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-toast.d.ts +44 -0
- package/dist/hooks/use-translation.d.ts +15 -0
- package/dist/hooks/useToast.d.ts +44 -0
- package/dist/index.cjs.js +70 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.es.js +16379 -0
- package/dist/lib/i18n.d.ts +4 -0
- package/dist/types/provider.d.ts +108 -0
- package/dist/ui.css +1 -0
- package/dist/utils/cn.d.ts +1 -0
- package/dist/utils/datetime-helpers.d.ts +137 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/theme-loader.d.ts +101 -0
- package/dist/utils/tweak.d.ts +18 -0
- package/package.json +118 -0
- package/src/styles/carousel.css +687 -0
- package/src/styles/code-highlight.css +232 -0
- package/src/styles/datepicker.css +420 -0
- package/src/styles/globals.css +84 -0
- package/src/styles/prism.css +261 -0
- package/src/styles/themes/forest.css +55 -0
- package/src/styles/themes/index.css +7 -0
- package/src/styles/themes/monochrome.css +55 -0
- package/src/styles/themes/perpetuity.css +55 -0
- package/src/styles/themes/sunset.css +55 -0
- package/src/styles/themes/twilight.css +55 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
/* Import des thèmes TweakCN */
|
|
6
|
+
@import './themes/index.css';
|
|
7
|
+
|
|
8
|
+
/* Import des styles Prism.js pour la coloration syntaxique - APRÈS TweakCN */
|
|
9
|
+
@import './prism.css';
|
|
10
|
+
|
|
11
|
+
/* Import des styles de coloration ultra-spécifiques */
|
|
12
|
+
@import './code-highlight.css';
|
|
13
|
+
|
|
14
|
+
@layer base {
|
|
15
|
+
/* Thème par défaut */
|
|
16
|
+
:root,
|
|
17
|
+
[data-theme="default"] {
|
|
18
|
+
--background: hsl(0 0% 100%);
|
|
19
|
+
--foreground: hsl(222.2 84% 4.9%);
|
|
20
|
+
--card: hsl(0 0% 100%);
|
|
21
|
+
--card-foreground: hsl(222.2 84% 4.9%);
|
|
22
|
+
--popover: hsl(0 0% 100%);
|
|
23
|
+
--popover-foreground: hsl(222.2 84% 4.9%);
|
|
24
|
+
--primary: hsl(222.2 47.4% 11.2%);
|
|
25
|
+
--primary-foreground: hsl(210 40% 98%);
|
|
26
|
+
--secondary: hsl(210 40% 96.1%);
|
|
27
|
+
--secondary-foreground: hsl(222.2 47.4% 11.2%);
|
|
28
|
+
--muted: hsl(210 40% 96.1%);
|
|
29
|
+
--muted-foreground: hsl(215.4 16.3% 46.9%);
|
|
30
|
+
--accent: hsl(210 40% 96.1%);
|
|
31
|
+
--accent-foreground: hsl(222.2 47.4% 11.2%);
|
|
32
|
+
--destructive: hsl(0 84.2% 60.2%);
|
|
33
|
+
--destructive-foreground: hsl(210 40% 98%);
|
|
34
|
+
--border: hsl(214.3 31.8% 91.4%);
|
|
35
|
+
--input: hsl(214.3 31.8% 91.4%);
|
|
36
|
+
--ring: hsl(222.2 84% 4.9%);
|
|
37
|
+
--chart-1: hsl(222.2 47.4% 11.2%);
|
|
38
|
+
--chart-2: hsl(215 25% 27%);
|
|
39
|
+
--chart-3: hsl(210 20% 50%);
|
|
40
|
+
--chart-4: hsl(210 25% 70%);
|
|
41
|
+
--chart-5: hsl(210 20% 85%);
|
|
42
|
+
--radius: 0.5rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dark,
|
|
46
|
+
[data-theme="default"].dark {
|
|
47
|
+
--background: hsl(222.2 84% 4.9%);
|
|
48
|
+
--foreground: hsl(210 40% 98%);
|
|
49
|
+
--card: hsl(222.2 84% 4.9%);
|
|
50
|
+
--card-foreground: hsl(210 40% 98%);
|
|
51
|
+
--popover: hsl(222.2 84% 4.9%);
|
|
52
|
+
--popover-foreground: hsl(210 40% 98%);
|
|
53
|
+
--primary: hsl(210 40% 98%);
|
|
54
|
+
--primary-foreground: hsl(222.2 47.4% 11.2%);
|
|
55
|
+
--secondary: hsl(217.2 32.6% 17.5%);
|
|
56
|
+
--secondary-foreground: hsl(210 40% 98%);
|
|
57
|
+
--muted: hsl(217.2 32.6% 17.5%);
|
|
58
|
+
--muted-foreground: hsl(215 20.2% 65.1%);
|
|
59
|
+
--accent: hsl(217.2 32.6% 17.5%);
|
|
60
|
+
--accent-foreground: hsl(210 40% 98%);
|
|
61
|
+
--destructive: hsl(0 62.8% 30.6%);
|
|
62
|
+
--destructive-foreground: hsl(210 40% 98%);
|
|
63
|
+
--border: hsl(217.2 32.6% 17.5%);
|
|
64
|
+
--input: hsl(217.2 32.6% 17.5%);
|
|
65
|
+
--ring: hsl(212.7 26.8% 83.9%);
|
|
66
|
+
--chart-1: hsl(210 40% 98%);
|
|
67
|
+
--chart-2: hsl(215 20% 70%);
|
|
68
|
+
--chart-3: hsl(210 15% 50%);
|
|
69
|
+
--chart-4: hsl(210 20% 35%);
|
|
70
|
+
--chart-5: hsl(217 25% 25%);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@layer base {
|
|
75
|
+
* {
|
|
76
|
+
@apply border-border;
|
|
77
|
+
}
|
|
78
|
+
body {
|
|
79
|
+
@apply bg-background text-foreground;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
/* Styles Prism.js pour le composant Code - Responsive et accessible */
|
|
2
|
+
/* Utilisation de !important pour éviter les conflits avec TweakCN et Tailwind */
|
|
3
|
+
|
|
4
|
+
/* Thème par défaut (light) */
|
|
5
|
+
code[class*="language-"],
|
|
6
|
+
pre[class*="language-"] {
|
|
7
|
+
background: none !important;
|
|
8
|
+
text-shadow: 0 1px white !important;
|
|
9
|
+
font-size: 1em !important;
|
|
10
|
+
text-align: left !important;
|
|
11
|
+
white-space: pre !important;
|
|
12
|
+
word-spacing: normal !important;
|
|
13
|
+
word-break: normal !important;
|
|
14
|
+
word-wrap: normal !important;
|
|
15
|
+
line-height: 1.5 !important;
|
|
16
|
+
-moz-tab-size: 4 !important;
|
|
17
|
+
-o-tab-size: 4 !important;
|
|
18
|
+
tab-size: 4 !important;
|
|
19
|
+
-webkit-hyphens: none !important;
|
|
20
|
+
-moz-hyphens: none !important;
|
|
21
|
+
-ms-hyphens: none !important;
|
|
22
|
+
hyphens: none !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Responsive font sizes */
|
|
26
|
+
@media (max-width: 640px) {
|
|
27
|
+
code[class*="language-"],
|
|
28
|
+
pre[class*="language-"] {
|
|
29
|
+
font-size: 0.875rem;
|
|
30
|
+
line-height: 1.4;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (min-width: 1024px) {
|
|
35
|
+
code[class*="language-"],
|
|
36
|
+
pre[class*="language-"] {
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
line-height: 1.6;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Code blocks */
|
|
43
|
+
pre[class*="language-"] {
|
|
44
|
+
padding: 1em;
|
|
45
|
+
margin: 0.5em 0;
|
|
46
|
+
overflow: auto;
|
|
47
|
+
border-radius: 0.5rem;
|
|
48
|
+
background: #f8f9fa;
|
|
49
|
+
border: 1px solid #e9ecef;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Inline code */
|
|
53
|
+
:not(pre) > code[class*="language-"] {
|
|
54
|
+
padding: 0.1em 0.3em;
|
|
55
|
+
border-radius: 0.3em;
|
|
56
|
+
white-space: normal;
|
|
57
|
+
background: #f8f9fa;
|
|
58
|
+
border: 1px solid #e9ecef;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Dark theme */
|
|
62
|
+
@media (prefers-color-scheme: dark) {
|
|
63
|
+
code[class*="language-"],
|
|
64
|
+
pre[class*="language-"] {
|
|
65
|
+
color: #e6e6e6;
|
|
66
|
+
background: #1a1a1a;
|
|
67
|
+
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
pre[class*="language-"] {
|
|
71
|
+
background: #1a1a1a;
|
|
72
|
+
border-color: #333;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:not(pre) > code[class*="language-"] {
|
|
76
|
+
background: #1a1a1a;
|
|
77
|
+
border-color: #333;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Syntax highlighting colors - Plus spécifique pour éviter les conflits */
|
|
82
|
+
.token.comment,
|
|
83
|
+
.token.prolog,
|
|
84
|
+
.token.doctype,
|
|
85
|
+
.token.cdata {
|
|
86
|
+
color: #6a737d !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.token.punctuation {
|
|
90
|
+
color: #586069 !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.token.property,
|
|
94
|
+
.token.tag,
|
|
95
|
+
.token.boolean,
|
|
96
|
+
.token.number,
|
|
97
|
+
.token.constant,
|
|
98
|
+
.token.symbol,
|
|
99
|
+
.token.deleted {
|
|
100
|
+
color: #005cc5 !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.token.selector,
|
|
104
|
+
.token.attr-name,
|
|
105
|
+
.token.string,
|
|
106
|
+
.token.char,
|
|
107
|
+
.token.builtin,
|
|
108
|
+
.token.inserted {
|
|
109
|
+
color: #032f62 !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.token.operator,
|
|
113
|
+
.token.entity,
|
|
114
|
+
.token.url,
|
|
115
|
+
.language-css .token.string,
|
|
116
|
+
.style .token.string {
|
|
117
|
+
color: #d73a49 !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.token.atrule,
|
|
121
|
+
.token.attr-value,
|
|
122
|
+
.token.keyword {
|
|
123
|
+
color: #d73a49 !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.token.function,
|
|
127
|
+
.token.class-name {
|
|
128
|
+
color: #6f42c1 !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.token.regex,
|
|
132
|
+
.token.important,
|
|
133
|
+
.token.variable {
|
|
134
|
+
color: #e36209 !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Dark theme syntax colors */
|
|
138
|
+
@media (prefers-color-scheme: dark) {
|
|
139
|
+
.token.comment,
|
|
140
|
+
.token.prolog,
|
|
141
|
+
.token.doctype,
|
|
142
|
+
.token.cdata {
|
|
143
|
+
color: #8b949e !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.token.punctuation {
|
|
147
|
+
color: #c9d1d9 !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.token.property,
|
|
151
|
+
.token.tag,
|
|
152
|
+
.token.boolean,
|
|
153
|
+
.token.number,
|
|
154
|
+
.token.constant,
|
|
155
|
+
.token.symbol,
|
|
156
|
+
.token.deleted {
|
|
157
|
+
color: #79c0ff !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.token.selector,
|
|
161
|
+
.token.attr-name,
|
|
162
|
+
.token.string,
|
|
163
|
+
.token.char,
|
|
164
|
+
.token.builtin,
|
|
165
|
+
.token.inserted {
|
|
166
|
+
color: #a5d6ff !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.token.operator,
|
|
170
|
+
.token.entity,
|
|
171
|
+
.token.url,
|
|
172
|
+
.language-css .token.string,
|
|
173
|
+
.style .token.string {
|
|
174
|
+
color: #ff7b72 !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.token.atrule,
|
|
178
|
+
.token.attr-value,
|
|
179
|
+
.token.keyword {
|
|
180
|
+
color: #ff7b72 !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.token.function,
|
|
184
|
+
.token.class-name {
|
|
185
|
+
color: #d2a8ff !important;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.token.regex,
|
|
189
|
+
.token.important,
|
|
190
|
+
.token.variable {
|
|
191
|
+
color: #ffa657 !important;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Responsive scrollbars */
|
|
196
|
+
pre[class*="language-"]::-webkit-scrollbar {
|
|
197
|
+
height: 8px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
pre[class*="language-"]::-webkit-scrollbar-track {
|
|
201
|
+
background: transparent;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
pre[class*="language-"]::-webkit-scrollbar-thumb {
|
|
205
|
+
background: rgba(0, 0, 0, 0.1);
|
|
206
|
+
border-radius: 4px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
pre[class*="language-"]::-webkit-scrollbar-thumb:hover {
|
|
210
|
+
background: rgba(0, 0, 0, 0.2);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
@media (prefers-color-scheme: dark) {
|
|
214
|
+
pre[class*="language-"]::-webkit-scrollbar-thumb {
|
|
215
|
+
background: rgba(255, 255, 255, 0.1);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
pre[class*="language-"]::-webkit-scrollbar-thumb:hover {
|
|
219
|
+
background: rgba(255, 255, 255, 0.2);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Mobile optimizations */
|
|
224
|
+
@media (max-width: 768px) {
|
|
225
|
+
pre[class*="language-"] {
|
|
226
|
+
padding: 0.75rem;
|
|
227
|
+
margin: 0.25rem 0;
|
|
228
|
+
border-radius: 0.375rem;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
pre[class*="language-"]::-webkit-scrollbar {
|
|
232
|
+
height: 6px;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* Accessibility improvements */
|
|
237
|
+
@media (prefers-reduced-motion: reduce) {
|
|
238
|
+
pre[class*="language-"] {
|
|
239
|
+
transition: none;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Focus styles for keyboard navigation */
|
|
244
|
+
pre[class*="language-"]:focus-within {
|
|
245
|
+
outline: 2px solid #007acc;
|
|
246
|
+
outline-offset: 2px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* Print styles */
|
|
250
|
+
@media print {
|
|
251
|
+
code[class*="language-"],
|
|
252
|
+
pre[class*="language-"] {
|
|
253
|
+
text-shadow: none;
|
|
254
|
+
background: white !important;
|
|
255
|
+
color: black !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
pre[class*="language-"] {
|
|
259
|
+
border: 1px solid #ccc;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* TweakCN Theme: Forest - Vert naturel */
|
|
2
|
+
[data-theme="forest"] {
|
|
3
|
+
--background: #f0f4f0;
|
|
4
|
+
--foreground: #1a3d1a;
|
|
5
|
+
--card: #f7faf7;
|
|
6
|
+
--card-foreground: #1a3d1a;
|
|
7
|
+
--popover: #f7faf7;
|
|
8
|
+
--popover-foreground: #1a3d1a;
|
|
9
|
+
--primary: #2d7a2d;
|
|
10
|
+
--primary-foreground: #ffffff;
|
|
11
|
+
--secondary: #d9ead9;
|
|
12
|
+
--secondary-foreground: #1a3d1a;
|
|
13
|
+
--muted: #e5f0e5;
|
|
14
|
+
--muted-foreground: #4a6b4a;
|
|
15
|
+
--accent: #c4e3c4;
|
|
16
|
+
--accent-foreground: #1a3d1a;
|
|
17
|
+
--destructive: #d13838;
|
|
18
|
+
--destructive-foreground: #ffffff;
|
|
19
|
+
--border: #cde5cd;
|
|
20
|
+
--input: #d9ead9;
|
|
21
|
+
--ring: #2d7a2d;
|
|
22
|
+
--chart-1: #2d7a2d;
|
|
23
|
+
--chart-2: #3d8f3d;
|
|
24
|
+
--chart-3: #4da64d;
|
|
25
|
+
--chart-4: #6bb86b;
|
|
26
|
+
--chart-5: #8fcc8f;
|
|
27
|
+
--radius: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-theme="forest"].dark {
|
|
31
|
+
--background: #0f1f0f;
|
|
32
|
+
--foreground: #7fdf7f;
|
|
33
|
+
--card: #142814;
|
|
34
|
+
--card-foreground: #7fdf7f;
|
|
35
|
+
--popover: #142814;
|
|
36
|
+
--popover-foreground: #7fdf7f;
|
|
37
|
+
--primary: #5fbf5f;
|
|
38
|
+
--primary-foreground: #0f1f0f;
|
|
39
|
+
--secondary: #1f4d1f;
|
|
40
|
+
--secondary-foreground: #7fdf7f;
|
|
41
|
+
--muted: #1a3d1a;
|
|
42
|
+
--muted-foreground: #5fa55f;
|
|
43
|
+
--accent: #2d5f2d;
|
|
44
|
+
--accent-foreground: #7fdf7f;
|
|
45
|
+
--destructive: #e83c3c;
|
|
46
|
+
--destructive-foreground: #f2f2f2;
|
|
47
|
+
--border: #2d5f2d;
|
|
48
|
+
--input: #1f4d1f;
|
|
49
|
+
--ring: #5fbf5f;
|
|
50
|
+
--chart-1: #5fbf5f;
|
|
51
|
+
--chart-2: #4da64d;
|
|
52
|
+
--chart-3: #3d8f3d;
|
|
53
|
+
--chart-4: #2d7a2d;
|
|
54
|
+
--chart-5: #1f5f1f;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* TweakCN Theme: Monochrome - Minimaliste noir et blanc */
|
|
2
|
+
[data-theme="monochrome"] {
|
|
3
|
+
--background: #ffffff;
|
|
4
|
+
--foreground: #0a0a0a;
|
|
5
|
+
--card: #fafafa;
|
|
6
|
+
--card-foreground: #0a0a0a;
|
|
7
|
+
--popover: #fafafa;
|
|
8
|
+
--popover-foreground: #0a0a0a;
|
|
9
|
+
--primary: #171717;
|
|
10
|
+
--primary-foreground: #fafafa;
|
|
11
|
+
--secondary: #f5f5f5;
|
|
12
|
+
--secondary-foreground: #0a0a0a;
|
|
13
|
+
--muted: #f5f5f5;
|
|
14
|
+
--muted-foreground: #737373;
|
|
15
|
+
--accent: #e5e5e5;
|
|
16
|
+
--accent-foreground: #0a0a0a;
|
|
17
|
+
--destructive: #d13838;
|
|
18
|
+
--destructive-foreground: #fafafa;
|
|
19
|
+
--border: #e5e5e5;
|
|
20
|
+
--input: #e5e5e5;
|
|
21
|
+
--ring: #0a0a0a;
|
|
22
|
+
--chart-1: #0a0a0a;
|
|
23
|
+
--chart-2: #404040;
|
|
24
|
+
--chart-3: #737373;
|
|
25
|
+
--chart-4: #a3a3a3;
|
|
26
|
+
--chart-5: #d4d4d4;
|
|
27
|
+
--radius: 0.375rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-theme="monochrome"].dark {
|
|
31
|
+
--background: #0a0a0a;
|
|
32
|
+
--foreground: #fafafa;
|
|
33
|
+
--card: #171717;
|
|
34
|
+
--card-foreground: #fafafa;
|
|
35
|
+
--popover: #171717;
|
|
36
|
+
--popover-foreground: #fafafa;
|
|
37
|
+
--primary: #fafafa;
|
|
38
|
+
--primary-foreground: #0a0a0a;
|
|
39
|
+
--secondary: #262626;
|
|
40
|
+
--secondary-foreground: #fafafa;
|
|
41
|
+
--muted: #171717;
|
|
42
|
+
--muted-foreground: #a3a3a3;
|
|
43
|
+
--accent: #262626;
|
|
44
|
+
--accent-foreground: #fafafa;
|
|
45
|
+
--destructive: #e83c3c;
|
|
46
|
+
--destructive-foreground: #fafafa;
|
|
47
|
+
--border: #262626;
|
|
48
|
+
--input: #262626;
|
|
49
|
+
--ring: #d4d4d4;
|
|
50
|
+
--chart-1: #fafafa;
|
|
51
|
+
--chart-2: #d4d4d4;
|
|
52
|
+
--chart-3: #a3a3a3;
|
|
53
|
+
--chart-4: #737373;
|
|
54
|
+
--chart-5: #404040;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* TweakCN Theme: Perpetuity - Cyan et turquoise */
|
|
2
|
+
[data-theme="perpetuity"] {
|
|
3
|
+
--background: #e8f0f0;
|
|
4
|
+
--foreground: #0a4a55;
|
|
5
|
+
--card: #f2f7f7;
|
|
6
|
+
--card-foreground: #0a4a55;
|
|
7
|
+
--popover: #f2f7f7;
|
|
8
|
+
--popover-foreground: #0a4a55;
|
|
9
|
+
--primary: #06858e;
|
|
10
|
+
--primary-foreground: #ffffff;
|
|
11
|
+
--secondary: #d9eaea;
|
|
12
|
+
--secondary-foreground: #0a4a55;
|
|
13
|
+
--muted: #e0eaea;
|
|
14
|
+
--muted-foreground: #427a7e;
|
|
15
|
+
--accent: #c9e5e7;
|
|
16
|
+
--accent-foreground: #0a4a55;
|
|
17
|
+
--destructive: #d13838;
|
|
18
|
+
--destructive-foreground: #ffffff;
|
|
19
|
+
--border: #cde0e2;
|
|
20
|
+
--input: #d9eaea;
|
|
21
|
+
--ring: #06858e;
|
|
22
|
+
--chart-1: #06858e;
|
|
23
|
+
--chart-2: #1e9ea6;
|
|
24
|
+
--chart-3: #37b6be;
|
|
25
|
+
--chart-4: #5dc7ce;
|
|
26
|
+
--chart-5: #8ad8dd;
|
|
27
|
+
--radius: 0.125rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-theme="perpetuity"].dark {
|
|
31
|
+
--background: #0a1a20;
|
|
32
|
+
--foreground: #4de8e8;
|
|
33
|
+
--card: #0c2025;
|
|
34
|
+
--card-foreground: #4de8e8;
|
|
35
|
+
--popover: #0c2025;
|
|
36
|
+
--popover-foreground: #4de8e8;
|
|
37
|
+
--primary: #4de8e8;
|
|
38
|
+
--primary-foreground: #0a1a20;
|
|
39
|
+
--secondary: #164955;
|
|
40
|
+
--secondary-foreground: #4de8e8;
|
|
41
|
+
--muted: #0f3039;
|
|
42
|
+
--muted-foreground: #36a5a5;
|
|
43
|
+
--accent: #164955;
|
|
44
|
+
--accent-foreground: #4de8e8;
|
|
45
|
+
--destructive: #e83c3c;
|
|
46
|
+
--destructive-foreground: #f2f2f2;
|
|
47
|
+
--border: #164955;
|
|
48
|
+
--input: #164955;
|
|
49
|
+
--ring: #4de8e8;
|
|
50
|
+
--chart-1: #4de8e8;
|
|
51
|
+
--chart-2: #36a5a5;
|
|
52
|
+
--chart-3: #2d8a8a;
|
|
53
|
+
--chart-4: #19595e;
|
|
54
|
+
--chart-5: #0e383c;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* TweakCN Theme: Sunset - Orange et doré */
|
|
2
|
+
[data-theme="sunset"] {
|
|
3
|
+
--background: #faf5f0;
|
|
4
|
+
--foreground: #4d2d1a;
|
|
5
|
+
--card: #fcf8f5;
|
|
6
|
+
--card-foreground: #4d2d1a;
|
|
7
|
+
--popover: #fcf8f5;
|
|
8
|
+
--popover-foreground: #4d2d1a;
|
|
9
|
+
--primary: #ea580c;
|
|
10
|
+
--primary-foreground: #ffffff;
|
|
11
|
+
--secondary: #fed7aa;
|
|
12
|
+
--secondary-foreground: #4d2d1a;
|
|
13
|
+
--muted: #fef3c7;
|
|
14
|
+
--muted-foreground: #92400e;
|
|
15
|
+
--accent: #fcd34d;
|
|
16
|
+
--accent-foreground: #4d2d1a;
|
|
17
|
+
--destructive: #d13838;
|
|
18
|
+
--destructive-foreground: #ffffff;
|
|
19
|
+
--border: #fed7aa;
|
|
20
|
+
--input: #fed7aa;
|
|
21
|
+
--ring: #ea580c;
|
|
22
|
+
--chart-1: #ea580c;
|
|
23
|
+
--chart-2: #f59e0b;
|
|
24
|
+
--chart-3: #fbbf24;
|
|
25
|
+
--chart-4: #fcd34d;
|
|
26
|
+
--chart-5: #fde68a;
|
|
27
|
+
--radius: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-theme="sunset"].dark {
|
|
31
|
+
--background: #1c0f08;
|
|
32
|
+
--foreground: #fed7aa;
|
|
33
|
+
--card: #291508;
|
|
34
|
+
--card-foreground: #fed7aa;
|
|
35
|
+
--popover: #291508;
|
|
36
|
+
--popover-foreground: #fed7aa;
|
|
37
|
+
--primary: #f59e0b;
|
|
38
|
+
--primary-foreground: #1c0f08;
|
|
39
|
+
--secondary: #78350f;
|
|
40
|
+
--secondary-foreground: #fed7aa;
|
|
41
|
+
--muted: #451a03;
|
|
42
|
+
--muted-foreground: #d97706;
|
|
43
|
+
--accent: #92400e;
|
|
44
|
+
--accent-foreground: #fed7aa;
|
|
45
|
+
--destructive: #e83c3c;
|
|
46
|
+
--destructive-foreground: #f2f2f2;
|
|
47
|
+
--border: #78350f;
|
|
48
|
+
--input: #78350f;
|
|
49
|
+
--ring: #f59e0b;
|
|
50
|
+
--chart-1: #f59e0b;
|
|
51
|
+
--chart-2: #ea580c;
|
|
52
|
+
--chart-3: #d97706;
|
|
53
|
+
--chart-4: #b45309;
|
|
54
|
+
--chart-5: #92400e;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* TweakCN Theme: Twilight - Violet crépusculaire */
|
|
2
|
+
[data-theme="twilight"] {
|
|
3
|
+
--background: #f5f0f7;
|
|
4
|
+
--foreground: #3d1a4d;
|
|
5
|
+
--card: #faf7fc;
|
|
6
|
+
--card-foreground: #3d1a4d;
|
|
7
|
+
--popover: #faf7fc;
|
|
8
|
+
--popover-foreground: #3d1a4d;
|
|
9
|
+
--primary: #8b5cf6;
|
|
10
|
+
--primary-foreground: #ffffff;
|
|
11
|
+
--secondary: #ead9f5;
|
|
12
|
+
--secondary-foreground: #3d1a4d;
|
|
13
|
+
--muted: #f0e5f7;
|
|
14
|
+
--muted-foreground: #6b4a7e;
|
|
15
|
+
--accent: #e3c4f5;
|
|
16
|
+
--accent-foreground: #3d1a4d;
|
|
17
|
+
--destructive: #d13838;
|
|
18
|
+
--destructive-foreground: #ffffff;
|
|
19
|
+
--border: #e5cdf0;
|
|
20
|
+
--input: #ead9f5;
|
|
21
|
+
--ring: #8b5cf6;
|
|
22
|
+
--chart-1: #8b5cf6;
|
|
23
|
+
--chart-2: #a78bfa;
|
|
24
|
+
--chart-3: #c4b5fd;
|
|
25
|
+
--chart-4: #ddd6fe;
|
|
26
|
+
--chart-5: #ede9fe;
|
|
27
|
+
--radius: 0.75rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-theme="twilight"].dark {
|
|
31
|
+
--background: #1a0f28;
|
|
32
|
+
--foreground: #e9d5ff;
|
|
33
|
+
--card: #241633;
|
|
34
|
+
--card-foreground: #e9d5ff;
|
|
35
|
+
--popover: #241633;
|
|
36
|
+
--popover-foreground: #e9d5ff;
|
|
37
|
+
--primary: #a78bfa;
|
|
38
|
+
--primary-foreground: #1a0f28;
|
|
39
|
+
--secondary: #3d2859;
|
|
40
|
+
--secondary-foreground: #e9d5ff;
|
|
41
|
+
--muted: #2d1f42;
|
|
42
|
+
--muted-foreground: #9f7aea;
|
|
43
|
+
--accent: #4c3268;
|
|
44
|
+
--accent-foreground: #e9d5ff;
|
|
45
|
+
--destructive: #e83c3c;
|
|
46
|
+
--destructive-foreground: #f2f2f2;
|
|
47
|
+
--border: #4c3268;
|
|
48
|
+
--input: #3d2859;
|
|
49
|
+
--ring: #a78bfa;
|
|
50
|
+
--chart-1: #a78bfa;
|
|
51
|
+
--chart-2: #9f7aea;
|
|
52
|
+
--chart-3: #8b5cf6;
|
|
53
|
+
--chart-4: #7c3aed;
|
|
54
|
+
--chart-5: #6d28d9;
|
|
55
|
+
}
|