summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoramzrk22020-04-26 10:35:29 +0800
committeramzrk22020-04-26 10:35:29 +0800
commit0440ad6d7d326f53e34217abccbc6f4a93469f0b (patch)
treecaf8bd9b03c89be41db4218aa1164e86d4916bc7 /README.md
parentd46d55f0eeb83817945af76ae94ff3acb84d60c3 (diff)
downloadhugo-theme-fuji-0440ad6d7d326f53e34217abccbc6f4a93469f0b.tar.gz
hugo-theme-fuji-0440ad6d7d326f53e34217abccbc6f4a93469f0b.tar.bz2
hugo-theme-fuji-0440ad6d7d326f53e34217abccbc6f4a93469f0b.zip
Update metadata
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/README.md b/README.md
index 187811c..a48e15e 100644
--- a/README.md
+++ b/README.md
@@ -76,11 +76,9 @@ Note that if you use the origin markdown syntax to add images such as ```![This
### Custom CSS (need extended version of Hugo)
-You can create ```[SITEROOT]/assets/sass/custom.sass``` to cover sass variables of the theme, for example:
+You can create ```[SITEROOT]/assets/sass/custom.sass``` to cover sass variables of the theme. Just copy the variable which you need into it, check available variables below:
```sass
-// change the variables below to customize the site theme
-
// colors
$color-primary: #8AA2D3; // apply to titles and icons
$color-primary-dark: #3B469B; // apply to links:hover and pagination:current
@@ -98,17 +96,15 @@ $font-size-l4: 1em; // Primer CSS H4 & Normal Text
// divider css
$spliter: 1px solid $color-spliter;
-// @primer/css/support/variables/layout.scss
// fixed-width container variables
$container-width: 900px;
// large screen / desktop (900 + (16 * 2)) <= container + gutters
$width-lg: 932px;
-// @primer/css/support/variables/typography.scss
// font stacks
-$body-font: -apple-system, BlinkMacSystemFont, sans-serif;
+$body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Helvetica", "Arial", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
// monospace font stack
-$mono-font: 'Cascadia Code', 'SFMono-Regular', 'Consolas', $body-font;
+$mono-font: "Cascadia Code", "SF Mono", "Fira Code", "Consolas", $body-font;
// the base text size
$body-font-size: $font-size-l4;
```