Skip to content

Commit

Permalink
theming docs: rename M.ui to M.base46
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck committed Aug 3, 2024
1 parent d12cb90 commit f678241
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/docs/config/theming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ When modifying the custom highlight groups in your theme file, such as "onedark.
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.

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

```lua
M.ui = {
M.base46 = {
changed_themes = {
onedark = {
base_16 = {
Expand Down Expand Up @@ -94,7 +94,7 @@ return M
Finally, add your theme in chadrc.

```lua
M.ui = {
M.base46 = {
theme = "siduck",
}
```
Expand Down

0 comments on commit f678241

Please sign in to comment.