Move all remaining colors into CSS variables (#21903)

This should eliminate all non-variable color usage in the styles, making
gitea fully themeable via CSS variables. Also, it adds a linter to
enforce variables for colors.
This commit is contained in:
silverwind authored and GitHub committed 2022-11-23 08:22:27 +08:00
1 parent 68e934ab5d
commit ee21d5453f
8 files changed
+199 -43

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@
.reinstall-message {
width: 70%;
margin: 20px auto;
color: red;
color: var(--color-red);
text-align: left;
font-weight: bold;
}