2022-11-24 08:06:06AM

This commit is contained in:
Alexander Wang 2022-11-24 08:06:06 -08:00
parent d084b8d96e
commit c55ea5a4d5
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
2 changed files with 11 additions and 0 deletions

View file

@ -70,6 +70,8 @@ defendants.chesscom -> hans: 72 page report of cheating
<img src="./docs/assets/syntax.png" alt="D2 render example" />
> Rendered with the TALA layout engine.
> For more examples, see [./docs/examples](./docs/examples).
## Quickstart

View file

@ -3,6 +3,15 @@
`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.
For example, to use the "Shirley temple" theme, which has an ID of 102:
```sh
d2 --theme 102 --watch example-twitter.d2 out-twitter.svg
```
Run `d2 --help` or `man d2` for more.
# Themes overview
<img src="../docs/assets/themes_overview.png" />