@neatui/css 2.0.0-beta.1 → 2.0.0-beta.2
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/core/color.scss +18 -0
- package/core/flex.scss +0 -29
- package/core/theme.scss +1 -1
- package/package.json +1 -1
package/core/color.scss
CHANGED
|
@@ -7,6 +7,24 @@ html {
|
|
|
7
7
|
@mixin color($n, $v) {
|
|
8
8
|
$levels: xs, ss, sm, sl, ms, mm, ml, ls, lm, ll, xl;
|
|
9
9
|
|
|
10
|
+
.co-auto,
|
|
11
|
+
.co-auto\:hover:hover,
|
|
12
|
+
.co-auto\:active:active {
|
|
13
|
+
color: currentColor !important;
|
|
14
|
+
fill: currentColor !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.bg-auto,
|
|
18
|
+
.bg-auto\:hover:hover,
|
|
19
|
+
.bg-auto\:active:active {
|
|
20
|
+
background-color: currentColor !important;
|
|
21
|
+
}
|
|
22
|
+
.bk-auto,
|
|
23
|
+
.bk-auto\:hover:hover,
|
|
24
|
+
.bk-auto\:active:active {
|
|
25
|
+
border-color: currentColor !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
10
28
|
.co-#{$n},
|
|
11
29
|
.co-#{$n}\:hover:hover,
|
|
12
30
|
.co-#{$n}\:active:active {
|
package/core/flex.scss
CHANGED
|
@@ -342,35 +342,6 @@
|
|
|
342
342
|
[ui-flex~='row'] {
|
|
343
343
|
flex-direction: row;
|
|
344
344
|
|
|
345
|
-
// 等分
|
|
346
|
-
&[ui-flex~='ew:1'] > * {
|
|
347
|
-
width: 100%;
|
|
348
|
-
}
|
|
349
|
-
&[ui-flex~='ew:2'] > * {
|
|
350
|
-
width: 50%;
|
|
351
|
-
}
|
|
352
|
-
&[ui-flex~='ew:3'] > * {
|
|
353
|
-
width: 33.333333%;
|
|
354
|
-
}
|
|
355
|
-
&[ui-flex~='ew:4'] > * {
|
|
356
|
-
width: 25%;
|
|
357
|
-
}
|
|
358
|
-
&[ui-flex~='ew:5'] > * {
|
|
359
|
-
width: 20%;
|
|
360
|
-
}
|
|
361
|
-
&[ui-flex~='ew:6'] > * {
|
|
362
|
-
width: 16.666666%;
|
|
363
|
-
}
|
|
364
|
-
&[ui-flex~='ew:7'] > * {
|
|
365
|
-
width: 14.285714%;
|
|
366
|
-
}
|
|
367
|
-
&[ui-flex~='ew:8'] > * {
|
|
368
|
-
width: 12.5%;
|
|
369
|
-
}
|
|
370
|
-
&[ui-flex~='ew:9'] > * {
|
|
371
|
-
width: 11.111111%;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
345
|
// 对齐
|
|
375
346
|
&[ui-flex~='lt'] {
|
|
376
347
|
justify-content: flex-start;
|
package/core/theme.scss
CHANGED