diff options
author | DSRKafuU | 2020-09-29 22:25:09 +0800 |
---|---|---|
committer | GitHub | 2020-09-29 22:25:09 +0800 |
commit | 88f265ce15e063c52da2c0f213e4205f291e1963 (patch) | |
tree | 2ab7d8b1fea322a4a53b277c983908527398f112 /README.md | |
parent | 92909aa4796fa83661652ec5e66655f394845ee9 (diff) | |
parent | e63f48a348f9de18cb3b75254f329fe2d2f66121 (diff) | |
download | hugo-theme-fuji-88f265ce15e063c52da2c0f213e4205f291e1963.tar.gz hugo-theme-fuji-88f265ce15e063c52da2c0f213e4205f291e1963.tar.bz2 hugo-theme-fuji-88f265ce15e063c52da2c0f213e4205f291e1963.zip |
merge: pull request #44 from Hyask/master
fuji.scss: let the user override both the variables and the CSS rules
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -218,9 +218,9 @@ Use the `[SITEROOT]/layouts/partials/comment-*.html` to cover `themes/fuji/layou > Hugo extended version needed. -You can cover theme's internal SCSS variables with your own. Create `[SITEROOT]/assets/scss/_custom.scss` to cover variables in SCSS. +You can override theme's internal SCSS variables with your own. Create `[SITEROOT]/assets/scss/_custom_var.scss` to cover variables in SCSS. -Varibales available: +Variables available: ```scss $body-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', 'PingFang SC', @@ -248,6 +248,9 @@ $dark-color-bg: #2f3136; // Discord $dark-color-codebg: #414449; // GitHub ``` +To override SCSS rules, create `[SITEROOT]/assets/scss/_custom_rules.scss`. This file will have priority over anything regarding CSS rules, but is useless for changing variables that are used elsewhere in the theme. + + ## ✏️ Issue und contributing Feel free to use the [issue tracker](https://github.com/amzrk2/hugo-theme-fuji/issues). The theme has only been fully tested on Firefox, so if there are some problems when accessing with Chrome or others please also report an issue. |