#
whycq
2024-11-13 76ae45bef979f38d251837f6be274d602a5375b7
uni_modules/uni-scss/styles/setting/_text.scss
New file
@@ -0,0 +1,24 @@
@mixin get-styles($k,$c) {
   @if $k == size or $k == weight{
      font-#{$k}:#{$c}
   }@else{
      #{$k}:#{$c}
   }
}
@each $key, $child in $uni-headings {
   /* #ifndef APP-NVUE */
   .uni-#{$key} {
      @each $k, $c in $child {
         @include get-styles($k,$c)
      }
   }
   /* #endif */
   /* #ifdef APP-NVUE */
   .container .uni-#{$key} {
      @each $k, $c in $child {
         @include get-styles($k,$c)
      }
   }
   /* #endif */
}