@luminescent/ui 6.2.6 → 6.3.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/package.json +1 -1
- package/src/index.css +7 -1
package/package.json
CHANGED
package/src/index.css
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
--lum-default-alpha: 100;
|
|
14
14
|
--lum-btn-p-x: 2;
|
|
15
15
|
--lum-input-p-x: 1.5;
|
|
16
|
-
--lum-border-radius: var(--radius-
|
|
16
|
+
--lum-border-radius: var(--radius-lg);
|
|
17
|
+
--lum-border-superellipse: 1;
|
|
17
18
|
--lum-border-mix: 20%;
|
|
18
19
|
--lum-depth: 0;
|
|
19
20
|
--color-lum-border: var(--color-gray-300);
|
|
@@ -124,10 +125,12 @@
|
|
|
124
125
|
|
|
125
126
|
@utility rounded-lum {
|
|
126
127
|
border-radius: var(--lum-border-radius);
|
|
128
|
+
corner-shape: superellipse(var(--lum-border-superellipse));
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
@utility rounded-lum-* {
|
|
130
132
|
border-radius: calc(var(--lum-border-radius) - calc(var(--spacing) * --value(integer)));
|
|
133
|
+
corner-shape: superellipse(var(--lum-border-superellipse));
|
|
131
134
|
}
|
|
132
135
|
|
|
133
136
|
@utility border-gradient-* {
|
|
@@ -162,16 +165,19 @@
|
|
|
162
165
|
@utility lum-input {
|
|
163
166
|
@apply flex motion-safe:transition duration-300 hover:duration-75 active:duration-75 ease-out disabled:opacity-50 hover:drop-shadow-lg active:drop-shadow-lg whitespace-nowrap touch-manipulation select-none lum-input-p-2 lum-bg-lum-input-bg hover:lum-bg-lum-input-hover-bg active:lum-bg-lum-input-hover-bg;
|
|
164
167
|
border-radius: var(--lum-border-radius);
|
|
168
|
+
corner-shape: superellipse(var(--lum-border-superellipse));
|
|
165
169
|
}
|
|
166
170
|
|
|
167
171
|
@utility lum-btn {
|
|
168
172
|
@apply flex items-center motion-safe:transition duration-300 hover:duration-75 active:duration-75 ease-out disabled:opacity-50 hover:drop-shadow-lg active:drop-shadow-lg motion-safe:active:scale-95 whitespace-nowrap touch-manipulation select-none lum-btn-p-2 text-base lum-bg-lum-input-bg hover:lum-bg-lum-input-hover-bg active:lum-bg-lum-input-hover-bg;
|
|
169
173
|
border-radius: var(--lum-border-radius);
|
|
174
|
+
corner-shape: superellipse(var(--lum-border-superellipse));
|
|
170
175
|
}
|
|
171
176
|
|
|
172
177
|
@utility lum-card {
|
|
173
178
|
@apply flex flex-col gap-3 whitespace-pre-wrap lum-bg-lum-card-bg p-7;
|
|
174
179
|
border-radius: var(--lum-border-radius);
|
|
180
|
+
corner-shape: superellipse(var(--lum-border-superellipse));
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
@utility lum-hoverable {
|