@neatui/css 3.5.0 → 3.6.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.
package/core/border.scss CHANGED
@@ -299,11 +299,11 @@
299
299
  @include border();
300
300
 
301
301
  // 平板
302
- @include pad {
302
+ @include med('<dpc') {
303
303
  @include border('pad\\:');
304
304
  }
305
305
 
306
306
  // 移动
307
- @include mob {
307
+ @include med('<pad') {
308
308
  @include border('mob\\:');
309
309
  }
package/core/size.scss CHANGED
@@ -10,6 +10,7 @@
10
10
  */
11
11
 
12
12
  @use 'sass:list';
13
+ @use './media.scss' as *;
13
14
 
14
15
  // 全局字号
15
16
  @mixin baseSize($sz: 13) {
@@ -149,11 +150,11 @@
149
150
  @include randSize();
150
151
 
151
152
  // 平板
152
- @media screen and (max-width: 1024px) {
153
+ @include med('<dpc') {
153
154
  @include randSize('pad\\:');
154
155
  }
155
156
 
156
157
  // 移动
157
- @media screen and (max-width: 767px) {
158
+ @include med('<pad') {
158
159
  @include randSize('mob\\:');
159
160
  }
package/core/trim.scss CHANGED
@@ -644,11 +644,11 @@
644
644
  @include trim();
645
645
 
646
646
  // 平板
647
- @include pad {
648
- @include trim('pad\:');
647
+ @include med('<dpc') {
648
+ @include trim('pad\\:');
649
649
  }
650
650
 
651
651
  // 移动
652
- @include mob {
653
- @include trim('mob\:');
652
+ @include med('<pad') {
653
+ @include trim('mob\\:');
654
654
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.5.0",
3
+ "version": "3.6.1",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",