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

19 lines
690 B
SCSS
Raw Normal View History

2019-09-27 16:02:20 +08:00
@mixin setup-dark-base-picker {
$--base-picker-color: $--n-secondary-text-color !global;
$--base-picker-background-color: (
2019-09-29 17:54:20 +08:00
"default": rgba(255, 255, 255, .1),
"disabled": rgba(255, 255, 255, .06),
2019-10-12 14:23:40 +08:00
"active": change-color($--primary-6, $alpha: 0.1)
2019-09-27 16:02:20 +08:00
) !global;
$--base-picker-placeholder-color: (
"default": rgba(255, 255, 255, .4),
"disabled": rgba(255, 255, 255, .2)
) !global;
$--base-picker-box-shadow: (
"default": none,
2019-10-12 14:23:40 +08:00
"hover": 0 0 0 1px $--primary-6,
'focus': (inset 0 0 0px 1px $--primary-6, 0 0 8px 0px change-color($--primary-6, $alpha: .3)),
2019-09-27 16:02:20 +08:00
"disabled": none
) !global;
$--base-picker-caret-color: $--n-primary-color !global;
}