@storybook/theming/create#create JavaScript Examples

The following examples show how to use @storybook/theming/create#create. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: manager.js    From dnd-builder with MIT License 6 votes vote down vote up
theme = create({
  base: 'light',
  brandImage: logo,
  brandTitle: 'Jotform DND Builder',
  brandUrl: 'https://github.com/jotform/dnd-builder',

  appBg: '#DFE7F2',
  colorSecondary: '#01BD6F',

  // Toolbar default and active colors
  barTextColor: '#888FA9',
  barSelectedColor: '#01BD6F',
})
Example #2
Source File: manager.js    From polaris with Apache License 2.0 6 votes vote down vote up
addons.setConfig({
  isFullscreen: false,
  showPanel: true,
  theme: create({
    base: 'light',

    brandTitle: 'Polaris StoryBook'
  })
});
Example #3
Source File: storybookTheme.js    From blade with MIT License 6 votes vote down vote up
light = create({
  backgroundColor: lightTheme.colors.background[400],
  headerTextColor: lightTheme.colors.shade[980],
  labelColor: lightTheme.colors.shade[980],
  borderColor: lightTheme.colors.shade[930],
  previewBorderColor: lightTheme.colors.background[400],
  buttonTextColor: lightTheme.colors.shade[960],
  buttonActiveTextColor: lightTheme.colors.shade[980],
})
Example #4
Source File: storybookTheme.js    From blade with MIT License 6 votes vote down vote up
dark = create({
  backgroundColor: darkTheme.colors.background[400],
  headerTextColor: darkTheme.colors.shade[980],
  labelColor: darkTheme.colors.shade[980],
  borderColor: darkTheme.colors.shade[970],
  previewBorderColor: darkTheme.colors.background[400],
  buttonTextColor: darkTheme.colors.shade[960],
  buttonActiveTextColor: darkTheme.colors.shade[980],
})
Example #5
Source File: manager.js    From blade with MIT License 5 votes vote down vote up
theme = create({
  base: 'light',
  brandTitle: 'Blade Design System',
})