Closed sirnornur closed 9 years ago
After latest update my .CodeMirror-selected, .CodeMirror-matchingbracket,
.CodeMirror-matchingtag styles are forcedly overridden. This is very frustrating, especially after getting used to a favorite theme.
I think this is related to "Auto detection of dark themes so that Brackets can do its dark theme specific styling." feature.
How can I use my custom styles for .CodeMirror-selected, .CodeMirror-matchingbracket,
.CodeMirror-matchingtag ?
@sirnornur I am sorry for the inconvenience. What theme in particular is giving problems?
The theme I use is based on "Monokai" theme (I altered it little bit) which comes in brackets themes package. So you can see the same problem in "Monokai" theme too.
@MiguelCastillo, for example changing the following style in "Monokai" theme won't do anything:
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
Please test it. Thank you.
@sirnornur is this the theme you are using? https://github.com/Brackets-Themes/Monokai Or the one shipped with the Themes extension? You can check the details in the package manager.
I'm using the one shipped with the Themes extension.
@sirnornur Sorry for the slow response. I removed the !important;
flag in resets.css that was causing the problem... https://github.com/MiguelCastillo/Brackets-Themes/commit/83c989f1c135915e4bbf7d056bc082e0e1719084
The changes are in master. Do you think you can give this a quick test to confirm this fixes the problem for you?
@sirnornur All the tests I ran reflect that this issue is fixed. I am closing it... Please feel free to open new issues up if anything else comes up :)