Skip to content

Commit 82b7830

Browse files
levittefdncred
andauthored
Fix: color theme examples (#1925)
* Fix: color theme examples The color theme examples in book/coloring_and_theming.md weren't quite right. * Update book/coloring_and_theming.md --------- Co-authored-by: Darren Schroeder <[email protected]>
1 parent 30eed19 commit 82b7830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/coloring_and_theming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ use std/config light-theme # add this line to load the theme into scope
592592
593593
$env.config = {
594594
# ...
595-
color_config: (light_theme) # if you want a light theme, replace `$dark_theme` to `$light_theme`
595+
color_config: (light-theme) # after using dark-theme or light-theme from std, you can change this with `(dark-theme)` in place of `(light-theme)`.
596596
# ...
597597
}
598598
```
@@ -605,7 +605,7 @@ use std/config dark-theme
605605
606606
$env.config = {
607607
# ...
608-
color_config: (dark_theme)
608+
color_config: (dark-theme)
609609
# ...
610610
}
611611
```

0 commit comments

Comments
 (0)