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

Storybook theming does not allow for changing top level headers in sidebar #17260

Open
sdaconceicao opened this issue Jan 17, 2022 · 2 comments

Comments

@sdaconceicao
Copy link

sdaconceicao commented Jan 17, 2022

Describe the bug
Using the documentation here:
https://storybook.js.org/docs/react/configure/theming
I haven't found a way to change the coloring of the top level headers in the side menu. They are stuck with the color of #999, and there doesn't appear to be an easily targeted class to override it, css-ulso1l.

To Reproduce

  1. Create a custom theme
import { create } from '@storybook/theming';
export default create({
  base: 'light',
  colorPrimary: '#ff0000',
  colorSecondary: '#cc0000',

  // UI
  appBg: '#555',
  appContentBg: '#eee',
  appBorderColor: 'grey',
  appBorderRadius: 4,
  textColor: '#000',
  textInverseColor: '#fff',
  textMutedColor: '#444',

  // Typography
  fontBase: '"Open Sans", sans-serif',
  fontCode: 'monospace',

  // Toolbar default and active colors
  barTextColor: 'silver',
  barSelectedColor: '#222',
  barBg: 'grey',

  // Form colors
  inputBg: 'grey',
  inputBorder: 'silver',
  inputTextColor: 'white',
  inputBorderRadius: 4
});
  1. View Sidebar contents with a Grouped set of stories. In the image below, the Form Components text is the text I'm trying to target.

Screen Shot 2022-01-17 at 11 42 33 AM

@ghidersamihaela
Copy link
Contributor

Hi,

I was thinking I could take this and investigate is no one has it in progress.

@BikashSah999
Copy link
Contributor

@sdaconceicao textMutedColor will change the coloring of the top level headers

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

No branches or pull requests

5 participants