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

QTabs: active-class #10494

Closed
SharpBCD opened this issue Aug 26, 2021 · 4 comments
Closed

QTabs: active-class #10494

SharpBCD opened this issue Aug 26, 2021 · 4 comments

Comments

@SharpBCD
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Now we have active-bg-color and active-color which works fine for a single type of theme (dark/light). However, when using both dark and light theme it requires an additional check to set the appropriate colors.
Quasar colors can not be formatted based on theme.

Describe the solution you'd like
Add prop active-class where we can define background and color and change them with .body--dark

@pdanpdan
Copy link
Collaborator

You can change the active colors by using some computed depending on $q.dark.isActive

@SharpBCD
Copy link
Contributor Author

SharpBCD commented Sep 10, 2021 via email

@pdanpdan
Copy link
Collaborator

yes, the request is valid :)

@rstoenescu
Copy link
Member

Feature will be available in Quasar v2.1.4 through new QTabs prop active-class.

pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants