daisyui 2.4.0 → 2.6.1

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/themes.css CHANGED
@@ -36,13 +36,10 @@
36
36
  }
37
37
  @media (prefers-color-scheme: dark) {
38
38
  :root {
39
- --p: 259 94% 61%;
40
- --pf: 259 94% 49%;
41
- --sf: 314 100% 38%;
42
- --af: 174 60% 41%;
43
- --nf: 222 13% 15%;
44
- --b2: 219 14% 25%;
45
- --b3: 219 14% 23%;
39
+ --p: 262 80% 50%;
40
+ --pf: 262 80% 40%;
41
+ --sf: 316 70% 40%;
42
+ --af: 175 70% 33%;
46
43
  --in: 198 93% 60%;
47
44
  --su: 158 64% 52%;
48
45
  --wa: 43 96% 56%;
@@ -62,14 +59,17 @@
62
59
  --tab-border: 1px;
63
60
  --tab-radius: 0.5rem;
64
61
  --pc: 0 0% 100%;
65
- --s: 314 100% 47%;
62
+ --s: 316 70% 50%;
66
63
  --sc: 0 0% 100%;
67
- --a: 174 60% 51%;
64
+ --a: 175 70% 41%;
68
65
  --ac: 0 0% 100%;
69
- --n: 222 13% 19%;
70
- --nc: 0 0% 100%;
71
- --b1: 219 14% 28%;
72
- --bc: 228 14% 93%
66
+ --n: 218 18% 12%;
67
+ --nf: 223 17% 8%;
68
+ --nc: 220 13% 69%;
69
+ --b1: 220 18% 20%;
70
+ --b2: 220 17% 17%;
71
+ --b3: 219 18% 15%;
72
+ --bc: 220 13% 69%
73
73
  }
74
74
  }
75
75
  [data-theme=light] {
@@ -109,13 +109,10 @@
109
109
  --bc: 215 28% 17%
110
110
  }
111
111
  [data-theme=dark] {
112
- --p: 259 94% 61%;
113
- --pf: 259 94% 49%;
114
- --sf: 314 100% 38%;
115
- --af: 174 60% 41%;
116
- --nf: 222 13% 15%;
117
- --b2: 219 14% 25%;
118
- --b3: 219 14% 23%;
112
+ --p: 262 80% 50%;
113
+ --pf: 262 80% 40%;
114
+ --sf: 316 70% 40%;
115
+ --af: 175 70% 33%;
119
116
  --in: 198 93% 60%;
120
117
  --su: 158 64% 52%;
121
118
  --wa: 43 96% 56%;
@@ -135,14 +132,17 @@
135
132
  --tab-border: 1px;
136
133
  --tab-radius: 0.5rem;
137
134
  --pc: 0 0% 100%;
138
- --s: 314 100% 47%;
135
+ --s: 316 70% 50%;
139
136
  --sc: 0 0% 100%;
140
- --a: 174 60% 51%;
137
+ --a: 175 70% 41%;
141
138
  --ac: 0 0% 100%;
142
- --n: 222 13% 19%;
143
- --nc: 0 0% 100%;
144
- --b1: 219 14% 28%;
145
- --bc: 228 14% 93%
139
+ --n: 218 18% 12%;
140
+ --nf: 223 17% 8%;
141
+ --nc: 220 13% 69%;
142
+ --b1: 220 18% 20%;
143
+ --b2: 220 17% 17%;
144
+ --b3: 219 18% 15%;
145
+ --bc: 220 13% 69%
146
146
  }
147
147
  [data-theme=cupcake] {
148
148
  --p: 183 47% 59%;
@@ -578,36 +578,36 @@
578
578
  --er: 0 72% 51%
579
579
  }
580
580
  [data-theme=lofi] {
581
- --p: 0 0% 50%;
582
- --pf: 0 0% 40%;
583
- --sf: 0 0% 24%;
584
- --af: 0 0% 8%;
585
- --nf: 240 4% 76%;
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: 240 4% 95%;
594
- --s: 0 0% 30%;
595
- --sc: 240 4% 95%;
596
- --a: 0 0% 10%;
597
- --ac: 240 4% 95%;
598
- --n: 240 4% 95%;
599
- --nc: 0 0% 30%;
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% 100%;
602
- --b3: 0 0% 100%;
603
- --bc: 0 0% 49%;
604
- --in: 221 83% 53%;
605
- --su: 142 76% 36%;
606
- --wa: 32 95% 44%;
607
- --er: 0 72% 51%;
608
- --rounded-box: 0;
609
- --rounded-btn: 0;
610
- --rounded-badge: 0;
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;
@@ -723,28 +723,28 @@
723
723
  --tab-radius: 0.2rem
724
724
  }
725
725
  [data-theme=black] {
726
- --p: 0 0% 20%;
727
- --pf: 0 0% 16%;
728
- --sf: 0 0% 16%;
729
- --af: 0 0% 16%;
730
- --nf: 0 0% 16%;
731
- --b2: 0 0% 0%;
732
- --b3: 0 0% 0%;
726
+ --p: 0 2% 20%;
727
+ --pf: 0 2% 16%;
728
+ --sf: 0 2% 16%;
729
+ --af: 0 2% 16%;
733
730
  --bc: 0 0% 80%;
734
- --pc: 0 0% 84%;
735
- --sc: 0 0% 84%;
736
- --ac: 0 0% 84%;
737
- --nc: 0 0% 84%;
731
+ --pc: 0 5% 84%;
732
+ --sc: 0 5% 84%;
733
+ --ac: 0 5% 84%;
734
+ --nc: 0 3% 83%;
738
735
  --inc: 240 100% 90%;
739
736
  --suc: 120 100% 85%;
740
737
  --wac: 60 100% 10%;
741
738
  --erc: 0 100% 90%;
742
739
  --border-btn: 1px;
743
740
  --tab-border: 1px;
744
- --s: 0 0% 20%;
745
- --a: 0 0% 20%;
741
+ --s: 0 2% 20%;
742
+ --a: 0 2% 20%;
746
743
  --b1: 0 0% 0%;
747
- --n: 0 0% 20%;
744
+ --b2: 0 0% 5%;
745
+ --b3: 0 2% 10%;
746
+ --n: 0 1% 15%;
747
+ --nf: 0 2% 20%;
748
748
  --in: 240 100% 50%;
749
749
  --su: 120 100% 25%;
750
750
  --wa: 60 100% 50%;
@@ -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/dist/unstyled.css CHANGED
@@ -52,7 +52,9 @@
52
52
  display: inline-flex;
53
53
  align-items: center;
54
54
  justify-content: center;
55
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
55
56
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
57
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
56
58
  transition-duration: 200ms;
57
59
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
58
60
  height: 1.25rem;
@@ -82,19 +84,23 @@
82
84
  align-items: center
83
85
  }
84
86
  .breadcrumbs > ul > li > a:hover {
85
- text-decoration-line: underline
87
+ -webkit-text-decoration-line: underline;
88
+ text-decoration-line: underline
86
89
  }
87
90
  .btn {
88
91
  display: inline-flex;
89
92
  flex-shrink: 0;
90
93
  cursor: pointer;
91
- user-select: none;
94
+ -webkit-user-select: none;
95
+ user-select: none;
92
96
  flex-wrap: wrap;
93
97
  align-items: center;
94
98
  justify-content: center;
95
99
  border-color: transparent;
96
100
  text-align: center;
101
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
97
102
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
103
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
98
104
  transition-duration: 200ms;
99
105
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
100
106
  border-radius: var(--rounded-btn, 0.5rem);
@@ -166,7 +172,8 @@
166
172
  flex-wrap: wrap;
167
173
  }
168
174
  .btn-group > input[type="radio"].btn {
169
- appearance: none;
175
+ -webkit-appearance: none;
176
+ appearance: none;
170
177
  }
171
178
  .btn-group > input[type="radio"].btn:before {
172
179
  content: attr(data-title);
@@ -253,7 +260,8 @@
253
260
  grid-row-start: 1;
254
261
  }
255
262
  .collapse > input[type="checkbox"] {
256
- appearance: none;
263
+ -webkit-appearance: none;
264
+ appearance: none;
257
265
  opacity: 0;
258
266
  }
259
267
  .collapse-content {
@@ -322,7 +330,8 @@
322
330
  position: absolute;
323
331
  height: 0px;
324
332
  width: 0px;
325
- appearance: none;
333
+ -webkit-appearance: none;
334
+ appearance: none;
326
335
  opacity: 0;
327
336
  }
328
337
  .drawer-toggle ~ .drawer-content {
@@ -506,7 +515,8 @@
506
515
  }
507
516
  .label {
508
517
  display: flex;
509
- user-select: none;
518
+ -webkit-user-select: none;
519
+ user-select: none;
510
520
  align-items: center;
511
521
  justify-content: space-between
512
522
  }
@@ -587,7 +597,9 @@
587
597
  }
588
598
  .input {
589
599
  flex-shrink: 1;
600
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
590
601
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
602
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
591
603
  transition-duration: 200ms;
592
604
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
593
605
  height: 3rem;
@@ -666,13 +678,16 @@
666
678
  }
667
679
  .link {
668
680
  cursor: pointer;
669
- text-decoration-line: underline
681
+ -webkit-text-decoration-line: underline;
682
+ text-decoration-line: underline
670
683
  }
671
684
  .link-hover {
672
- text-decoration-line: none
685
+ -webkit-text-decoration-line: none;
686
+ text-decoration-line: none
673
687
  }
674
688
  .link-hover:hover {
675
- text-decoration-line: underline
689
+ -webkit-text-decoration-line: underline;
690
+ text-decoration-line: underline
676
691
  }
677
692
  .mask {
678
693
  -webkit-mask-size: contain;
@@ -717,7 +732,8 @@
717
732
  }
718
733
  .menu :where(li:not(.disabled):not(.menu-title)) > :where(*:not(ul)) {
719
734
  cursor: pointer;
720
- user-select: none;
735
+ -webkit-user-select: none;
736
+ user-select: none;
721
737
  align-items: center;
722
738
  outline: 2px solid transparent;
723
739
  outline-offset: 2px
@@ -799,7 +815,8 @@
799
815
  position: fixed;
800
816
  height: 0px;
801
817
  width: 0px;
802
- appearance: none;
818
+ -webkit-appearance: none;
819
+ appearance: none;
803
820
  opacity: 0;
804
821
  }
805
822
  .navbar {
@@ -807,7 +824,7 @@
807
824
  align-items: center;
808
825
  }
809
826
  .navbar > * {
810
- display: flex;
827
+ display: inline-flex;
811
828
  align-items: center;
812
829
  }
813
830
  .navbar-start {
@@ -824,7 +841,8 @@
824
841
  .progress {
825
842
  position: relative;
826
843
  width: 100%;
827
- appearance: none;
844
+ -webkit-appearance: none;
845
+ appearance: none;
828
846
  overflow: hidden
829
847
  }
830
848
  .radial-progress {
@@ -843,11 +861,13 @@
843
861
  background-color: transparent;
844
862
  }
845
863
  .radial-progress::-webkit-progress-value {
846
- appearance: none;
864
+ -webkit-appearance: none;
865
+ appearance: none;
847
866
  background-color: transparent;
848
867
  }
849
868
  .radial-progress::-webkit-progress-bar {
850
- appearance: none;
869
+ -webkit-appearance: none;
870
+ appearance: none;
851
871
  background-color: transparent;
852
872
  }
853
873
  .radial-progress:before, .radial-progress:after {
@@ -893,9 +913,13 @@
893
913
 
894
914
  cursor: pointer;
895
915
 
896
- user-select: none;
916
+ -webkit-user-select: none;
917
+
918
+ user-select: none;
919
+
920
+ -webkit-appearance: none;
897
921
 
898
- appearance: none;
922
+ appearance: none;
899
923
 
900
924
  height: 3rem;
901
925
 
@@ -993,7 +1017,9 @@
993
1017
 
994
1018
  display: inline-grid;
995
1019
 
996
- user-select: none;
1020
+ -webkit-user-select: none;
1021
+
1022
+ user-select: none;
997
1023
 
998
1024
  place-content: center
999
1025
  }
@@ -1007,7 +1033,9 @@
1007
1033
 
1008
1034
  .swap input {
1009
1035
 
1010
- appearance: none
1036
+ -webkit-appearance: none;
1037
+
1038
+ appearance: none
1011
1039
  }
1012
1040
 
1013
1041
  .swap .swap-on, .swap .swap-indeterminate, .swap input:indeterminate ~ .swap-on {
@@ -1033,7 +1061,8 @@
1033
1061
  position: relative;
1034
1062
  display: inline-flex;
1035
1063
  cursor: pointer;
1036
- user-select: none;
1064
+ -webkit-user-select: none;
1065
+ user-select: none;
1037
1066
  flex-wrap: wrap;
1038
1067
  align-items: center;
1039
1068
  justify-content: center;
@@ -1056,7 +1085,9 @@
1056
1085
  }
1057
1086
  .textarea {
1058
1087
  flex-shrink: 1;
1088
+ transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1059
1089
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1090
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
1060
1091
  transition-duration: 200ms;
1061
1092
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1062
1093
  padding-left: 1rem;