NvChad / menu

Menu plugin for neovim ( supports nested menus ) made using volt
GNU General Public License v3.0
335 stars 5 forks source link

Foreground colors not switching along with theme_toggle #2

Closed 69keks closed 1 week ago

69keks commented 1 week ago

Well, as the title suggests, the text colors inside the menu box are not changing when I use the theme toggle switch in the top right corner of the screen. I have catppuccin and everblush set in theme_toggle option.

This is on the theme catppuccin which is set as default. The menu box is using the colors set in theme by default (obviously).. 2024-10-06-140937_hyprshot

and this is when I toggle it to a different theme i.e. everblush using the toggle switch image

NOTE: I mentioned foreground colors because the bg color is changing properly. It's only the fg when using the toggle switch. Manually setting the theme or restarting after toggling is setting the fg colors properly again.

image

I just installed nvchad, so if it's feasible, please let me know if i'm making an obvious mistake somewhere. I have attached my chadrc.lua. Let me know if you need more info. Thanks!

---@type ChadrcConfig
local M = {}

M.base46 = {
  theme = "everblush",
  theme_toggle = { "everblush", "catppuccin" },
  hl_override = {
    Comment = { italic = true },
    ["@comment"] = { italic = true },
  },
}

M.ui = {
  telescope = { style = "bordered" },
  statusline = {
    theme = "minimal",
  },
}

M.nvdash = {
  load_on_startup = true,
  header = {
    "",
    "███╗   ███╗███████╗██╗    ██╗   ██╗██╗██╗     ██╗     ██╗",
    "████╗ ████║██╔════╝██║    ██║   ██║██║██║     ██║     ██║",
    "██╔████╔██║█████╗  ██║    ██║   ██║██║██║     ██║     ██║",
    "██║╚██╔╝██║██╔══╝  ██║    ╚██╗ ██╔╝██║██║     ██║     ██║",
    "██║ ╚═╝ ██║███████╗███████╗╚████╔╝ ██║███████╗███████╗██║",
    "╚═╝     ╚═╝╚══════╝╚══════╝ ╚═══╝  ╚═╝╚══════╝╚══════╝╚═╝",
    "",
  },
}

return M
siduck commented 1 week ago

That is because its a general nvim plugin, not integrated with nvchad's base46

69keks commented 1 week ago

I see. If the integration of menu plugin with base46 is not planned right now, I will just close the issue. It's not exactly a breaking issue or anything.. Thank you for quick reply 🫡