mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
23 lines
974 B
SCSS
23 lines
974 B
SCSS
@mixin setup-dark-date-picker {
|
|
$--date-picker-background-color: $--n-popover-background-color !global;
|
|
$--date-picker-text-color: $--n-secondary-text-color !global;
|
|
$--date-picker-icon-color: $--n-icon-color !global;
|
|
$--date-picker-item-text-color: (
|
|
'inactive': $--n-disabled-text-color,
|
|
'default': $--n-secondary-text-color,
|
|
'active': $--n-modal-background-color,
|
|
'current': $--n-primary-color
|
|
) !global;
|
|
$--date-picker-item-sup-color: (
|
|
'default': $--n-primary-color,
|
|
'active': $--n-modal-background-color
|
|
) !global;
|
|
$--date-picker-month-text-color: $--n-primary-text-color !global;
|
|
$--date-picker-item-background-color: (
|
|
'hover': change-color($--n-primary-color, $alpha: .15),
|
|
'active': $--n-primary-color
|
|
) !global;
|
|
$--date-picker-divider-color: $--n-divider-color !global;
|
|
$--date-picker-box-shadow: $--n-popmenu-box-shadow !global;
|
|
$--date-picker-text-decoration-color: $--n-secondary-text-color !global;
|
|
} |