mirror of
https://github.com/rottenwheel/revuo-weekly.git
synced 2025-05-02 23:05:33 -04:00
Add dark-theme
This commit is contained in:
parent
5f2a2f2187
commit
4c00b94a36
9 changed files with 296 additions and 9 deletions
|
@ -4,3 +4,69 @@
|
|||
|
||||
//Import
|
||||
@import "base", "mixin", "typography", "layout", "syntax.scss", "custom.scss";
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////
|
||||
/////////////////////////////////////////
|
||||
/////////////////////////////////////////
|
||||
//////////// LIGHT THEME ////////////////
|
||||
/////////////////////////////////////////
|
||||
/////////////////////////////////////////
|
||||
/////////////////////////////////////////
|
||||
|
||||
//html {
|
||||
//background-color: #0f0f0f;
|
||||
////background-color: #f0f0f0;
|
||||
|
||||
//html {
|
||||
//[>background-color: #0f0f0f;<]
|
||||
////background-color: #f0f0f0;
|
||||
//background-color: lightblue;
|
||||
//}
|
||||
|
||||
|
||||
////body {
|
||||
//////background-color: #f0f0f0;
|
||||
////background-color: #0f0f0f;
|
||||
|
||||
//body {
|
||||
//[>background-color: #0f0f0f;<]
|
||||
////background-color: #f0f0f0;
|
||||
//background-color: lightblue;
|
||||
//}
|
||||
|
||||
:root {
|
||||
--primary-color: #888888;
|
||||
--secondary-color: #666666;
|
||||
--font-color: #999999;
|
||||
--bg-color: #0f0f0f;
|
||||
--heading-color: #454545;
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
--primary-color: #666666;
|
||||
--secondary-color: #555555;
|
||||
--font-color: #555555;
|
||||
--bg-color: #f0f0f0;
|
||||
--heading-color: #666666;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue