Skip to content

Commit

Permalink
Merge pull request #1594 from edwilde/patch-1
Browse files Browse the repository at this point in the history
FIX Update Storybook logo to the 5.1 OSS logo
  • Loading branch information
GuySartorelli committed Oct 27, 2023
2 parents 6f41c7f + 3c96973 commit c5f6a15
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
Add code to be inserted into the Storybook manager <head> below.
@see https://storybook.js.org/docs/react/addons/writing-presets#previewmanager-templates
This is useful if you want to hide parts of the interface.
-->
<style>
/* define a minimum width for the logo */
.sidebar-header a > img {
min-width: 120px;
}
</style>
5 changes: 3 additions & 2 deletions .storybook/theme/SilverstripeTheme.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import { create } from '@storybook/theming/create';
import logo from './images/logo.svg';

const SilverstripeTheme = create({
base: 'light',
brandTitle: 'Silverstripe CMS - Storybook',
brandImage: 'https://www.silverstripe.com/_resources/themes/app/dist/images/logos/silverstripe-logo.svg',
brandImage: logo,
brandTarget: '_self',

// Main colors
colorPrimary: '#005be0',
// Temporary
colorSecondary: '#005be0',

// Toolbar default and active colors
barTextColor: '#9E9E9E',
barSelectedColor: '#005be0',
Expand Down
1 change: 1 addition & 0 deletions .storybook/theme/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c5f6a15

Please sign in to comment.