update css to test postcss

feature/oscar-theme
Segundo Fdez 2022-01-19 20:28:53 +01:00
parent 010e75cc78
commit 0b49aaee73
3 changed files with 12 additions and 9 deletions

View File

@ -16,6 +16,8 @@
- postcss-custom-media - postcss-custom-media
- postcss-nested (I think this is working by default, so probably we don´t need this plugin) - postcss-nested (I think this is working by default, so probably we don´t need this plugin)
*/ */
/* TODO:
move this to common. */
body { body {
background-color: var(--background-main); } background-color: var(--background-main); }
body a { body a {

View File

@ -23,7 +23,8 @@
- postcss-nested (I think this is working by default, so probably we don´t need this plugin) - postcss-nested (I think this is working by default, so probably we don´t need this plugin)
*/ */
/* TODO:
move this to common. */
body { body {
background-color: var(--background-main); background-color: var(--background-main);
a { a {

View File

@ -18,14 +18,6 @@
--background-main: #F0F0F0; --background-main: #F0F0F0;
/* Dark theme */
@media (prefers-color-scheme: dark) {
:root {
--background-main: #000000;
}
}
/* ========================================================================== /* ==========================================================================
Font sizes Font sizes
========================================================================== */ ========================================================================== */
@ -42,6 +34,14 @@
} }
/* Dark theme */
@media (prefers-color-scheme: dark) {
:root {
--background-main: #000000;
}
}
/* ========================================================================== /* ==========================================================================
Breakpoints Breakpoints
========================================================================== */ ========================================================================== */