naive-ui/styles/themes/dark/index.scss

35 lines
1.2 KiB
SCSS
Raw Normal View History

2019-09-24 12:43:56 +08:00
@import "darkColors.scss";
@import "components/Button.scss";
@import "components/Divider.scss";
@import "components/NimbusServiceLayout.scss";
@import "components/Scrollbar.scss";
2019-09-25 14:24:53 +08:00
@import "components/BaseSelectMenu.scss";
2019-09-27 16:02:20 +08:00
@import "components/BasePicker.scss";
@import "components/BaseCancelMark.scss";
@import "components/Tag.scss";
2019-09-24 12:43:56 +08:00
@mixin setup-dark-theme () {
@include setup-dark-colors();
2019-09-27 16:02:20 +08:00
$--n-primary-color: $primary-6 !global;
$--n-primary-hover-color: $primary-5 !global;
$--n-primary-active-color: $primary-7 !global;
$--n-info-color: $info-6 !global;
$--n-success-color: $success-6 !global;
$--n-warning-color: $warning-6 !global;
$--n-error-color: $error-6 !global;
$n-text-color: $neutral-2 !global;
$--n-divider-color: $neutral-7 !global;
$--n-border-color: $neutral-7 !global;
$--n-secondary-text-color: $neutral-2 !global;
2019-09-25 14:24:53 +08:00
$--n-table-header-color: mix($neutral-8, $neutral-9) !global;
2019-09-27 16:02:20 +08:00
$--n-disabled-text-color: rgba(255, 255, 255, .3) !global;
2019-09-24 12:43:56 +08:00
@include setup-dark-nimbus-service-layout;
@include setup-dark-divider;
@include setup-dark-scrollbar;
@include setup-dark-button;
2019-09-27 16:02:20 +08:00
@include setup-dark-base-select-menu;
@include setup-dark-base-picker;
@include setup-dark-base-cancel-mark;
@include setup-dark-tag;
2019-09-24 12:43:56 +08:00
}