-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
_[Home](index.html) > Customize colors_ | ||
|
||
|
||
# How to customize colors of Sparnatural ? | ||
|
||
_/!\This feature is available since version 8.1 of Sparnatural._ | ||
|
||
## Include a theme CSS | ||
|
||
To customize the colors of Sparnatural, you need to include an additionnal "sparnatural-theme" CSS in your webpage and overwrite the color variables declaration inside it. This reference needs to be placed _after_ the reference to Sparnatural main CSS | ||
|
||
```html | ||
<!-- Sparnatural Main CSS --> | ||
<link href="sparnatural.css" rel="stylesheet" /> | ||
<!-- Sparnatural Theme CSS, place after Sparnatual main one to override the variables declaration --> | ||
<link href="themes/sparnatural-theme-sea.css" rel="stylesheet" /> | ||
``` | ||
|
||
Some default themes are provided under the "themes" subfolder of the distribution. | ||
|
||
To get started, copy one of the theme css that are under the "themes" subfolder and adjust the values inside. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters