Updated changes to load custom fonts better and load Oxygen locally. No more variables.

This commit is contained in:
V.H. Belvadi 2019-05-14 07:27:03 +05:30 committed by Alex Shpak
parent 69758569de
commit 3920d5ff74

View file

@ -8,7 +8,7 @@
## Features ## Features
* Clean simple design * Clean simple design
* Mobile friendly * Mobile friendly
* Customizable * Customisable
* Designed to not interfere with other layouts * Designed to not interfere with other layouts
* Zero initial configuration * Zero initial configuration
@ -133,12 +133,6 @@ params:
# - In git information # - In git information
# - In blog posts # - In blog posts
BookDateFormat: "Jan 2, 2006" BookDateFormat: "Jan 2, 2006"
# (Optional, default true) Enable or disable use of Google Fonts
# When not specified or set to "true" the theme font Oxygen will be loaded from Google Fonts
# When disabled i.e. set to "false" default browser sans-serif fonts will be used
# Set your own fonts in your root `assets/custom.scss` (see extra customisation below)
googleFonts: false
``` ```
@ -176,11 +170,12 @@ There are few empty partials you can override in `layouts/partials/`
| `layouts/partials/docs/inject/menu-after.html` | At the end of `<nav>` menu block | | `layouts/partials/docs/inject/menu-after.html` | At the end of `<nav>` menu block |
### Extra Customization ### Extra Customisation
| File | Description | | File | Description |
| -- | -- | | -- | -- |
| `static/favicon.png` | Override default favicon | | `static/favicon.png` | Override default favicon |
| `assets/custom.scss` | Customize or override scss styles | | `assets/custom.scss` | Customise or override scss styles |
| `assets/_fonts.scss` | Load custom font files (e.g. from files hosted locally in your `static` folder) |
## Contributing ## Contributing
@ -192,7 +187,7 @@ Primary goals are:
- Keep minimal (or zero) default configuration - Keep minimal (or zero) default configuration
- Avoid interference with user-defined layouts - Avoid interference with user-defined layouts
Feel free to open issue if you missing some configuration or customization option. Feel free to open issue if you missing some configuration or customisation option.
## License ## License