You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example
Text colored with $success displays as #c8e6c9 instead of #4f8f31.
Workaround
I have found a couple ways to work around this:
Import Material theme before any other SCSS
Import Material theme via ES6
Possible Solution
Change Material color variable names to something unique, perhaps with a prefix or suffix: $snotify-success or $success-snotify. This is less of a bug and more of a hiccup that users may stumble across while using this plugin.
Thanks for the awesome plugin, and keep up the good work!
The text was updated successfully, but these errors were encountered:
Issue
Importing vue-snotify Material theme via SCSS
@import
overwrites global variables with identical names.Background
I am using the Bulma CSS framework and a number of color variables are being overwritten by vue-snotify's Material theme.
app.scss
node_modules/vue-snotify/styles/material/icon.scss
Example
Text colored with
$success
displays as#c8e6c9
instead of#4f8f31
.Workaround
I have found a couple ways to work around this:
Possible Solution
Change Material color variable names to something unique, perhaps with a prefix or suffix:
$snotify-success
or$success-snotify
. This is less of a bug and more of a hiccup that users may stumble across while using this plugin.Thanks for the awesome plugin, and keep up the good work!
The text was updated successfully, but these errors were encountered: