Skip to content

Commit

Permalink
Update theming.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilCuzon authored Aug 1, 2020
1 parent 75762d6 commit 15103ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ The easiest way to make a custom theme is to start with the base theme, and just
| themeVariables | Array containing objects, modifiable with the `%%init%%` directive | Array | Required | primaryColor, lineColor, textColor |


# Here is an example of overriding `primaryColor` through `themeVariables` and giving everything a different look, using `%%init%%`.
## Here is an example of overriding `primaryColor` through `themeVariables` and giving everything a different look, using `%%init%%`.

```
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#ff0000'}}}%%
graph TD
Expand Down

0 comments on commit 15103ac

Please sign in to comment.