scss work
This commit is contained in:
parent
426e917df9
commit
76b20a3b38
@ -1,4 +1,8 @@
|
|||||||
|
|
||||||
pip:
|
*pip:\
|
||||||
|
|
||||||
|
```
|
||||||
pip install flask
|
pip install flask
|
||||||
pip install python-dotenv
|
pip install python-dotenv
|
||||||
|
pip install flask-wtf
|
||||||
|
```
|
||||||
|
@ -8,30 +8,11 @@
|
|||||||
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||||
--standard-border-radius: 5px;
|
--standard-border-radius: 5px;
|
||||||
|
|
||||||
/* Default (light) theme */
|
|
||||||
--bg: #fff;
|
|
||||||
--accent-bg: #f5f7ff;
|
|
||||||
--text: #212121;
|
|
||||||
--text-light: #585858;
|
|
||||||
--border: #898EA4;
|
|
||||||
--accent: #0d47a1;
|
|
||||||
--accent-hover: #1266e2;
|
|
||||||
--accent-text: var(--bg);
|
|
||||||
--code: #d81b60;
|
|
||||||
--preformatted: #444;
|
|
||||||
--marked: #ffdd33;
|
|
||||||
--disabled: #efefef;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Dark theme */
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
:root,
|
|
||||||
::backdrop {
|
|
||||||
color-scheme: dark;
|
|
||||||
--bg: #212121;
|
--bg: #212121;
|
||||||
--accent-bg: #2b2b2b;
|
--accent-bg: #2b2b2b;
|
||||||
--text: #dcdcdc;
|
--text: #dcdcdc;
|
||||||
--text-light: #ababab;
|
--text-light: #ababab;
|
||||||
|
--border: #898EA4;
|
||||||
/* --accent: #ffb300; */
|
/* --accent: #ffb300; */
|
||||||
--accent: #ace1af;
|
--accent: #ace1af;
|
||||||
/* --accent-hover: #ffe099; */
|
/* --accent-hover: #ffe099; */
|
||||||
@ -39,7 +20,28 @@
|
|||||||
--accent-text: var(--bg);
|
--accent-text: var(--bg);
|
||||||
--code: #f06292;
|
--code: #f06292;
|
||||||
--preformatted: #ccc;
|
--preformatted: #ccc;
|
||||||
|
--marked: #ffdd33;
|
||||||
--disabled: #111;
|
--disabled: #111;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Light theme */
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
:root,
|
||||||
|
::backdrop {
|
||||||
|
color-scheme: light;
|
||||||
|
/* Default (light) theme */
|
||||||
|
--bg: #fff;
|
||||||
|
--accent-bg: #f5f7ff;
|
||||||
|
--text: #212121;
|
||||||
|
--text-light: #585858;
|
||||||
|
--accent: #0d47a1;
|
||||||
|
--accent-hover: #1266e2;
|
||||||
|
--accent-text: var(--bg);
|
||||||
|
--code: #d81b60;
|
||||||
|
--preformatted: #444;
|
||||||
|
--disabled: #efefef;
|
||||||
|
|
||||||
}
|
}
|
||||||
/* Add a bit of transparency so light media isn't so glaring in dark mode */
|
/* Add a bit of transparency so light media isn't so glaring in dark mode */
|
||||||
img,
|
img,
|
||||||
|
1
backend/app/static/simple.min.css
vendored
1
backend/app/static/simple.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user