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

17 lines
649 B
SCSS
Raw Normal View History

2019-09-29 16:02:28 +08:00
@mixin setup-dark-checkbox {
$border-color: rgba(255, 255, 255, 0.4);
2019-10-08 15:22:54 +08:00
$--checkbox-font-color: $--neutral-3 !global;
2019-09-29 16:02:28 +08:00
$--checkbox-border-color: $border-color !global;
2019-10-12 14:23:40 +08:00
$--checkbox-border-color--active: $--primary-6 !global;
2019-10-08 15:22:54 +08:00
$--checkbox-indeterminate-color: $--neutral-10 !global;
2019-11-08 16:40:53 +08:00
$--checkbox-background-color: (
'default': rgba(255, 255, 255, 0),
'disabled': rgba(255, 255, 255, 0.16)
) !global;
2019-09-29 16:02:28 +08:00
$--checkbox-disabled: $border-color !global;
2019-11-08 16:07:20 +08:00
$--checkbox-icon-fill: $--n-background-color !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
}