Closed brandon14 closed 6 years ago
Yeah, I've been scratching my head over this one for a while now. Any help is greatly appreciated.
@silvestreh I can't promise I'll figure it out but I will dig around and see what I can find.
@silvestreh So after an initial investigation to the styles applied, it seems that there is a class .list-group .selected::before, .list-tree .selected::before
that is getting the default teal color applied, and when that is focused it applies the.focusable-panel:focus .selected::before
class to it which applies the correctly set primary color as the background-color.
And I think this class applied to it isn't defined in your material-ui styles because if you look at the source of that class its coming from the default lists.less in the atom-ui library found here. It is using the @background-color-selected less variable for the background. Maybe that isn't getting updated correctly when you change the primary color?
Alright, just fixed it, thanks for the detective work! I've been quite busy with the new baby 😄 I'll publish a patch now.
@silvestreh no problem and glad I could help out. Have been using this UI theme for a long time!
In some panels, if an element is highlighted with the primary color, when that panel becomes unfocused, it will show the primary color for that element as being the default teal regardless of what the primary color is set to. I have tried with some of the preset color schemes (lime in the screenshot below) and with a custom primary and secondary color.
Reproduction Steps:
Expected behavior:
Even when unfocused, the primary color stays the set primary color.
Observed behavior:
When something highlighted as the primary color in a panel is unfocused, it changes to teal.
Screenshots and GIFs
Atom version: Atom v1.22.0-beta0 x64 OS and version: Windows 7 64-bit
Installed packages: