Skip to content

Commit f678241

Browse files
committed
theming docs: rename M.ui to M.base46
1 parent d12cb90 commit f678241

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/docs/config/theming.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When modifying the custom highlight groups in your theme file, such as "onedark.
1515
Although hex colors can also be used in the "fg/bg" field, it is recommended to utilize the variable names (e.g. "blue", "darker_black", "one_bg", etc.) from your theme file as they will provide a better aesthetic. This way, there is no need to manually write the hex colors.
1616

1717
```lua
18-
M.ui = {
18+
M.base46 = {
1919
hl_override = {
2020
Pmenu = { bg = "white" },
2121
-- Pmenu = { bg = "#ffffff" }, this works too
@@ -43,7 +43,7 @@ In order to add custom highlights, it's the same as above, just use **`hl_add`**
4343
If you just want to customize an already existing theme, you can change the following configuration:
4444

4545
```lua
46-
M.ui = {
46+
M.base46 = {
4747
changed_themes = {
4848
onedark = {
4949
base_16 = {
@@ -94,7 +94,7 @@ return M
9494
Finally, add your theme in chadrc.
9595

9696
```lua
97-
M.ui = {
97+
M.base46 = {
9898
theme = "siduck",
9999
}
100100
```

0 commit comments

Comments
 (0)