Skip to content

Commit 4eb1a66

Browse files
committed
website: udpate background style.
1 parent a0a5041 commit 4eb1a66

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

website/App.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@media (prefers-color-scheme: light) {
1111
body {
1212
color-scheme: light;
13-
--color-thme-bg: #e7eaec;
13+
--color-thme-bg: #fff;
1414
--color-thme-text: #282c34;
1515
background-color: var(--color-thme-bg);
1616
}
@@ -27,7 +27,7 @@ body[data-color-mode*='dark'] {
2727
[data-color-mode*='light'],
2828
body[data-color-mode*='light'] {
2929
color-scheme: light;
30-
--color-thme-bg: #e7eaec;
30+
--color-thme-bg: #fff;
3131
--color-thme-text: #282c34;
3232
background-color: var(--color-thme-bg);
3333
}

website/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const App = () => {
4343
<textarea
4444
placeholder="Please enter the Markdown code!"
4545
value={value}
46+
spellCheck="false"
4647
onChange={(e) => setValue(e.target.value)}
4748
/>
4849
<MarkdownPreview ref={ref} className="App-editor-preview" source={value} />

0 commit comments

Comments
 (0)