Upgrading from storybook 6.0.x to 6.1.10 breaks custom theming colors
See original GitHub issueDescribe the bug
Setting barBg: #7e52a2
custom theme changes Shortcuts/Search bar background-color and we can’t customize it.
To Reproduce
- Update to storybook 6.1.10
- Create a custom theme
import {create} from '@storybook/theming/create';
const colorPrimary = '#7e52a2';
const colorSecondary = '#f5a623';
export const Light = create({
barBg: colorPrimary,
...
- The UI is ugly and unintended components changes their background colors as well.
Expected behavior Setting top bar won’t have any effect on the search bar/ shortcuts buttons OR we can customize search search bar/ shortcuts colors as well.
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Storybook 6 Migration Guide
This guide takes you through: Upgrading the Storybook packages; Dealing with breaking changes; Updating to current best practices. We assume you ...
Read more >Storybook 6.0 Migration Guide - Medium
Storybook 6.0 Migration Guide · Upgrading the Storybook packages · Dealing with breaking changes · Updating to current best practices.
Read more >@storybook/addon-backgrounds | Yarn - Package Manager
Storybook Addon Backgrounds can be used to change background colors inside the preview in Storybook. Framework Support. React Storybook Screenshot ...
Read more >ZXB - River Thames Conditions - Environment Agency - GOV.UK
#in Captain leonards maryland, Fm 101 rj pics peshawar, Friday night smackdown 06/13/14, Latham skips, Confessioner, Screenshot one x htc, Teliani valley ...
Read more >2.9 PDF - CKAN documentation
Customizing dataset and resource metadata fields using IDatasetForm . ... Note: If you want to upgrade a CKAN 1.x package install to a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Gadzooks!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.18 containing PR #13895 that references this issue. Upgrade today to the
@latest
NPM tag to try it out!The search input on the left nav is working correctly but I think still some bugs in the custom theme configuration.
The switch buttons under control it’s taking the toolbar background.
The arrows in the left nav on hover, focus, and the active effect are taking the parameters from
barSelectedColor