mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00

Forces the Fusion theme when running night mode, so we don't need to work around platform themes that don't respond to the defined palette. Feedback/suggestions on the chosen colours welcome - _vars.scss is the file to change if you want to experiment with adjustments.
18 lines
314 B
SCSS
18 lines
314 B
SCSS
/* Copyright: Ankitects Pty Ltd and contributors
|
|
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
|
|
|
|
@use 'vars';
|
|
@use 'buttons';
|
|
|
|
body {
|
|
margin: 2em;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 0.2em;
|
|
}
|
|
|
|
body.nightMode {
|
|
color: vars.$night-text-fg;
|
|
background: vars.$night-window-bg;
|
|
}
|