mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
26 lines
1019 B
SCSS
26 lines
1019 B
SCSS
@mixin setup-light-menu {
|
|
$--menu-item-group-text-color: $--n-tertiary-text-color !global;
|
|
$--menu-item-text-color: $--n-secondary-text-color !global;
|
|
$--menu-horizontal-border-color: $--n-primary-color !global;
|
|
$--menu-item-content-text-color: (
|
|
'default': $--n-secondary-text-color,
|
|
'hover': $--n-primary-color,
|
|
'child-selected': $--n-primary-color,
|
|
'selected': $--n-primary-color,
|
|
) !global;
|
|
$--menu-item-content-extra-text-color: (
|
|
'default': $--n-tertiary-text-color,
|
|
'hover': $--n-primary-color,
|
|
'child-selected': $--n-primary-color,
|
|
'selected': $--n-primary-color,
|
|
) !global;
|
|
$--menu-item-content-icon-color: (
|
|
'default': $--n-primary-text-color,
|
|
'hover': $--n-primary-color,
|
|
'child-selected': $--n-primary-color,
|
|
'selected': $--n-primary-color,
|
|
'collapsed': $--n-primary-text-color,
|
|
) !global;
|
|
$--menu-submenu-arrow-color: $--n-primary-color !global;
|
|
$--menu-item-background-color: change-color($--n-primary-color, $alpha: .1) !global;
|
|
} |