blob: 7e348e7d821d59b2826c1a0d70c525962c0a205c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
+++
title="Colors"
subpage=true
+++
This theme use 1 main color to compute other colors and colorize all elements.
You can choose this main color by editing the `config.toml` file.
## Main color
This color is mainly used for menu.
{{% notice primary %}}When omited, a random value is computed on each build {{%/notice%}}
```toml
[params]
color_main = "#B0B0B0"
```
## 2nd color (optional)
{{% notice primary %}}When omited, this color is computed from main color with a saturated version{{%/notice %}}
This color is mainly used for links.
```toml
[params]
color_second = "red"
```
## Random colors
{{%alert success%}}**Random colors** : comment theses two params in your config.toml, you will have random colors on each build... {{%/alert%}}
|