ankurk91/vue-toast-notification

Help to override color

pravinfullstack opened this issue · 9 comments

I am trying to override the css colors, so far no success.
Please provide the steps to make the changes,

Thanks

I have tried to import the variable file in a custom scss file and then to override the css.
I'm unable to override it.

Share your code or create a codesandbox

//custom.scss file
@import "~vue-toast-notification/src/themes/default/_variables.scss";

$toast-colors: (
    success: #333745,
);

Please learn scss first.

You need to define the variable first and then consume it.

Thanks, but it will be much better to help the fellow developers with clear steps and then close the ticket.

There are tons of resource on Internet to learn scss.

hi is it same to version 0.6??? I'm using vue 2 now

plz answer me

Yup same