chore: some style fixes

This commit is contained in:
07akioni 2020-02-24 15:31:39 +08:00
parent db1342df78
commit 14e1c050a0
5 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,5 @@
@import '../../styles/themes/dark/index.scss';
@import '../../styles/themes/common.scss';
@include setup-dark-theme($in-js-env: true);
@ -22,13 +23,12 @@
primaryTextColor: $--overlay-text-1;
secondaryTextColor: $--overlay-text-2;
tertiaryTextColor: $--overlay-text-3;
disabledTextColor: rgba(255, 255, 255, 0.3);
disabledTextColor: $--overlay-text-4;
popoverBackgroundColor: $--neutral-popover;
modalBackgroundColor: $--neutral-modal;
cardBackgroundColor: $--neutral-card;
bodyBackgroundColor: $--neutral-body;
closeColor: $--overlay-text-3;
dividerColor: $--overlay-divider;
borderColor: $--n-border-color;
easeInOutCubicBezier: cubic-bezier(.4, 0, .2, 1);
easeInOutCubicBezier: $--n-ease-in-out-cubic-bezier;
}

View File

@ -1,4 +1,5 @@
@import '../../styles/themes/light/index.scss';
@import '../../styles/themes/common.scss';
@include setup-light-theme($in-js-env: true);
@ -30,5 +31,5 @@
closeColor: $--overlay-text-3;
dividerColor: $--overlay-divider;
borderColor: $--n-border-color;
easeInOutCubicBezier: cubic-bezier(.4, 0, .2, 1);
easeInOutCubicBezier: $--n-ease-in-out-cubic-bezier;
}

View File

@ -14,7 +14,7 @@
border-top-left-radius: 6px;
border-top-right-radius: 6px;
overflow: hidden;
line-height: 1.5;
line-height: 1.75;
}
@include b(data-table-table-wrapper) {
@include once {

View File

@ -72,6 +72,9 @@
line-height: 40px;
align-items: center;
@include b(icon) {
@include b(base-loading) {
@include icon-switch-transition();
}
svg {
@include icon-switch-transition();
}

View File

@ -112,7 +112,7 @@ Previously, it would not work with single quotes:
## TODO 排序不分先后
1. Focus Detector on Time Selector
2. Menu Root Indent = 0 可能造成问题
2. <del>Menu Root Indent = 0 可能造成问题</del>
3. 用 RAF 优化 scrollbar 性能(不一定需要)
4. <del>Anchor 切换有 bug忽然闪现第一个</del>
5. Safari select lightbar container overflow 边角(或许是 webkit 的问题)
@ -157,6 +157,7 @@ Previously, it would not work with single quotes:
44. <del>Icon 文档待更新</del>
45. 把 Upload 的回调 API 从 promise 改成 callback 格式的,文档也要对应修改
46. Date Picker 的 format 文档内容
47. Button Group 样式
```