summaryrefslogtreecommitdiffstats
path: root/web_src/less/_form.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-10-19 22:01:06 +0200
committerGitHub <noreply@github.com>2020-10-19 22:01:06 +0200
commit3ddf3f93d6346ac9440a7a571faea4b5c1c329be (patch)
tree2bf7348498659d923ce28a25eb1ce80f2944a0ad /web_src/less/_form.less
parent[skip ci] Updated translations via Crowdin (diff)
downloadforgejo-3ddf3f93d6346ac9440a7a571faea4b5c1c329be.tar.xz
forgejo-3ddf3f93d6346ac9440a7a571faea4b5c1c329be.zip
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
Diffstat (limited to 'web_src/less/_form.less')
-rw-r--r--web_src/less/_form.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/less/_form.less b/web_src/less/_form.less
index 48a8a79b21..260910e95c 100644
--- a/web_src/less/_form.less
+++ b/web_src/less/_form.less
@@ -238,7 +238,7 @@
.githook {
textarea {
- font-family: @monospaced-fonts, monospace;
+ font-family: var(--fonts-monospace);
}
}