@neatui/css 3.0.0-beta.8 → 3.0.0-beta.9
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/size.scss +10 -7
- package/core/ux.scss +2 -0
- package/package.json +1 -1
package/core/size.scss
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* 备注:s->Small 小,m->Middle 中,l->Large 大;x->Extra 特大
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@use 'sass:list';
|
|
13
13
|
|
|
14
14
|
// 全局字号
|
|
15
15
|
@mixin baseSize($sz: 13) {
|
|
@@ -144,17 +144,20 @@
|
|
|
144
144
|
@include randSize();
|
|
145
145
|
|
|
146
146
|
// 平板
|
|
147
|
-
@
|
|
147
|
+
@include pad {
|
|
148
148
|
@include randSize('pad\\:');
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
// 移动
|
|
152
|
-
@media screen and (max-width: 767px) {
|
|
153
|
-
|
|
152
|
+
// @media screen and (max-width: 767px) {
|
|
153
|
+
// @include baseSize(15);
|
|
154
|
+
// @include randSize('mob\\:');
|
|
155
|
+
// }
|
|
156
|
+
@include mob {
|
|
154
157
|
@include randSize('mob\\:');
|
|
155
158
|
}
|
|
156
159
|
|
|
157
160
|
// 超小屏
|
|
158
|
-
@media screen and (max-width: 374px) {
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
+
// @media screen and (max-width: 374px) {
|
|
162
|
+
// @include baseSize(9);
|
|
163
|
+
// }
|
package/core/ux.scss
CHANGED