Themes
When fetching a snippet, you can pass a theme
query parameter with a string value representing
the theme you want the API to use when styling your snippet. If you don't specify a value for this
parameter, snippets will use the "default"
theme.
"default"
The default theme. Modelled after the D&D 5e System Reference Document PDF.
GET
https://fivee.co/snippets/spell-card/fireBolt?theme=default
- Output
- Source
Loading...
"default-dark"
A dark-mode variation on the "default"
theme.
GET
https://fivee.co/snippets/spell-card/fireBolt?theme=default-dark
- Output
- Source
Loading...
"book"
Evocative of actual D&D source books.
GET
https://fivee.co/snippets/spell-card/fireBolt?theme=book
- Output
- Source
Loading...