modifications/librarian/0001-Add-Doom-One-ColourSch...

106 lines
2.5 KiB
Diff

From ff8c203f7c54d34ac489d9f53c9b0777c974852f Mon Sep 17 00:00:00 2001
From: Administrator <tildemaster@vern.cc>
Date: Fri, 2 Sep 2022 09:15:08 -0400
Subject: [PATCH] Add Doom One ColourScheme
---
static/css/themes/dark.css | 20 ++++++++++----------
static/css/video.css | 4 ++--
views/partials/head.hbs | 12 +-----------
3 files changed, 13 insertions(+), 23 deletions(-)
diff --git a/static/css/themes/dark.css b/static/css/themes/dark.css
index 56ba94d..b6b4f7b 100644
--- a/static/css/themes/dark.css
+++ b/static/css/themes/dark.css
@@ -1,12 +1,12 @@
:root {
- --text: #fff;
- --bg-100: #414141;
- --bg-200: #515151;
+ --text: #bbc2cf;
+ --bg-100: #282c34;
+ --bg-200: #686b70;
}
body {
- background-color: #000;
- color: #fff;
+ background-color: #282c34;
+ color: #bbc2cf;
}
.logo {
@@ -14,11 +14,11 @@ body {
}
.comments__expandBtn__label {
- color: #fff
+ color: #bbc2cf
}
.spinner:after {
- border: 3px solid #fff;
- border-color: #fff transparent #fff transparent;
+ border: 3px solid #bbc2cf;
+ border-color: #bbc2cf transparent #bbc2cf transparent;
}
.badge {
@@ -30,10 +30,10 @@ body {
}
select {
- color: #fff;
+ color: #bbc2cf;
}
code {
background-color: #616161 !important;
color: white !important;
-}
\ No newline at end of file
+}
diff --git a/static/css/video.css b/static/css/video.css
index c1713dc..7dde1eb 100644
--- a/static/css/video.css
+++ b/static/css/video.css
@@ -13,7 +13,7 @@ video {
aspect-ratio: 16 / 9;
max-height: 720px;
width: 100%;
- background-color: #000;
+ background-color: #282c34;
}
.streamOffline {
@@ -132,4 +132,4 @@ li br {
margin-top: -1.75em;
height: 1.5em;
}
-}
\ No newline at end of file
+}
diff --git a/views/partials/head.hbs b/views/partials/head.hbs
index ffa79c8..36d67ef 100644
--- a/views/partials/head.hbs
+++ b/views/partials/head.hbs
@@ -14,14 +14,4 @@
<link rel="stylesheet" href="/static/css/base.css"/>
<link rel="stylesheet" href="/static/fonts/Material-Icons-Outlined.css" />
-<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/static/css/themes/dark.css"/>
-{{#if theme}}
-{{#noteq theme "system"}}
-<link rel="stylesheet" href="/static/css/themes/{{theme}}.css"/>
-{{/noteq}}
-{{/if}}
-{{#if settings.theme}}
-{{#noteq settings.theme "system"}}
-<link rel="stylesheet" href="/static/css/themes/{{settings.theme}}.css"/>
-{{/noteq}}
-{{/if}}
\ No newline at end of file
+<link rel="stylesheet" href="/static/css/themes/dark.css"/>
--
2.30.2