Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to dynamically change styles? #63

Closed
ratiotile opened this issue Sep 7, 2016 · 1 comment
Closed

How to dynamically change styles? #63

ratiotile opened this issue Sep 7, 2016 · 1 comment

Comments

@ratiotile
Copy link

My ctrl-f search box has unreadable white text on white background, so I need to modify the text color.

As stated in this thread, in ace I could do: require("ace/lib/dom").importCssString(".ace_search_field{color: black}"), but how do I do the same with brace? I don't see the original ace files exposed anywhere for me to import.

@ratiotile
Copy link
Author

I solved it.

window.ace.acequire('ace/lib/dom').importCssString(".ace_search_field{color: black}") 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant