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

Disable parameter does not work in Story #58

Open
aberonni opened this issue Jun 14, 2021 · 0 comments
Open

Disable parameter does not work in Story #58

aberonni opened this issue Jun 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@aberonni
Copy link

I've tried disabling the themes plugin for a specific story and I can't get it to work.

For example this doesn't work

export default {
  title: 'DesignTokens/Colors',
  parameters: {
    themes: {
      disable: true
    },
  }
}

But this does

export default {
  title: 'DesignTokens/Colors',
  parameters: {
    themes: {
      list: [{ name: 'Something that only appears in this story', class: '', color: '#FFFFFF' }],
    },
  }
}
@tonai tonai added the bug Something isn't working label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants