mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-05 19:41:44 +08:00
feat: duotone图标样式配置
This commit is contained in:
parent
b60f7fa728
commit
998c87fa76
@ -48,6 +48,11 @@ $fa-stack-z-index : auto !default;
|
||||
$fa-font-display : block !default;
|
||||
$fa-font-path : "./webfonts" !default;
|
||||
|
||||
$fa-primary-color : inherit !default;
|
||||
$fa-primary-opacity : 1 !default;
|
||||
$fa-secondary-opacity : 4 !default;
|
||||
$fa-secondary-color : inherit !default;
|
||||
|
||||
$fa-var-0: \30;
|
||||
$fa-var-1: \31;
|
||||
$fa-var-2: \32;
|
||||
|
@ -28,8 +28,8 @@
|
||||
.fad:before,
|
||||
.#{$fa-css-prefix}-duotone:before{
|
||||
position: absolute;
|
||||
color: var(--fa-primary-color,inherit);
|
||||
opacity: var(--fa-primary-opacity,1);
|
||||
color: $fa-primary-color;
|
||||
opacity: $fa-primary-opacity;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-duotone.#{$fa-css-prefix}-swap-opacity:before,
|
||||
@ -38,9 +38,9 @@
|
||||
.fad:before,
|
||||
.fad.#{$fa-css-prefix}-swap-opacity:before,
|
||||
.fad:after {
|
||||
opacity: var(--fa-secondary-opacity,.4);
|
||||
opacity: $fa-secondary-opacity;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-duotone:after, .fad:after {
|
||||
color: var(--fa-secondary-color,inherit);
|
||||
color: $fa-secondary-color;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user