Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marcanuy/simpleit-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Canina <me@marcanuy.com>2019-08-06 02:05:05 +0300
committerMarcelo Canina <me@marcanuy.com>2019-08-06 02:05:05 +0300
commit91f6bc26dccb3d9931fe5ffc15268d37c9ecac7e (patch)
tree9b9ec4f36f02aef75cc36232440c4d0f9cff6cd1 /README.md
parent6f3982a8c5c4fa9d239c69857b599a7de6d43777 (diff)
specify how to customize styles extending repo ones
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 18 insertions, 2 deletions
diff --git a/README.md b/README.md
index d87e7db..f77c09c 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,7 @@ section/"subsection" its own articles and nested sections.
- [Screenshots](#screenshots)
- [Contributing](#contributing)
- [Websites using theme](#websites-using-theme)
+- [Reference](#reference)
- [License](#license)
<!-- markdown-toc end -->
@@ -347,12 +348,27 @@ canonifyURLs = true
# Customizing styles for your website
If you want to change some styling to fit your own website needs, copy
-the following files to your website root path and edit them:
+the following files to your website instance and edit them:
-- `assets/sass/custom_variables.scss`: customize variables used by Bootstrap.
+- `assets/sass/custom_variables.scss`: customize variables used by
+ Bootstrap.
- `assets/sass/styles.scss`: your main website styles with all
Bootstrap variables avaiable.
+Or include them with a SCSS include:
+
+- for `custom_variables.scss`:
+
+~~~ sass
+@import "../../themes/simpleit-hugo-theme/assets/sass/custom_variables.scss";
+~~~
+
+and for `styles.scss`
+
+~~~ sass
+@import "../../themes/simpleit-hugo-theme/assets/sass/styles.scss";
+~~~
+
# Notes for developers
If you plan to change something or contribute to theme development