Skip to content

Commit

Permalink
Address JZ comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Green committed Sep 11, 2020
1 parent fecb2e8 commit 7a81311
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
steps:
- *attach_workspace
- run: yarn build:storybook
- run: yarn lerna run build:demo --concurrency=1 # prevent out-of-memory
- run: utils/scripts/deploy.js

publish:
Expand Down
2 changes: 1 addition & 1 deletion .storybook/gardenTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { create } from '@storybook/theming/create';
import { DEFAULT_THEME } from '../packages/theming/src';

export const managerTheme = create({
base: 'light',
base: 'dark',
fontBase: DEFAULT_THEME.fonts.system,
fontCode: DEFAULT_THEME.fonts.mono,
brandTitle: 'React Components / Zendesk Garden',
Expand Down
7 changes: 5 additions & 2 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ import { ThemeProvider, DEFAULT_THEME } from '../packages/theming/src';

export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*', layout: 'centered' },
backgrounds: { disable: true },
docs: {
theme: previewTheme
}
};

const GlobalPreviewStyling = createGlobalStyle`
body {
background-color: ${p => p.theme.colors.background};
color: ${p => p.theme.colors.foreground};
font-family: ${p => p.theme.fonts.system};
font-size: ${p => p.theme.fontSizes.md};
}
Expand Down Expand Up @@ -70,8 +73,8 @@ export const globalTypes = {
toolbar: {
icon: 'paintbrush',
items: [
{ value: 'disabled', title: 'Disabled' },
{ value: 'enabled', title: 'Enabled' }
{ value: 'disabled', title: 'Bedrock disabled' },
{ value: 'enabled', title: 'Bedrock enabled' }
]
}
}
Expand Down

0 comments on commit 7a81311

Please sign in to comment.