naive-ui/styles/themes/light/components/CheckBox.scss

19 lines
568 B
SCSS
Raw Normal View History

2019-09-29 16:02:28 +08:00
@mixin setup-light-checkbox {
2019-11-08 16:40:53 +08:00
$--checkbox-background-color: (
2020-02-22 18:08:53 +08:00
'default': $--n-base-background-color,
2020-02-19 22:37:20 +08:00
'disabled': $--n-disabled-background-color
) !global;
$--checkbox-icon-color: (
2020-02-22 18:08:53 +08:00
'default': $--n-base-background-color,
2020-02-19 22:37:20 +08:00
'disabled': $--n-disabled-text-color
) !global;
$--checkbox-border-color: (
'default': $--n-border-color,
'disabled': $--n-border-color,
'active': $--n-primary-color
2019-11-08 16:40:53 +08:00
) !global;
2019-12-04 18:43:55 +08:00
$--checkbox-label-text-color: (
'default': $--n-secondary-text-color,
'disabled': $--n-disabled-text-color
) !global;
2019-09-29 16:02:28 +08:00
}