We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722d61e commit c39166aCopy full SHA for c39166a
docs/flavors/overview.md
@@ -50,11 +50,26 @@ Where:
50
51
## Usage {#usage}
52
53
-For example, if you want to use the `bar.yazi` flavor, set the content of your `theme.toml` to:
+For example, if you want to use the `bar.yazi` flavor in _dark_ mode, set the content of your `theme.toml` to:
54
55
```toml
56
[flavor]
57
-use = "bar"
+dark = "bar"
58
+```
59
+
60
+or use it in _light_ mode:
61
62
+```toml
63
+[flavor]
64
+light = "bar"
65
66
67
+If you want to use the `bar.yazi` flavor in both _dark_ and _light_ modes:
68
69
70
71
72
73
```
74
75
Make sure your `theme.toml` doesn't contain anything other than `[flavor]`, unless you want to override certain styles of the `bar.yazi` flavor.
0 commit comments