@neatui/css 5.0.0 → 5.1.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.
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  input:-webkit-autofill {
40
- box-shadow: 0 0 0 1000px var(--bg-weak) inset;
40
+ box-shadow: 0 0 0 1000px var(--co-weak) inset;
41
41
  color: var(--co-read);
42
42
  -webkit-text-fill-color: var(--co-read);
43
43
  }
@@ -60,7 +60,7 @@ value 规定输入字段的默认值。
60
60
  transform: scale3d(0.9, 0.9, 1);
61
61
  flex-shrink: 0;
62
62
 
63
- background-color: var(--bg-weak);
63
+ background-color: var(--co-weak);
64
64
 
65
65
  &:checked {
66
66
  background:
@@ -79,7 +79,7 @@ value 规定输入字段的默认值。
79
79
  &[part-checked] {
80
80
  background:
81
81
  linear-gradient(0deg, transparent 41%, currentColor 42%, currentColor 58%, transparent 59%) no-repeat center / 55% 100%,
82
- var(--bg-weak);
82
+ var(--co-weak);
83
83
  animation: am-checked 0.3s;
84
84
  color: var(--co-main);
85
85
  }
@@ -25,8 +25,8 @@ value 规定输入字段的默认值。
25
25
  border-radius: 0.35em;
26
26
  transition: all 0.5s;
27
27
 
28
- border: 1px solid var(--bg-weak);
29
- background-color: var(--bg-weak);
28
+ border: 1px solid var(--co-weak);
29
+ background-color: var(--co-weak);
30
30
 
31
31
  display: inline-flex;
32
32
  justify-content: space-between;
@@ -38,7 +38,7 @@ value 规定输入字段的默认值。
38
38
 
39
39
  &.form-focus,
40
40
  &:focus-within {
41
- background-color: var(--bg-weak);
41
+ background-color: var(--co-weak);
42
42
  border-color: var(--co-main-o-mm);
43
43
  box-shadow: 0 0 0 2px var(--co-main-o-ss);
44
44
  }
@@ -66,7 +66,7 @@ value 规定输入字段的默认值。
66
66
  }
67
67
 
68
68
  &:-webkit-autofill {
69
- box-shadow: 0 0 0 1000px var(--bg-weak) inset;
69
+ box-shadow: 0 0 0 1000px var(--co-weak) inset;
70
70
  color: var(--co-read);
71
71
  -webkit-text-fill-color: var(--co-read);
72
72
  }
@@ -60,7 +60,7 @@ value 规定输入字段的默认值。
60
60
  border-radius: 50%;
61
61
  flex-shrink: 0;
62
62
 
63
- background-color: var(--bg-weak);
63
+ background-color: var(--co-weak);
64
64
 
65
65
  &:checked {
66
66
  background-image: radial-gradient(circle at 50% 50%, currentColor 38%, transparent 40%);
@@ -52,7 +52,7 @@ value 规定输入字段的默认值。
52
52
  position: relative;
53
53
  top: 0.15em;
54
54
 
55
- background-color: var(--bg-weak);
55
+ background-color: var(--co-weak);
56
56
 
57
57
  background-image: radial-gradient(circle at 50% 50%, currentColor 28%, transparent 30%);
58
58
  background-position-x: -0.2em;
@@ -25,8 +25,8 @@
25
25
  border-style: solid;
26
26
  border-width: 1px;
27
27
 
28
- border-color: var(--bg-weak);
29
- background-color: var(--bg-weak);
28
+ border-color: var(--co-weak);
29
+ background-color: var(--co-weak);
30
30
  }
31
31
 
32
32
  @keyframes am-file-add {
@@ -70,7 +70,7 @@
70
70
  top: 0;
71
71
  left: 0;
72
72
 
73
- background-color: var(--bg-weak);
73
+ background-color: var(--co-weak);
74
74
  }
75
75
 
76
76
  img,
@@ -137,7 +137,7 @@
137
137
  [ui-form-input] {
138
138
  @extend %item;
139
139
  border-style: dashed;
140
- border-color: var(--bg-weak);
140
+ border-color: var(--co-weak);
141
141
 
142
142
  &:hover,
143
143
  &:focus-within {
@@ -153,7 +153,7 @@
153
153
  opacity: 0;
154
154
 
155
155
  &:-webkit-autofill {
156
- box-shadow: 0 0 0 1000px var(--bg-weak) inset;
156
+ box-shadow: 0 0 0 1000px var(--co-weak) inset;
157
157
  }
158
158
  }
159
159
  }
package/dist/neatui.css CHANGED
@@ -24100,14 +24100,14 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24100
24100
  pointer-events:auto;
24101
24101
  }
24102
24102
  [ui-form~="@c"] input:-webkit-autofill{
24103
- box-shadow:0 0 0 1000px var(--bg-weak) inset;
24103
+ box-shadow:0 0 0 1000px var(--co-weak) inset;
24104
24104
  color:var(--co-read);
24105
24105
  -webkit-text-fill-color:var(--co-read);
24106
24106
  }
24107
24107
  [ui-form~="@c"][ui-form~="type:input"]{
24108
24108
  align-items:center;
24109
- background-color:var(--bg-weak);
24110
- border:1px solid var(--bg-weak);
24109
+ background-color:var(--co-weak);
24110
+ border:1px solid var(--co-weak);
24111
24111
  border-radius:.35em;
24112
24112
  display:inline-flex;
24113
24113
  height:100%;
@@ -24123,7 +24123,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24123
24123
  position:relative;
24124
24124
  }
24125
24125
  [ui-form~="@c"][ui-form~="type:input"].form-focus,[ui-form~="@c"][ui-form~="type:input"]:focus-within{
24126
- background-color:var(--bg-weak);
24126
+ background-color:var(--co-weak);
24127
24127
  border-color:var(--co-main-o-mm);
24128
24128
  box-shadow:0 0 0 2px var(--co-main-o-ss);
24129
24129
  }
@@ -24144,7 +24144,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24144
24144
  margin:0;
24145
24145
  }
24146
24146
  [ui-form~="@c"][ui-form~="type:input"] input:-webkit-autofill{
24147
- box-shadow:0 0 0 1000px var(--bg-weak) inset;
24147
+ box-shadow:0 0 0 1000px var(--co-weak) inset;
24148
24148
  color:var(--co-read);
24149
24149
  -webkit-text-fill-color:var(--co-read);
24150
24150
  }
@@ -24536,7 +24536,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24536
24536
  [ui-form~="@c"][ui-form~="type:radio"] [type=radio]{
24537
24537
  appearance:none;
24538
24538
  background:transparent;
24539
- background-color:var(--bg-weak);
24539
+ background-color:var(--co-weak);
24540
24540
  border:1px solid;
24541
24541
  border-radius:50%;
24542
24542
  flex-shrink:0;
@@ -24577,7 +24577,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24577
24577
  [ui-form~="@c"][ui-form~="type:checkbox"] [type=checkbox]{
24578
24578
  appearance:none;
24579
24579
  background:transparent;
24580
- background-color:var(--bg-weak);
24580
+ background-color:var(--co-weak);
24581
24581
  border:1px solid;
24582
24582
  border-radius:25%;
24583
24583
  flex-shrink:0;
@@ -24595,7 +24595,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24595
24595
  }
24596
24596
  [ui-form~="@c"][ui-form~="type:checkbox"] [type=checkbox].part-checked,[ui-form~="@c"][ui-form~="type:checkbox"] [type=checkbox][part-checked]{
24597
24597
  animation:am-checked .3s;
24598
- background:linear-gradient(0deg, transparent 41%, currentColor 42%, currentColor 58%, transparent 59%) no-repeat 50%/55% 100%, var(--bg-weak);
24598
+ background:linear-gradient(0deg, transparent 41%, currentColor 42%, currentColor 58%, transparent 59%) no-repeat 50%/55% 100%, var(--co-weak);
24599
24599
  color:var(--co-main);
24600
24600
  }
24601
24601
  [ui-form~="@c"][ui-form~="type:checkbox"] [type=checkbox]+*{
@@ -24613,7 +24613,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24613
24613
  [ui-form~="@c"][ui-form~="type:switch"] [type=checkbox]{
24614
24614
  appearance:none;
24615
24615
  background:transparent;
24616
- background-color:var(--bg-weak);
24616
+ background-color:var(--co-weak);
24617
24617
  background-image:radial-gradient(circle at 50% 50%, currentColor 28%, transparent 30%);
24618
24618
  background-position-x:-.2em;
24619
24619
  border:1px solid;
@@ -24829,8 +24829,8 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24829
24829
  }
24830
24830
  [ui-form~="@c"][ui-form~="type:upload"] [ui-form-files]>*,[ui-form~="@c"][ui-form~="type:upload"] [ui-form-input]{
24831
24831
  align-items:center;
24832
- background-color:var(--bg-weak);
24833
- border-color:var(--bg-weak);
24832
+ background-color:var(--co-weak);
24833
+ border-color:var(--co-weak);
24834
24834
  border-radius:.35em;
24835
24835
  border-style:solid;
24836
24836
  border-width:1px;
@@ -24852,7 +24852,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24852
24852
  position:relative;
24853
24853
  }
24854
24854
  [ui-form~="@c"][ui-form~="type:upload"] [ui-form-files]>:after{
24855
- background-color:var(--bg-weak);
24855
+ background-color:var(--co-weak);
24856
24856
  content:"";
24857
24857
  display:block;
24858
24858
  height:.5em;
@@ -24906,7 +24906,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24906
24906
  animation:am-file-del .35s forwards;
24907
24907
  }
24908
24908
  [ui-form~="@c"][ui-form~="type:upload"] [ui-form-input]{
24909
- border-color:var(--bg-weak);
24909
+ border-color:var(--co-weak);
24910
24910
  border-style:dashed;
24911
24911
  }
24912
24912
  [ui-form~="@c"][ui-form~="type:upload"] [ui-form-input]:focus-within,[ui-form~="@c"][ui-form~="type:upload"] [ui-form-input]:hover{
@@ -24921,7 +24921,7 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
24921
24921
  width:100%;
24922
24922
  }
24923
24923
  [ui-form~="@c"][ui-form~="type:upload"] [ui-form-input] input:-webkit-autofill{
24924
- box-shadow:0 0 0 1000px var(--bg-weak) inset;
24924
+ box-shadow:0 0 0 1000px var(--co-weak) inset;
24925
24925
  }
24926
24926
 
24927
24927
  [ui-form~="@d"][ui-form~=disabled]{