Skip to content

Commit 9132812

Browse files
committed
style: 💄 调整背景色与文字颜色,降低对比度
1 parent eb0ca37 commit 9132812

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/app/core/article/md-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export function MdEditor() {
379379
setContent(currentArticle)
380380
}, [currentArticle])
381381

382-
return <div className='flex-1 h-screen flex flex-col overflow-hidden'>
382+
return <div className='flex-1 h-screen flex flex-col overflow-hidden dark:bg-zinc-950'>
383383
{
384384
editor && <CustomToolbar editor={editor} />
385385
}

src/app/core/article/style.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.vditor {
22
@apply border-none;
3+
4+
pre {
5+
@apply dark:bg-zinc-950 !important;
6+
}
37
}
48

59
.vditor-toolbar{
@@ -28,7 +32,7 @@
2832

2933
.vditor--dark .vditor-reset{
3034
h1, h2, h3, h4, h5, h6, p, span, li {
31-
color: #fff !important;
35+
@apply text-zinc-100 !important;
3236
}
3337
}
3438

src/app/core/record/chat/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ChatContent from "./chat-content";
55
import { ClipboardListener } from "./clipboard-listener";
66

77
export default function Chat() {
8-
return <div className="flex flex-col flex-1 relative overflow-x-hidden items-center h-screen overflow-hidden">
8+
return <div className="flex flex-col flex-1 relative overflow-x-hidden items-center h-screen overflow-hidden dark:bg-zinc-950">
99
<ChatHeader />
1010
<ChatContent />
1111
<ClipboardListener />

0 commit comments

Comments
 (0)