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

76 lines
2.7 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-10-15 18:01:18 +08:00
@import "components/BaseLoading.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";
@import "components/Table.scss";
@import 'components/AdvanceTable.scss';
2019-09-27 22:27:01 +08:00
@import "components/Popover.scss";
2019-09-28 13:47:54 +08:00
@import "components/Tooltip.scss";
@import "components/Confirm.scss";
2019-09-29 16:02:28 +08:00
@import "components/CheckBox.scss";
2019-09-29 19:07:16 +08:00
@import "components/Switch.scss";
2019-10-08 13:34:34 +08:00
@import "components/Message.scss";
2019-10-08 14:14:30 +08:00
@import "components/LoadingBar.scss";
2019-10-09 17:38:08 +08:00
@import "components/Badge.scss";
2019-10-08 18:01:39 +08:00
@import "components/Dropdown.scss";
2019-10-10 18:24:51 +08:00
@import "components/Input.scss";
2019-10-12 14:23:40 +08:00
@import "components/Alert.scss";
@import "components/Anchor.scss";
2019-10-16 11:33:49 +08:00
@import "components/BackTop.scss";
2019-09-24 12:43:56 +08:00
@mixin setup-dark-theme () {
@include setup-dark-colors();
2019-10-12 14:23:40 +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;
2019-09-27 16:02:20 +08:00
2019-09-29 17:54:20 +08:00
$--n-text-color: $--text-1 !global;
$--n-popover-color: $--neutral-1 !global;
$--n-divider-color: $--neutral-6 !global;
$--n-alpha-divider-color: $--overlay-6 !global;
$--n-border-color: $--neutral-7 !global;
$--n-alpha-border-color: $--overlay-7 !global;
$--n-secondary-text-color: $--text-2 !global;
$--n-table-header-color: $--neutral-8 !global;
$--n-alpha-table-header-color: $--overlay-8 !global;
$--n-table-body-color: $--neutral-9 !global;
$--n-alpha-table-body-color: $--overlay-9 !global;
$--n-card-color: $--neutral-9 !global;
2019-09-27 16:02:20 +08:00
$--n-disabled-text-color: rgba(255, 255, 255, .3) !global;
2019-09-29 17:54:20 +08:00
$--n-dialog-color: $--neutral-3 !global;
$--n-background-color: $--neutral-10 !global;
2019-09-24 12:43:56 +08:00
@include setup-dark-nimbus-service-layout;
@include setup-dark-divider;
@include setup-dark-scrollbar;
2019-10-15 18:01:18 +08:00
@include setup-dark-base-loading;
2019-09-24 12:43:56 +08:00
@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;
@include setup-dark-table;
@include setup-dark-advance-table;
2019-09-27 22:27:01 +08:00
@include setup-dark-popover;
2019-09-28 13:47:54 +08:00
@include setup-dark-tooltip;
@include setup-dark-confirm;
2019-09-29 16:02:28 +08:00
@include setup-dark-checkbox;
2019-09-29 19:07:16 +08:00
@include setup-dark-switch;
2019-10-08 13:34:34 +08:00
@include setup-dark-message;
2019-10-08 14:14:30 +08:00
@include setup-dark-loading-bar;
2019-10-09 17:38:08 +08:00
@include setup-dark-badge;
2019-10-08 18:01:39 +08:00
@include setup-dark-dropdown;
2019-10-10 18:24:51 +08:00
@include setup-dark-input;
2019-10-12 14:23:40 +08:00
@include setup-dark-anchor;
@include setup-dark-alert;
2019-10-16 11:33:49 +08:00
@include setup-dark-back-top;
2019-09-24 12:43:56 +08:00
}