Skip to content

Commit

Permalink
Correct spelling of D2 theme (#1560)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Jun 4, 2023
1 parent 81f4140 commit 71d30e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/setup/pages/diagram-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ With flag set, option takes effect.
|theme
|
* `default` (`0`)
* `neutral-grey` (`1`)
* `neutral-gray` (`1`)
* `flagship-terrastruct` (`3`)
* `cool-classics` (`4`)
* `mixed-berry-blue` (`5`)
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/java/io/kroki/server/service/D2.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class D2 implements DiagramService {

private final Map<String, Integer> builtinThemes = Map.ofEntries(
entry("default", 0),
entry("neutral-grey", 1),
entry("neutral-gray", 1),
entry("flagship-terrastruct", 3),
entry("cool-classics", 4),
entry("mixed-berry-blue", 5),
Expand Down

0 comments on commit 71d30e5

Please sign in to comment.