Merge pull request 'Improve colors used by colorblind-friendly forgejo themes' (#6059) from DanielGibson/forgejo:improve-colorblind-themes into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6059
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-11-26 16:30:53 +00:00
commit a7cae463b2
4 changed files with 16 additions and 20 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}