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

_index.md « colors « customize-style « content-organisation « content « exampleSite - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9acf7f27a268c863fd2d71987fdfdc7fdc783c85 (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
+++
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.

{{% alert theme="warning" %}}When omited, a random value is computed on each build {{%/alert%}}
```toml
	[params]
	color_main = "#B0B0B0"
```

## 2nd color (optional)
{{% alert theme="warning" %}}When omited, this color is computed from main color with a saturated version{{%/alert%}}

This color is mainly used for links.

```toml
	[params]
	color_over = "red"
```