Hi,
Is there a way I can override the background color of the sidebar? I am especially talking about the Monokai Pro theme .
Thanks
Gagan
Hi,
Is there a way I can override the background color of the sidebar? I am especially talking about the Monokai Pro theme .
Thanks
Gagan
Yes, see http://www.sublimetext.com/docs/3/themes.html#customization. Learn about themes generally at http://www.sublimetext.com/docs/3/themes.html#customization. Specific properties at http://www.sublimetext.com/docs/3/themes.html#elements-side_bar.
Thanks for the help here. Much appreciated. But it is not working for me. Here is what I did
Step 1. Created a file called “Monokai Pro.sublime-theme” in Packages\User folder
Step 2. Added the following content to the file created in Step 1
[
{
“class”: “sidebar_container”,
“layer0.tint”: [255,255,255]
}
]
I wanted to see a white sidebar background, but I still see the default color from the theme.
Please let me know what am I doing wrong here.
Thanks and Regards
Gagan
what does the original “sidebar_container” part of the theme contain?
maybe a tint or layer opacity that isn’t being overridden or somewhere else in the theme has a higher specificity
It contains the following JSON
{
"class": "sidebar_container",
"layer0.tint": [25, 24, 26],
"layer0.opacity": 1,
"layer0.draw_center": false,
"content_margin": [0, -3, 1, 0],
},
{
"class": "sidebar_container",
"settings": ["monokai_pro_minimal"],
"content_margin": [0, 0],
},
I beleive Monokai Pro theme has some code somewhere that makes sure that nobody can mess with its settings , but I am not sure.
Thank you for looking into this and helping me out.