mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-06-26 20:51:37 +02:00
Update theming.md
Minor wording fixes
This commit is contained in:
parent
6c438298f2
commit
2389cac9b0
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Change theme
|
## Change theme
|
||||||
|
|
||||||
the default theme can be changed using the yaml configuration file
|
The default theme can be changed using the yaml configuration file
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
theme: default # 'default', 'walkxcode', or 'neon' see files in 'src/assets/themes'.
|
theme: default # 'default', 'walkxcode', or 'neon' see files in 'src/assets/themes'.
|
||||||
@ -10,7 +10,7 @@ theme: default # 'default', 'walkxcode', or 'neon' see files in 'src/assets/them
|
|||||||
|
|
||||||
## Colors and background customization
|
## Colors and background customization
|
||||||
|
|
||||||
Default colors and background can be customized for each theme variant (light and dark), using either the yaml config file, or the css variables (cf "Additional stylesheets" below).
|
Default colors and background can be customized for each theme variant (light and dark), using either the yaml config file, or the css variables (see "Additional stylesheets" below).
|
||||||
|
|
||||||
### Available options
|
### Available options
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ Default colors and background can be customized for each theme variant (light an
|
|||||||
| `background-image` | `--background-image` | page background image url (when used in css, set `url(<image-url>)` insted of just the url. see exemple below)|
|
| `background-image` | `--background-image` | page background image url (when used in css, set `url(<image-url>)` insted of just the url. see exemple below)|
|
||||||
|
|
||||||
|
|
||||||
yaml exemple
|
YAML example
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
colors:
|
colors:
|
||||||
@ -45,7 +45,7 @@ colors:
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
CSS exemple
|
CSS example
|
||||||
|
|
||||||
```css
|
```css
|
||||||
.light {
|
.light {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user