@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 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
@@ -174,7 +174,7 @@ $theme: if(
174
174
  $n: nth($i, 1);
175
175
  $s: nth($i, 2);
176
176
  @if ($n == $f) {
177
- html {
177
+ :root {
178
178
  @each $c in $s {
179
179
  $k: nth($c, 1);
180
180
  $v: nth($c, 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.2",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",