naive-ui/styles/themes/light/components/Cascader.scss
2020-02-24 18:17:51 +08:00

14 lines
746 B
SCSS

@mixin setup-light-cascader {
$--cascader-menu-background-color: $--n-popover-background-color !global;
$--cascader-option-text-color: (
'default': $--n-secondary-text-color,
'active': $--n-primary-color,
'disabled': $--n-disabled-text-color,
'disabled-active': change-color($--n-primary-color, $alpha: $--n-disabled-opacity)
) !global;
$--cascader-menu-box-shadow: $--n-popmenu-box-shadow !global;
$--cascader-menu-border-color: $--n-divider-color !global;
$--cascader-menu-tracking-rect-background-color: mix($--n-primary-color, $--n-base-background-color, 10%) !global;
$--cascader-option-arrow-background-color: $--n-disabled-text-color !global;
$--cascader-item-check-mark-color: $--n-primary-color !global;
}