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

How do I remove all styles from a slot? #3594

Open
jwoertink opened this issue Mar 17, 2025 · 0 comments
Open

How do I remove all styles from a slot? #3594

jwoertink opened this issue Mar 17, 2025 · 0 comments
Labels
question Further information is requested v3 #1289

Comments

@jwoertink
Copy link
Contributor

Description

I've read through https://ui.nuxt.com/getting-started/theme but I didn't see anything that mentions how to do this...

I'm looking for a way to completely remove all of the styles in a specific slot of a component (as opposed to just overriding each style one by one).

For example, lets say I'm looking at Modal and want to remove all styles under content. I tried using both null and "" but those didn't seem to work.

{
  ui: {
    modal: {
      slots: {
        content: null,
      }
    }
  }
}

Is this possible to do?

@jwoertink jwoertink added question Further information is requested v3 #1289 labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant