Skip to content

Commit

Permalink
fix: background in dark mode
Browse files Browse the repository at this point in the history
Fixes #225
  • Loading branch information
petyosi committed Dec 8, 2023
1 parent f38c179 commit 72ca749
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/examples/dark-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

color: var(--baseText);
background: var(--baseBg);
--basePageBg: black;
background: var(--basePageBg);
}
2 changes: 1 addition & 1 deletion src/styles/ui.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@
}

.nestedEditor {
background: white;
background: var(--basePageBg);
padding: var(--spacing-1) var(--spacing-2);
border-radius: var(--radius-medium);
& > p {
Expand Down

0 comments on commit 72ca749

Please sign in to comment.