mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
19 lines
696 B
SCSS
19 lines
696 B
SCSS
@mixin setup-dark-base-picker {
|
|
$--base-picker-color: $--n-secondary-text-color !global;
|
|
$--base-picker-background-color: (
|
|
"default": rgba(255, 255, 255, .1),
|
|
"disabled": rgba(255, 255, 255, .06),
|
|
"active": change-color($--primary-6, $alpha: 0.1)
|
|
) !global;
|
|
$--base-picker-placeholder-color: (
|
|
"default": rgba(255, 255, 255, .4),
|
|
"disabled": rgba(255, 255, 255, .2)
|
|
) !global;
|
|
$--base-picker-box-shadow: (
|
|
"default": none,
|
|
"hover": inset 0 0 0 1px $--primary-6,
|
|
'focus': (inset 0 0 0px 1px $--primary-6, 0 0 8px 0px change-color($--primary-6, $alpha: .3)),
|
|
"disabled": none
|
|
) !global;
|
|
$--base-picker-caret-color: $--n-primary-color !global;
|
|
} |