Skip to content

How to apply custom styling depending on Theme (light/dark?) #58

Answered by sergeythrees
jasonserafino asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @jasonserafino
You can use the parent css selector .rs-theme-dark .optimajet-formviewer and also .rs-theme-light .optimajet-formviewer for this:

If you need to style the form editor itself, then there are also classes there:
.optimajet-formbuilder.dark and also .optimajet-formbuilder.light

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sergeythrees
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants