adds nord dark theme

This commit is contained in:
apmechev
2022-07-07 22:42:01 +02:00
parent 7ef04def16
commit 18b26aa758
3 changed files with 223 additions and 0 deletions
+2
View File
@@ -4,6 +4,8 @@ if(user_preferences.theme === 'dark')
link(rel="stylesheet", type="text/css", href="/css/dark.css")
if(user_preferences.theme === 'sepia')
link(rel="stylesheet", type="text/css", href="/css/sepia.css")
if(user_preferences.theme === 'nord')
link(rel="stylesheet", type="text/css", href="/css/nord.css")
link(rel="stylesheet", type="text/css", href="/css/styles.css")
link(rel="icon", type="image/png", sizes="32x32", href="/favicon.png")
meta(property='og:site_name', content='teddit')
+10
View File
@@ -40,21 +40,31 @@ html
option(value="white") White
option(value="dark") Dark
option(value="sepia") Sepia
option(value="nord") Nord
if(user_preferences.theme == 'white')
option(value="auto") Auto
option(value="white", selected="selected") White
option(value="dark") Dark
option(value="sepia") Sepia
option(value="nord") Nord
if(user_preferences.theme === 'dark')
option(value="auto") Auto
option(value="white") White
option(value="dark", selected="selected") Dark
option(value="sepia") Sepia
option(value="nord") Nord
if(user_preferences.theme === 'sepia')
option(value="auto") Auto
option(value="white") White
option(value="dark") Dark
option(value="sepia", selected="selected") Sepia
option(value="nord") Nord
if(user_preferences.theme === 'nord')
option(value="auto") Auto
option(value="white") White
option(value="dark") Dark
option(value="sepia") Sepia
option(value="nord", selected="selected") Nord
.setting
label(for="flairs") Show flairs:
if(!user_preferences.flairs || user_preferences.flairs == 'true')