mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
20 lines
753 B
SCSS
20 lines
753 B
SCSS
@mixin setup-light-base-picker {
|
|
$--base-picker-color: $--n-secondary-text-color !global;
|
|
$--base-picker-background-color: (
|
|
"default": rgb(255, 255, 255),
|
|
"disabled": $--alpha-neutral-8,
|
|
"active": rgb(255, 255, 255),
|
|
) !global;
|
|
$--base-picker-placeholder-color: (
|
|
"default": $--n-disabled-text-color,
|
|
"disabled": $--n-disabled-text-color,
|
|
) !global;
|
|
$--base-picker-box-shadow: (
|
|
"default": inset 0 0 0 1px $--n-border-color,
|
|
"hover": inset 0 0 0 1px $--primary-5,
|
|
"active": inset 0 0 0 1px $--primary-5,
|
|
"focus": (inset 0 0 0 1px $--primary-5, 0 0 0 2px change-color($--primary-5, $alpha: .3)),
|
|
"disabled": inset 0 0 0 1px $--n-border-color
|
|
) !global;
|
|
$--base-picker-caret-color: unset !global;
|
|
} |