question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrading from storybook 6.0.x to 6.1.10 breaks custom theming colors

See original GitHub issue

Describe the bug Setting barBg: #7e52a2 custom theme changes Shortcuts/Search bar background-color and we can’t customize it.

To Reproduce

  1. Update to storybook 6.1.10
  2. Create a custom theme
import {create} from '@storybook/theming/create';

const colorPrimary = '#7e52a2';
const colorSecondary = '#f5a623';


export const Light = create({
  barBg: colorPrimary,
...

  1. 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 image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
shilmancommented, Feb 14, 2021

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!

npx sb upgrade
0reactions
nerisinacommented, Feb 15, 2021

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.

UI-Elements-Form-Controls-Buttons-Primary-⋅-Storybook

The arrows in the left nav on hover, focus, and the active effect are taking the parameters from barSelectedColor

left-nav-Storybook
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found