diff --git a/quickpeep_static/style/dark.scss b/quickpeep_static/style/dark.scss new file mode 100644 index 0000000..7158300 --- /dev/null +++ b/quickpeep_static/style/dark.scss @@ -0,0 +1,10 @@ + +.result_title a { + color: palegoldenrod; +} + +.result_tags { + > li { + color: palegreen; + } +} diff --git a/quickpeep_static/style/main.scss b/quickpeep_static/style/main.scss index 684938d..0989aed 100644 --- a/quickpeep_static/style/main.scss +++ b/quickpeep_static/style/main.scss @@ -4,6 +4,11 @@ --typography-spacing-vertical: 1rem; } +// light green theming +$primary-500: #8bc34a; +$primary-600: #7cb342; +$primary-700: #689f38; + .bar_happy { padding: 1em; margin: 3em; @@ -16,8 +21,6 @@ } } - - @media only screen and (max-width: 960px) { .left_side_container { @extends(.container); @@ -91,7 +94,7 @@ ul.search_results { } .result_title a { - color: palegoldenrod; + color: brown; } .result_excerpt { @@ -114,7 +117,7 @@ ul.search_results { list-style-type: none; display: inline-block; //background-color: palegreen; - color: palegreen; + color: darkgreen; //padding: 0.2em; //border-radius: 8px; @@ -128,3 +131,14 @@ ul.search_results { margin-right: 0.4em; } } + + +@media only screen and (prefers-color-scheme: dark) { + :root:not([data-theme=light]) { + @import "dark.scss"; + } +} + +[data-theme=dark] { + @import "dark.scss"; +}