Skip to content

Commit

Permalink
fix: update home page dark colors
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 15, 2020
1 parent f277b6f commit be5bb45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/stories/src/pages/home-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export const BoxItem = ({ children, title, action, ...rest }) => (
</Card>
);

<Flex sx={{ py: 4, flexDirection: 'column', minHeight: '350px', alignItems: 'center', justifyContent: 'space-between', bg: 'primary', color: 'white' }}>
<Flex sx={{ py: 4, flexDirection: 'column', minHeight: '350px', alignItems: 'center', justifyContent: 'space-between', bg: 'primary', color: 'background' }}>
<Flex sx={{ flexDirection: 'column', alignItems: 'center', maxWidth: '600px' }}>
<Heading as="h1">component-controls</Heading>
<Heading sx={{ py: 3 }} as="h3">
Start documenting your components with <Link sx={{ color: 'white' }} aria-label="create mdx stories" href="/tutorial/mdx-stories">MDX</Link> and <Link sx={{ color: 'white' }} aria-label="create esm stories" href="/tutorial/esmodules-stories">ESM</Link>.
Start documenting your components with <Link sx={{ color: 'background' }} aria-label="create mdx stories" href="/tutorial/mdx-stories">MDX</Link> and <Link sx={{ color: 'background' }} aria-label="create esm stories" href="/tutorial/esmodules-stories">ESM</Link>.
</Heading>
<Text sx={{ py: 1, textAlign: 'center' }}>
From auto-generated documentation for your react components, all the way to a full-featured CMS with blogs, tutorials, tags, authors and full-text search: component-controls compbines the best of breed from all pre-existing tools in the industry into a flexible platform.
Expand Down
3 changes: 2 additions & 1 deletion ui/components/src/ThemeContext/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ export const theme: ControlsTheme = {
palette5: '#1976d2',
modes: {
dark: {
primary: '#d5c0f1',
primary: '#efefef',
secondary: '#b4e1fa',
highlight: '#b7ecec',
muted: '#c9cacf',
gray: '#4d5866',
background: '#38404a',
sidebar: '#000',
text: '#d3d4db',
Expand Down

0 comments on commit be5bb45

Please sign in to comment.