A few css definitions are set as global styles rather than part of a theme; perhaps a brackets theme. For example,
You can set codemirror instances to be created with "brackets" as the default theme with:
CodeMirror.defaults.theme = "brackets";
This is just more friendly for people (like myself) trying to take advantage of CodeMirrors themes.
this sounds like a valuable idea. Could you imagine to put up a pull request or outline the tasks necessary to perform the changes as we use to do for a user story. We'd like to prioritize this as a community contribution.
Thanks a ton,
@MiguelCastillo - Please send us your feedback to my request above.
Hi Peter, I am really sorry I never responded... I had no idea you had commented on this request. :(
Yes, I will be happy to make a pull request, absolutely. Let me put something together and you will hear from me soon.
This issue is unassigned, so marking "Needs Review".
@MiguelCastillo - sorry we haven't looked at this issue in awhile. Is it still relevant? If so, would you still be up for putting up a pull request with a proposal for how the core code should be changed to support theming better?
Assigning to @ingorichter, low pri, to track the issue.
@njx Yeah I know its an old issue, sorry I never got back to this...
So, two things.
1. I am hoping this will go away when this is implemented https://trello.com/c/y5ed9WKY/460-3-theme-support
2. I added some default css overrides that address the issue in my Themes extension.
So, this issue isn't really as relevant anymore.
I will be happy to help move the whole Themes part of Brackets forward though. Let me know how I can help!
Yup, we definitely want to have themes in the core eventually, so we might want to use one of the existing extensions as a starting point.
It sounds like this change is no longer necessary, so I'll close the issue. If it would make things significantly cleaner for your extension, though, and you feel like putting up a PR for it at some point, we'd definitely take a look at it. Thanks.