_text.scss 430 B

123456789101112131415161718192021222324
  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. }