mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 22:47:21 +00:00
Use CSS Variables for fonts, remove postcss-loader (#13204)
* Use CSS Variables for fonts, remove postcss-loader - Use CSS variables for fonts, making the fonts easier to customize - Remove postcss-loader, it's not doing anything useful and is actually applying strange transforms on our CSS. Fixes: https://github.com/go-gitea/gitea/issues/11045 * introduce helper variable, mark documented vars * work around case issue by always quoting specific fonts
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
.CodeMirror {
|
||||
font: 14px @monospaced-fonts, monospace;
|
||||
font: 14px var(--fonts-monospace);
|
||||
|
||||
&.cm-s-default {
|
||||
border-radius: 3px;
|
||||
|
Reference in New Issue
Block a user