@kadoui/tailwindcss 1.2.2 → 1.2.4
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/package.json +1 -1
- package/src/styles/base.css +15 -15
- package/src/styles/components/choice.css +7 -7
package/package.json
CHANGED
package/src/styles/base.css
CHANGED
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
--element-text: var(--element-xs-text);
|
|
53
53
|
--element-leading: var(--element-xs-leading);
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
--element-rounded:
|
|
55
|
+
&.element-rounded-full,
|
|
56
|
+
.element-rounded-full * {
|
|
57
|
+
--element-rounded: calc(infinity * 1px);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
--element-text: var(--element-sm-text);
|
|
65
65
|
--element-leading: var(--element-sm-leading);
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
--element-rounded:
|
|
67
|
+
&.element-rounded-full,
|
|
68
|
+
.element-rounded-full * {
|
|
69
|
+
--element-rounded: calc(infinity * 1px);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
--element-text: var(--element-medium-text);
|
|
77
77
|
--element-leading: var(--element-medium-leading);
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
--element-rounded:
|
|
79
|
+
&.element-rounded-full,
|
|
80
|
+
.element-rounded-full * {
|
|
81
|
+
--element-rounded: calc(infinity * 1px);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
--element-text: var(--element-lg-text);
|
|
89
89
|
--element-leading: var(--element-lg-leading);
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
--element-rounded:
|
|
91
|
+
&.element-rounded-full,
|
|
92
|
+
.element-rounded-full * {
|
|
93
|
+
--element-rounded: calc(infinity * 1px);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
--element-text: var(--element-xl-text);
|
|
101
101
|
--element-leading: var(--element-xl-leading);
|
|
102
102
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
--element-rounded:
|
|
103
|
+
&.element-rounded-full,
|
|
104
|
+
.element-rounded-full * {
|
|
105
|
+
--element-rounded: calc(infinity * 1px);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
width: var(--element-size);
|
|
9
9
|
height: var(--element-size);
|
|
10
10
|
|
|
11
|
-
&[data-state="false"]>.choice-radio-
|
|
11
|
+
&[data-state="false"]>.choice-radio-thumb {
|
|
12
12
|
@apply opacity-0 scale-0;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
@utility choice-radio-
|
|
16
|
+
@utility choice-radio-thumb {
|
|
17
17
|
@apply bg-palette rounded-full transition-all flex items-center justify-center text-brush;
|
|
18
18
|
|
|
19
19
|
width: calc(var(--element-size) - 0.5rem);
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
width: var(--element-size);
|
|
27
27
|
height: var(--element-size);
|
|
28
28
|
|
|
29
|
-
&[data-state="false"]>.choice-checkbox-
|
|
29
|
+
&[data-state="false"]>.choice-checkbox-thumb {
|
|
30
30
|
@apply opacity-0 scale-0;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
@utility choice-checkbox-
|
|
34
|
+
@utility choice-checkbox-thumb {
|
|
35
35
|
@apply bg-palette rounded-[calc(var(--element-rounded)-0.25rem)] transition-all flex items-center justify-center text-brush;
|
|
36
36
|
|
|
37
37
|
width: calc(var(--element-size) - 0.5rem);
|
|
@@ -47,21 +47,21 @@
|
|
|
47
47
|
&[data-state="true"] {
|
|
48
48
|
@apply bg-palette text-brush;
|
|
49
49
|
|
|
50
|
-
&>.choice-switch-
|
|
50
|
+
&>.choice-switch-thumb {
|
|
51
51
|
@apply bg-brush text-palette;
|
|
52
52
|
|
|
53
53
|
left: calc(var(--element-size) + 0.25rem);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
&[data-state="false"]>.choice-switch-
|
|
57
|
+
&[data-state="false"]>.choice-switch-thumb {
|
|
58
58
|
@apply bg-palette text-brush;
|
|
59
59
|
|
|
60
60
|
left: 0.25rem;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
@utility choice-switch-
|
|
64
|
+
@utility choice-switch-thumb {
|
|
65
65
|
@apply absolute rounded-full transition-all flex items-center justify-center;
|
|
66
66
|
|
|
67
67
|
width: calc(var(--element-size) - 0.5rem);
|