summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/themes/theme-forgejo-dark-deuteranopia-protanopia.css6
-rw-r--r--web_src/css/themes/theme-forgejo-dark-tritanopia.css6
-rw-r--r--web_src/css/themes/theme-forgejo-light-deuteranopia-protanopia.css12
-rw-r--r--web_src/css/themes/theme-forgejo-light-tritanopia.css12
4 files changed, 16 insertions, 20 deletions
diff --git a/web_src/css/themes/theme-forgejo-dark-deuteranopia-protanopia.css b/web_src/css/themes/theme-forgejo-dark-deuteranopia-protanopia.css
index b30cfd6b23..e0765aba4a 100644
--- a/web_src/css/themes/theme-forgejo-dark-deuteranopia-protanopia.css
+++ b/web_src/css/themes/theme-forgejo-dark-deuteranopia-protanopia.css
@@ -1,11 +1,9 @@
@import "./theme-forgejo-dark.css";
:root {
- --color-diff-removed-word-bg: #693f17;
- --color-diff-removed-row-border: #693f17;
- --color-diff-removed-row-bg: #221b17;
+ /* removed rows/words: use red colors from vanilla forgejo-dark */
--color-diff-added-word-bg: #214d88;
--color-diff-added-row-border: #214d88;
- --color-diff-added-row-bg: #13233a;
+ --color-diff-added-row-bg: #18184f;
--color-code-bg: #0d1117;
}
diff --git a/web_src/css/themes/theme-forgejo-dark-tritanopia.css b/web_src/css/themes/theme-forgejo-dark-tritanopia.css
index aefdaa1bf7..e4fc303481 100644
--- a/web_src/css/themes/theme-forgejo-dark-tritanopia.css
+++ b/web_src/css/themes/theme-forgejo-dark-tritanopia.css
@@ -1,11 +1,9 @@
@import "./theme-forgejo-dark.css";
:root {
- --color-diff-removed-word-bg: #792e2e;
- --color-diff-removed-row-border: #792e2e;
- --color-diff-removed-row-bg: #25171c;
+ /* removed rows/words: use red colors from vanilla forgejo-dark */
--color-diff-added-word-bg: #214d88;
--color-diff-added-row-border: #214d88;
- --color-diff-added-row-bg: #13233a;
+ --color-diff-added-row-bg: #152846;
--color-code-bg: #0d1117;
}
diff --git a/web_src/css/themes/theme-forgejo-light-deuteranopia-protanopia.css b/web_src/css/themes/theme-forgejo-light-deuteranopia-protanopia.css
index eb48b7598d..8744cbb581 100644
--- a/web_src/css/themes/theme-forgejo-light-deuteranopia-protanopia.css
+++ b/web_src/css/themes/theme-forgejo-light-deuteranopia-protanopia.css
@@ -1,11 +1,11 @@
@import "./theme-forgejo-light.css";
:root {
- --color-diff-removed-word-bg: #ffdbb0;
- --color-diff-removed-row-border: #ffdbb0;
- --color-diff-removed-row-bg: #fffaf3;
- --color-diff-added-word-bg: #b1dbff;
- --color-diff-added-row-border: #b1dbff;
- --color-diff-added-row-bg: #eef9ff;
+ --color-diff-removed-word-bg: #c8c850;
+ --color-diff-removed-row-border: #c8c850;
+ --color-diff-removed-row-bg: #ffecc4;
+ --color-diff-added-word-bg: #b8c0ff;
+ --color-diff-added-row-border: #b8c0ff;
+ --color-diff-added-row-bg: #e0e0ff;
--color-code-bg: #ffffff;
}
diff --git a/web_src/css/themes/theme-forgejo-light-tritanopia.css b/web_src/css/themes/theme-forgejo-light-tritanopia.css
index 208da5597f..3f875e4a7f 100644
--- a/web_src/css/themes/theme-forgejo-light-tritanopia.css
+++ b/web_src/css/themes/theme-forgejo-light-tritanopia.css
@@ -1,11 +1,11 @@
@import "./theme-forgejo-light.css";
:root {
- --color-diff-removed-word-bg: #ffd0ce;
- --color-diff-removed-row-border: #ffd0ce;
- --color-diff-removed-row-bg: #fff5f4;
- --color-diff-added-word-bg: #b1dbff;
- --color-diff-added-row-border: #eef9ff;
- --color-diff-added-row-bg: #eef9ff;
+ --color-diff-removed-word-bg: #ffb8c0;
+ --color-diff-removed-row-border: #ffb8c0;
+ --color-diff-removed-row-bg: #ffd8d8;
+ --color-diff-added-word-bg: #b8c0ff;
+ --color-diff-added-row-border: #b8c0ff;
+ --color-diff-added-row-bg: #c0e8ff;
--color-code-bg: #ffffff;
}