-
Notifications
You must be signed in to change notification settings - Fork 493
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
Less-specified css selectors for buttons? #5
Comments
You can add your own class names to buttons and style them with those selectors. Check out this example (code) which adds a class to the submit button to make it red.
|
I guess what I mean is, the themes have lots of styling which is compatible with vex.dialog, but they can't be reused for more complex modals using vanilla vex. If I want a primary button on a modal, I need this markup:
I'd prefer only having to do this:
|
Got it. Thanks for the clarification. |
I'd like to use the themes but roll my own markup, but right now the CSS selector for the primary button looks like this:
It would be nice to not have to jump through so many hoops.
The text was updated successfully, but these errors were encountered: