Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,18 @@ html {
background-color: rgb(248, 250, 252);
background-image: linear-gradient(to bottom right, rgb(248, 250, 252), rgb(239, 246, 255));
min-height: 100%;

/* Tell the browser to render native UI (scrollbars, form controls) in the matching theme */
color-scheme: light;
/* Scrollbar colours (thumb, track); keeps overlay scrollbars on iOS/Safari */
scrollbar-color: rgb(var(--accent-grey-light)) transparent;
}

@media (prefers-color-scheme: dark) {
html {
background-color: rgb(15, 23, 42);
background-image: linear-gradient(to bottom right, rgb(15, 23, 42), rgb(23, 37, 60));
color-scheme: dark;
}
}

Expand Down