fix: Overriding colors inside a table using color group
About
This PR is to fix the use of the group colors when trying to override colors that are "two or more"-level deep in the table. When trying to use group colors on a "two or more"-level deep color returns an error saying that the color doesn't exist, but that's false when trying to use the "green" or "blue" or any of the necessary colors that it's in use on the theme. It's possible to point out that the iteration over the color table makes the group colors vanish from the table after analyzing the code.
Implements
This PR implements a basic_colors argument for color_override. This basic_color is a table with the colors that the theme has. So when using a color group to override a color, it will first verify if basic_color has it and then use it.
Could you tell me, How you are planning to use these overrides ?
Could you tell me, How you are planning to use these overrides ?
At the time, I was using it to reference the base colors of the theme when overriding the Lualine colors
I want to do something like this only.. https://github.com/projekt0n/github-nvim-theme/pull/192. Could you share example code how you are doing it ? To override lualine colors.. i want to change section_c colors