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

[Bug Report] VSnackbar text color in a class not applied #11637

Closed
185driver opened this issue Jun 15, 2020 · 2 comments
Closed

[Bug Report] VSnackbar text color in a class not applied #11637

185driver opened this issue Jun 15, 2020 · 2 comments

Comments

@185driver
Copy link
Contributor

Environment

Vuetify Version: 2.3.0
Last working version: 2.2.34
Vue Version: 2.6.11
Browsers: Chrome 84.0.4147.45
OS: Windows 10

Steps to reproduce

Open the codepen and not the snackbar text color.

Expected Behavior

The text color should be yellow, as set in the class using yellow--text.

Actual Behavior

The text color is the default off-white color.

Reproduction Link

https://codepen.io/185driver/pen/oNbLmOV

Other comments

I can see the yellow color is available in the v-snack__content class, but it is being overridden in .v-snack__wrapper.theme--dark.

@ghost ghost added the S: triage label Jun 15, 2020
@185driver 185driver changed the title [Bug Report] Snackbar text color in a class not applied [Bug Report] VSnackbar text color in a class not applied Jun 15, 2020
@185driver
Copy link
Contributor Author

In reading John's PR #11542 regarding upgrades to v-snackbar, I noticed the new content-class prop. If I move my text classes to there, everything works fine. If that is the official fix for the problem I mention above, this issue can be closed as resolved.

Some of the snackbar upgrades described in the PR notes should maybe be mentioned in the release notes for v2.3.0 as they are significant and many. Thank you!

@MajesticPotatoe
Copy link
Member

content-class would be the correct use now (or directly styling the content). Will look into updating the release notes.

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

2 participants