modifications/invidious/0001-Add-Doom-One-Coloursch...

106 lines
2.1 KiB
Diff

From cba34a4b011fd0495212075ba88fd82ffc3eada9 Mon Sep 17 00:00:00 2001
From: Arya Kiran <aryak@vern.cc>
Date: Wed, 12 Oct 2022 11:59:08 +0530
Subject: [PATCH] Add Doom One Colourscheme
Signed-off-by: Arya Kiran <aryak@vern.cc>
---
assets/css/default.css | 63 +++++++++++++++++++++++++-----------------
1 file changed, 38 insertions(+), 25 deletions(-)
diff --git a/assets/css/default.css b/assets/css/default.css
index ab2b79e6..43a79e5b 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -372,31 +372,44 @@ span > select {
}
@media (prefers-color-scheme: light) {
- .no-theme a:hover,
- .no-theme a:active,
- .no-theme summary:hover {
- color: #075A9E !important;
- }
+.no-theme a:hover,
+.no-theme a:active {
+ color: rgb(0, 182, 240);
+}
- .no-theme a.pure-button-primary:hover {
- color: #fff !important;
- }
+.no-theme a {
+ color: #a0a0a0;
+ text-decoration: none;
+}
- .no-theme a {
- color: #335d7a;
- text-decoration: none;
- }
+body.no-theme {
+ background-color: #282c34;
+ color: #bbc2cf;
+}
- /* All links that do not fit with the default color goes here */
- .no-theme a:not([data-id]) > .icon,
- .no-theme .pure-u-lg-1-5 > .h-box > a[href^="/watch?"],
- .no-theme .playlist-restricted > ol > li > a {
- color: #303030;
- }
+.no-theme .pure-form legend {
+ color: #f0f0f0;
+}
+
+.no-theme .pure-menu-heading {
+ color: #f0f0f0;
+}
+
+.no-theme input,
+.no-theme select,
+.no-theme textarea {
+ color: rgba(35, 35, 35, 1);
+}
+
+.no-theme .pure-form input[type="file"] {
+ color: #f0f0f0;
+}
+
+.no-theme .searchbar input {
+ background-color: inherit;
+ color: inherit;
+}
- .light-theme .pure-menu-heading {
- color: #565d64;
- }
}
/*
@@ -415,8 +428,8 @@ span > select {
}
body.dark-theme {
- background-color: rgba(35, 35, 35, 1);
- color: #f0f0f0;
+ background-color: #282c34;
+ color: #bbc2cf;
}
.dark-theme .pure-form legend {
@@ -454,8 +467,8 @@ body.dark-theme {
}
body.no-theme {
- background-color: rgba(35, 35, 35, 1);
- color: #f0f0f0;
+ background-color: #282c34;
+ color: #bbc2cf;
}
.no-theme .pure-form legend {
--
2.36.1