mirror of https://github.com/onweru/compose.git

Blake Gearin
03.02.2022 c4ce90ce987a0f93fd2a4c70f1d42886cdb34534
exampleSite/content/docs/compose/customize.md
@@ -3,6 +3,7 @@
title = "Customize layouts & components"
weight = 10
+++
### Shortcodes modifiers
These modifiers are classes you can use with shortcodes to customize the look and feel of your layouts and components.
@@ -43,7 +44,7 @@
### How do I change the theme color?
If the theme is a git submodule, you can copy the file `assets/sass/_variables.sass` from the theme into your own site.
If the theme is a git submodule, you can copy the file `assets/sass/_variables.sass` from the theme into your own site.
The location must be exactly the same as in the theme, so put it in `YourFancySite/assets/sass/`.
You can then edit the file to customize the theme color in your site without having to modify the theme itself.
@@ -78,4 +79,6 @@
...
```
### I want to add custom sass
### I want to add custom SASS or JS
Add custom SASS and JS via [this custom SASS file](https://github.com/onweru/compose/blob/master/assets/sass/_custom.sass) and [this custom JavaScript file](https://github.com/onweru/compose/hugo-compose/blob/master/assets/js/custom.js).