From 78bb9dd1537b29c731cf3992424cf12190c8adee Mon Sep 17 00:00:00 2001 From: Pavel Mineev Date: Sun, 5 Jan 2020 18:48:10 +0300 Subject: [PATCH] Add auto-changing theme for development Theme is changing follows to OS settings. --- frontend/index.ejs | 77 ++++++++++++++++++++++++++++++---------------- 1 file changed, 51 insertions(+), 26 deletions(-) diff --git a/frontend/index.ejs b/frontend/index.ejs index e961f13d..1950b09c 100644 --- a/frontend/index.ejs +++ b/frontend/index.ejs @@ -10,6 +10,13 @@ padding: 0; margin: 0; font-family: -system-ui, sans-serif; + color: #333; + background: #fff; + } + + a { + color: #0aa; + text-decoration: none; } .container { @@ -22,10 +29,6 @@ color: #ddd; } - .document_theme_dark a { - color: #5e5eff; - } - .widgets { display: flex; flex-wrap: nowrap; @@ -59,22 +62,6 @@ } } - -
@@ -93,26 +80,64 @@
Comments count:
-

+