平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
394 B

  1. @mixin get-styles($k,$c) {
  2. @if $k == size or $k == weight{
  3. font-#{$k}:#{$c}
  4. }@else{
  5. #{$k}:#{$c}
  6. }
  7. }
  8. @each $key, $child in $uni-headings {
  9. /* #ifndef APP-NVUE */
  10. .uni-#{$key} {
  11. @each $k, $c in $child {
  12. @include get-styles($k,$c)
  13. }
  14. }
  15. /* #endif */
  16. /* #ifdef APP-NVUE */
  17. .container .uni-#{$key} {
  18. @each $k, $c in $child {
  19. @include get-styles($k,$c)
  20. }
  21. }
  22. /* #endif */
  23. }