fix: dark mode style optimizaiotn

This commit is contained in:
shuai
2024-01-19 12:07:54 +08:00
parent 64e2473a8a
commit 1e67ca909c
4 changed files with 6 additions and 3 deletions
+4
View File
@@ -12,6 +12,8 @@
--an-white: #fff;
--an-inbox-warning:#fff3cd80;
--an-f5: #f5f5f5;
--an-answer-item-border-top: rgba(0, 0, 0, .125);
--an-answer-inbox-nav-border-top: var(--bs-border-color);
}
@@ -27,6 +29,8 @@
--an-white: #000;
--an-inbox-warning:#38363180;
--an-f5: var(--bs-body-bg);
--an-answer-item-border-top: var(--bs-border-color);
--an-answer-inbox-nav-border-top: var(--bs-border-color);
}
[data-bs-theme="dark"] {
-1
View File
@@ -334,7 +334,6 @@ const TagSelector: FC<IProps> = ({
}
}, [focusState, tags, hiddenCreateBtn, searchValue, maxTagLength]);
console.log('focusState===', focusState);
return (
<div ref={containerRef} className="position-relative">
<div
+1 -1
View File
@@ -18,7 +18,7 @@
*/
.answer-item {
border-top: 1px solid rgba(33, 37, 41, 0.25);
border-top: 1px solid var(--an-answer-item-border-top);
}
@media screen and (max-width: 768px) {
+1 -1
View File
@@ -18,6 +18,6 @@
*/
.inbox-nav {
border-top: 1px solid rgba(0, 0, 0, .125);
border-top: 1px solid var(--an-answer-item-border-top);
padding: .5rem 0;
}