daisyui 2.5.0 → 2.6.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/README.md +1 -1
- package/dist/full.css +1 -1
- package/dist/styled.css +13 -27
- package/dist/styled.js +1 -1
- package/dist/styled.rtl.js +1 -1
- package/dist/themes.css +134 -26
- package/package.json +1 -1
- package/src/colors/functions.js +3 -0
- package/src/colors/themes.js +60 -18
package/dist/themes.css
CHANGED
|
@@ -578,36 +578,36 @@
|
|
|
578
578
|
--er: 0 72% 51%
|
|
579
579
|
}
|
|
580
580
|
[data-theme=lofi] {
|
|
581
|
-
--p: 0 0%
|
|
582
|
-
--pf: 0 0%
|
|
583
|
-
--sf: 0
|
|
584
|
-
--af: 0 0%
|
|
585
|
-
--nf:
|
|
586
|
-
--inc: 221 100% 91%;
|
|
587
|
-
--suc: 142 100% 87%;
|
|
588
|
-
--wac: 32 100% 9%;
|
|
589
|
-
--erc: 0 100% 90%;
|
|
581
|
+
--p: 0 0% 5%;
|
|
582
|
+
--pf: 0 0% 4%;
|
|
583
|
+
--sf: 0 2% 8%;
|
|
584
|
+
--af: 0 0% 12%;
|
|
585
|
+
--nf: 0 0% 0%;
|
|
590
586
|
--btn-text-case: uppercase;
|
|
591
587
|
--border-btn: 1px;
|
|
592
588
|
--tab-border: 1px;
|
|
593
|
-
--pc:
|
|
594
|
-
--s: 0
|
|
595
|
-
--sc:
|
|
596
|
-
--a: 0 0%
|
|
597
|
-
--ac:
|
|
598
|
-
--n:
|
|
599
|
-
--nc: 0 0%
|
|
589
|
+
--pc: 0 0% 100%;
|
|
590
|
+
--s: 0 2% 10%;
|
|
591
|
+
--sc: 0 0% 100%;
|
|
592
|
+
--a: 0 0% 15%;
|
|
593
|
+
--ac: 0 0% 100%;
|
|
594
|
+
--n: 0 0% 0%;
|
|
595
|
+
--nc: 0 0% 100%;
|
|
600
596
|
--b1: 0 0% 100%;
|
|
601
|
-
--b2: 0 0%
|
|
602
|
-
--b3: 0
|
|
603
|
-
--bc: 0 0%
|
|
604
|
-
--in:
|
|
605
|
-
--
|
|
606
|
-
--
|
|
607
|
-
--
|
|
608
|
-
--
|
|
609
|
-
--
|
|
610
|
-
--
|
|
597
|
+
--b2: 0 0% 95%;
|
|
598
|
+
--b3: 0 2% 90%;
|
|
599
|
+
--bc: 0 0% 0%;
|
|
600
|
+
--in: 212 100% 48%;
|
|
601
|
+
--inc: 0 0% 100%;
|
|
602
|
+
--su: 137 72% 46%;
|
|
603
|
+
--suc: 0 0% 100%;
|
|
604
|
+
--wa: 5 100% 66%;
|
|
605
|
+
--wac: 0 0% 100%;
|
|
606
|
+
--er: 325 78% 49%;
|
|
607
|
+
--erc: 0 0% 100%;
|
|
608
|
+
--rounded-box: 0.25rem;
|
|
609
|
+
--rounded-btn: 0.125rem;
|
|
610
|
+
--rounded-badge: 0.125rem;
|
|
611
611
|
--animation-btn: 0;
|
|
612
612
|
--animation-input: 0;
|
|
613
613
|
--btn-focus-scale: 1;
|
|
@@ -1010,6 +1010,114 @@
|
|
|
1010
1010
|
--wa: 50 87% 75%;
|
|
1011
1011
|
--er: 1 70% 83%
|
|
1012
1012
|
}
|
|
1013
|
+
[data-theme=night] {
|
|
1014
|
+
--p: 198 93% 60%;
|
|
1015
|
+
--pf: 198 93% 48%;
|
|
1016
|
+
--sf: 234 89% 59%;
|
|
1017
|
+
--af: 329 86% 56%;
|
|
1018
|
+
--b2: 222 47% 10%;
|
|
1019
|
+
--b3: 222 47% 9%;
|
|
1020
|
+
--bc: 222 66% 82%;
|
|
1021
|
+
--pc: 198 100% 12%;
|
|
1022
|
+
--sc: 234 100% 15%;
|
|
1023
|
+
--ac: 329 100% 14%;
|
|
1024
|
+
--nc: 217 76% 83%;
|
|
1025
|
+
--inc: 198 100% 90%;
|
|
1026
|
+
--suc: 172 100% 10%;
|
|
1027
|
+
--wac: 41 100% 13%;
|
|
1028
|
+
--erc: 351 100% 14%;
|
|
1029
|
+
--rounded-box: 1rem;
|
|
1030
|
+
--rounded-btn: 0.5rem;
|
|
1031
|
+
--rounded-badge: 1.9rem;
|
|
1032
|
+
--animation-btn: 0.25s;
|
|
1033
|
+
--animation-input: .2s;
|
|
1034
|
+
--btn-text-case: uppercase;
|
|
1035
|
+
--btn-focus-scale: 0.95;
|
|
1036
|
+
--border-btn: 1px;
|
|
1037
|
+
--tab-border: 1px;
|
|
1038
|
+
--tab-radius: 0.5rem;
|
|
1039
|
+
--s: 234 89% 74%;
|
|
1040
|
+
--a: 329 86% 70%;
|
|
1041
|
+
--n: 217 33% 17%;
|
|
1042
|
+
--nf: 217 30% 22%;
|
|
1043
|
+
--b1: 222 47% 11%;
|
|
1044
|
+
--in: 198 90% 48%;
|
|
1045
|
+
--su: 172 66% 50%;
|
|
1046
|
+
--wa: 41 88% 64%;
|
|
1047
|
+
--er: 351 95% 71%
|
|
1048
|
+
}
|
|
1049
|
+
[data-theme=coffee] {
|
|
1050
|
+
--p: 30 67% 58%;
|
|
1051
|
+
--pf: 30 67% 46%;
|
|
1052
|
+
--sf: 182 25% 16%;
|
|
1053
|
+
--af: 194 74% 20%;
|
|
1054
|
+
--nf: 300 20% 5%;
|
|
1055
|
+
--b2: 306 19% 10%;
|
|
1056
|
+
--b3: 306 19% 9%;
|
|
1057
|
+
--pc: 30 100% 12%;
|
|
1058
|
+
--sc: 182 67% 84%;
|
|
1059
|
+
--ac: 194 100% 85%;
|
|
1060
|
+
--nc: 300 14% 81%;
|
|
1061
|
+
--inc: 171 100% 13%;
|
|
1062
|
+
--suc: 93 100% 12%;
|
|
1063
|
+
--wac: 43 100% 14%;
|
|
1064
|
+
--erc: 10 100% 15%;
|
|
1065
|
+
--rounded-box: 1rem;
|
|
1066
|
+
--rounded-btn: 0.5rem;
|
|
1067
|
+
--rounded-badge: 1.9rem;
|
|
1068
|
+
--animation-btn: 0.25s;
|
|
1069
|
+
--animation-input: .2s;
|
|
1070
|
+
--btn-text-case: uppercase;
|
|
1071
|
+
--btn-focus-scale: 0.95;
|
|
1072
|
+
--border-btn: 1px;
|
|
1073
|
+
--tab-border: 1px;
|
|
1074
|
+
--tab-radius: 0.5rem;
|
|
1075
|
+
--s: 182 25% 20%;
|
|
1076
|
+
--a: 194 74% 25%;
|
|
1077
|
+
--n: 300 20% 6%;
|
|
1078
|
+
--b1: 306 19% 11%;
|
|
1079
|
+
--bc: 37 8% 42%;
|
|
1080
|
+
--in: 171 37% 67%;
|
|
1081
|
+
--su: 93 25% 62%;
|
|
1082
|
+
--wa: 43 100% 69%;
|
|
1083
|
+
--er: 10 95% 75%
|
|
1084
|
+
}
|
|
1085
|
+
[data-theme=winter] {
|
|
1086
|
+
--p: 212 100% 51%;
|
|
1087
|
+
--pf: 212 100% 41%;
|
|
1088
|
+
--sf: 247 47% 35%;
|
|
1089
|
+
--af: 310 49% 42%;
|
|
1090
|
+
--nf: 217 92% 8%;
|
|
1091
|
+
--pc: 212 100% 90%;
|
|
1092
|
+
--sc: 247 100% 89%;
|
|
1093
|
+
--ac: 310 100% 90%;
|
|
1094
|
+
--nc: 217 100% 82%;
|
|
1095
|
+
--inc: 192 100% 16%;
|
|
1096
|
+
--suc: 182 100% 13%;
|
|
1097
|
+
--wac: 32 100% 17%;
|
|
1098
|
+
--erc: 0 100% 14%;
|
|
1099
|
+
--rounded-box: 1rem;
|
|
1100
|
+
--rounded-btn: 0.5rem;
|
|
1101
|
+
--rounded-badge: 1.9rem;
|
|
1102
|
+
--animation-btn: 0.25s;
|
|
1103
|
+
--animation-input: .2s;
|
|
1104
|
+
--btn-text-case: uppercase;
|
|
1105
|
+
--btn-focus-scale: 0.95;
|
|
1106
|
+
--border-btn: 1px;
|
|
1107
|
+
--tab-border: 1px;
|
|
1108
|
+
--tab-radius: 0.5rem;
|
|
1109
|
+
--s: 247 47% 43%;
|
|
1110
|
+
--a: 310 49% 52%;
|
|
1111
|
+
--n: 217 92% 10%;
|
|
1112
|
+
--b1: 0 0% 100%;
|
|
1113
|
+
--b2: 217 100% 97%;
|
|
1114
|
+
--b3: 219 44% 92%;
|
|
1115
|
+
--bc: 214 30% 32%;
|
|
1116
|
+
--in: 192 93% 78%;
|
|
1117
|
+
--su: 182 47% 66%;
|
|
1118
|
+
--wa: 32 62% 84%;
|
|
1119
|
+
--er: 0 63% 72%
|
|
1120
|
+
}
|
|
1013
1121
|
*, ::before, ::after {
|
|
1014
1122
|
--tw-translate-x: 0;
|
|
1015
1123
|
--tw-translate-y: 0;
|
package/package.json
CHANGED
package/src/colors/functions.js
CHANGED
package/src/colors/themes.js
CHANGED
|
@@ -189,25 +189,29 @@ module.exports = {
|
|
|
189
189
|
"base-content": "#1f2937",
|
|
190
190
|
},
|
|
191
191
|
"[data-theme=lofi]": {
|
|
192
|
-
primary: "#
|
|
193
|
-
"primary-content": "#
|
|
194
|
-
secondary: "#
|
|
195
|
-
"secondary-content": "#
|
|
196
|
-
accent: "#
|
|
197
|
-
"accent-content": "#
|
|
198
|
-
neutral: "#
|
|
199
|
-
"neutral-content": "#
|
|
192
|
+
"primary": "#0D0D0D",
|
|
193
|
+
"primary-content": "#ffffff",
|
|
194
|
+
"secondary": "#1A1919",
|
|
195
|
+
"secondary-content": "#ffffff",
|
|
196
|
+
"accent": "#262626",
|
|
197
|
+
"accent-content": "#ffffff",
|
|
198
|
+
"neutral": "#000000",
|
|
199
|
+
"neutral-content": "#ffffff",
|
|
200
200
|
"base-100": "#ffffff",
|
|
201
|
-
"base-200": "#
|
|
202
|
-
"base-300": "#
|
|
203
|
-
"base-content": "#
|
|
204
|
-
"info": "#
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"
|
|
201
|
+
"base-200": "#F2F2F2",
|
|
202
|
+
"base-300": "#E6E5E5",
|
|
203
|
+
"base-content": "#000000",
|
|
204
|
+
"info": "#0070F3",
|
|
205
|
+
"info-content": "#ffffff",
|
|
206
|
+
"success": "#21CC51",
|
|
207
|
+
"success-content": "#ffffff",
|
|
208
|
+
"warning": "#FF6154",
|
|
209
|
+
"warning-content": "#ffffff",
|
|
210
|
+
"error": "#DE1C8D",
|
|
211
|
+
"error-content": "#ffffff",
|
|
212
|
+
"--rounded-box": "0.25rem",
|
|
213
|
+
"--rounded-btn": "0.125rem",
|
|
214
|
+
"--rounded-badge": "0.125rem",
|
|
211
215
|
"--animation-btn": "0",
|
|
212
216
|
"--animation-input": "0",
|
|
213
217
|
"--btn-focus-scale": "1",
|
|
@@ -359,4 +363,42 @@ module.exports = {
|
|
|
359
363
|
warning: "#F7E589",
|
|
360
364
|
error: "#F2B6B5",
|
|
361
365
|
},
|
|
366
|
+
"[data-theme=night]": {
|
|
367
|
+
"primary": "#38bdf8",
|
|
368
|
+
"secondary": "#818CF8",
|
|
369
|
+
"accent": "#F471B5",
|
|
370
|
+
"neutral": "#1E293B",
|
|
371
|
+
"neutral-focus": "#273449",
|
|
372
|
+
"base-100": "#0F172A",
|
|
373
|
+
"info": "#0CA5E9",
|
|
374
|
+
"success": "#2DD4BF",
|
|
375
|
+
"warning": "#F4BF50",
|
|
376
|
+
"error": "#FB7085",
|
|
377
|
+
},
|
|
378
|
+
"[data-theme=coffee]": {
|
|
379
|
+
"primary": "#DB924B",
|
|
380
|
+
"secondary": "#263E3F",
|
|
381
|
+
"accent": "#10576D",
|
|
382
|
+
"neutral": "#120C12",
|
|
383
|
+
"base-100": "#20161F",
|
|
384
|
+
"base-content": "#756E63",
|
|
385
|
+
"info": "#8DCAC1",
|
|
386
|
+
"success": "#9DB787",
|
|
387
|
+
"warning": "#FFD25F",
|
|
388
|
+
"error": "#FC9581",
|
|
389
|
+
},
|
|
390
|
+
"[data-theme=winter]": {
|
|
391
|
+
"primary": "#047AFF",
|
|
392
|
+
"secondary": "#463AA2",
|
|
393
|
+
"accent": "#C148AC",
|
|
394
|
+
"neutral": "#021431",
|
|
395
|
+
"base-100": "#ffffff",
|
|
396
|
+
"base-200": "#F2F7FF",
|
|
397
|
+
"base-300": "#E3E9F4",
|
|
398
|
+
"base-content": "#394E6A",
|
|
399
|
+
"info": "#93E7FB",
|
|
400
|
+
"success": "#81CFD1",
|
|
401
|
+
"warning": "#EFD7BB",
|
|
402
|
+
"error": "#E58B8B",
|
|
403
|
+
},
|
|
362
404
|
};
|