mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 11:47:00 +00:00
Merge pull request #24197 from overleaf/mj-ide-dark-color-scheme
[web] Editor redesign: Set color-scheme to dark in dark mode GitOrigin-RevId: 6d62288e4ec9737629ed2e7a78865c6017ccea59
This commit is contained in:
parent
3d9b1bb177
commit
c4493ebc90
1 changed files with 3 additions and 0 deletions
|
@ -2,15 +2,18 @@
|
|||
--ide-redesign-background: var(--bg-dark-primary);
|
||||
--ide-redesign-color: var(--content-primary-dark);
|
||||
--ide-redesign-resizing-background: var(--bg-dark-primary);
|
||||
--ide-redesign-color-scheme: dark;
|
||||
}
|
||||
|
||||
@include theme('light') {
|
||||
--ide-redesign-background: var(--bg-light-primary);
|
||||
--ide-redesign-color: var(--content-primary);
|
||||
--ide-redesign-resizing-background: var(--white);
|
||||
--ide-redesign-color-scheme: light;
|
||||
}
|
||||
|
||||
.ide-redesign-body {
|
||||
color-scheme: var(--ide-redesign-color-scheme);
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
background-color: var(--ide-redesign-background);
|
||||
|
|
Loading…
Add table
Reference in a new issue