Merge pull request 'Fix text selection color' (#3608) from 0ko/forgejo:fix-color-sel into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3608
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-05-02 17:44:36 +00:00
commit 85f2727872
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1 @@
Fix text selection color

View file

@ -141,6 +141,7 @@
/* other colors */ /* other colors */
--color-gold: #b1983b; --color-gold: #b1983b;
--color-white: #ffffff; --color-white: #ffffff;
--color-pure-black: #000000;
--color-diff-removed-word-bg: #783030; --color-diff-removed-word-bg: #783030;
--color-diff-added-word-bg: #255c39; --color-diff-added-word-bg: #255c39;
--color-diff-removed-row-bg: #432121; --color-diff-removed-row-bg: #432121;
@ -304,7 +305,7 @@ i.grey.icon.icon.icon.icon {
} }
::selection { ::selection {
background: var(--steel-100) !important; background: var(--steel-100) !important;
color: var(--color-white) !important; color: var(--color-pure-black) !important;
} }
strong.attention-important, svg.attention-important { strong.attention-important, svg.attention-important {
color: var(--color-violet-light); color: var(--color-violet-light);