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

Background color change nuxtjs #129

Closed
nickelnext opened this issue Mar 16, 2021 · 2 comments
Closed

Background color change nuxtjs #129

nickelnext opened this issue Mar 16, 2021 · 2 comments

Comments

@nickelnext
Copy link

👋 Good day

Hi.

In nuxt.js project I have
modules:

 [
      'vue-sweetalert2/nuxt',
      {
        confirmButtonColor: '#ff0000',
        cancelButtonColor: '#0000ff',
      }
    ]

I want to either use the dark-theme (which i already installed with
npm install --save sweetalert2 @sweetalert2/theme-dark

or just be able to set the background of the alerts to a custom color.
How can I achieve that? It is not clear to me.

Thank you very much

@avil13 avil13 closed this as completed in 2341b0b Mar 18, 2021
@avil13
Copy link
Owner

avil13 commented Mar 18, 2021

Hi. Here is a sample solution, added in version 4.2.1

https://github.com/avil13/vue-sweetalert2#using-a-different-theme-in-nuxt

@nickelnext
Copy link
Author

Thanks!! you're great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants