19 lines
488 B
Markdown
19 lines
488 B
Markdown
|
|
# d2themes
|
||
|
|
|
||
|
|
`d2themes` defines themes for D2. You can add a new one in `./d2themescatalog`, give a
|
||
|
|
unique ID, and specify it in the CLI or library to see it.
|
||
|
|
|
||
|
|
# Color coding guide
|
||
|
|
|
||
|
|
<img src="../docs/assets/themes_coding.png" />
|
||
|
|
|
||
|
|
# Color coding example
|
||
|
|
|
||
|
|
<img src="../docs/assets/themes_coding_example.png" />
|
||
|
|
|
||
|
|
# Container gradients
|
||
|
|
|
||
|
|
To distinguish container nesting, objects get progressively lighter the more nested it is.
|
||
|
|
|
||
|
|
<img src="../docs/assets/themes_gradients.png" width="300px" />
|