• This project
    • Loading...
  • Sign in

陈嘉濠 / lucky-uniapp · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • lucky-uniapp
  • luckyStart0812
  • uni_modules
  • uni-scss
  • styles
  • setting
  • _text.scss
  • 0812uniapp-幸运星球
    9b474a72
    by 陈嘉濠
    2022-08-12 20:39:20 +0800  
    Browse Files
_text.scss 394 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 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 */
}