diff options
author | Minku Lee <premist@me.com> | 2018-09-24 03:41:24 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-23 20:41:24 +0200 |
commit | d0d65b5a2899546c4134d1fca60aef2c23c4932d (patch) | |
tree | 27511f6ba4019289269d4aaaa3dfee2c96e6d74f /app/javascript/styles/mastodon/variables.scss | |
parent | ef1134728145c6dcf094e7a0a16a8d63f70aed6c (diff) |
Separate font-family into variable (#8763)
This will allow easier customization of font family instead of going through all occurrences of 'mastodon-font-sans-serif'.
Diffstat (limited to 'app/javascript/styles/mastodon/variables.scss')
-rw-r--r-- | app/javascript/styles/mastodon/variables.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/variables.scss b/app/javascript/styles/mastodon/variables.scss index 009f0a3c9..a82c44229 100644 --- a/app/javascript/styles/mastodon/variables.scss +++ b/app/javascript/styles/mastodon/variables.scss @@ -48,3 +48,7 @@ $media-modal-media-max-width: 100%; $media-modal-media-max-height: 80%; $no-gap-breakpoint: 415px; + +$font-sans-serif: 'mastodon-font-sans-serif' !default; +$font-display: 'mastodon-font-display' !default; +$font-monospace: 'mastodon-font-monospace' !default; |