1
0
Fork 0
forked from forgejo/forgejo

Fix CSS linting errors

- Trivial auto-fix applied.
- Removed CSS that was no longer needed (either was removed or upstream
already improved the CSS).
- Used existing variables for colors.
- Fix CSS selectors to match existing ones.
This commit is contained in:
Gusted 2024-02-25 23:44:00 +01:00
parent c4a92ec9da
commit c2280a2009
No known key found for this signature in database
GPG key ID: FD821B732837125F
7 changed files with 120 additions and 143 deletions

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-code-bg: #FFFFFF;
--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-code-bg: #ffffff;
}