mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
20 lines
711 B
SCSS
20 lines
711 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": 0 0 0 1px $primary-6,
|
|
"active": (0 0 0 1px $primary-6, 0 0 12px 0px change-color($primary-6, $alpha: .3)),
|
|
"focus": 0 0 0 1px $primary-6,
|
|
"disabled": none
|
|
) !global;
|
|
$--base-picker-caret-color: $--n-primary-color !global;
|
|
} |