summaryrefslogtreecommitdiffstats
path: root/web_src/less/_user.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-15 21:58:16 +0100
committerGitHub <noreply@github.com>2020-11-15 15:58:16 -0500
commit0de546009e466486cd88dfa98d07d8775bd3087d (patch)
tree9150f26ad2580337acace452363a3081942d366d /web_src/less/_user.less
parent7a30e97002ec8bd601b93549d4efc51743ecf2b3 (diff)
downloadgitea-0de546009e466486cd88dfa98d07d8775bd3087d.tar.gz
gitea-0de546009e466486cd88dfa98d07d8775bd3087d.zip
CSS color variables, less bold font weight and more (#13567)
* CSS color variables, less bold font weight - Define color variables for fully saturated colors and apply them where it made sense - Add background color helper classes - Globally reduce bold font weight from 700 to 500 - Remove border from timeline icons - Unify dropzone styling - Various border style consolidations * attempt to fix test * another attempt at tests * fix contains
Diffstat (limited to 'web_src/less/_user.less')
-rw-r--r--web_src/less/_user.less10
1 files changed, 5 insertions, 5 deletions
diff --git a/web_src/less/_user.less b/web_src/less/_user.less
index 4af96bfd3d..9fa319deb6 100644
--- a/web_src/less/_user.less
+++ b/web_src/less/_user.less
@@ -11,7 +11,7 @@
}
.header {
- font-weight: 700;
+ font-weight: 500;
font-size: 1.3rem;
margin-top: -.2rem;
line-height: 1.3rem;
@@ -99,19 +99,19 @@
font-size: 2em;
&.green {
- color: #21ba45;
+ color: var(--color-green);
}
&.red {
- color: #d01919;
+ color: var(--color-red);
}
&.purple {
- color: #a333c8;
+ color: var(--color-purple);
}
&.blue {
- color: #2185d0;
+ color: var(--color-blue);
}
}