diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-15 18:57:16 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-15 18:57:16 +0800 |
commit | bf9af95654503df94b5b32af74a4cbc8bee7f2ec (patch) | |
tree | 9c45b63712d43e372e6519d212534e72ed27f58d /packages | |
parent | eee0640b07bcddccbddf68618f2772b1de92a18d (diff) | |
download | dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.tar dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.tar.gz dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.tar.bz2 dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.tar.lz dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.tar.xz dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.tar.zst dexon-sol-tools-bf9af95654503df94b5b32af74a4cbc8bee7f2ec.zip |
chore: improve colors
Diffstat (limited to 'packages')
-rw-r--r-- | packages/react-docs/src/components/comment.tsx | 4 | ||||
-rw-r--r-- | packages/react-shared/src/components/nested_sidebar_menu.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/react-docs/src/components/comment.tsx b/packages/react-docs/src/components/comment.tsx index c3687c510..9c866e62c 100644 --- a/packages/react-docs/src/components/comment.tsx +++ b/packages/react-docs/src/components/comment.tsx @@ -1,4 +1,4 @@ -import { MarkdownCodeBlock } from '@0xproject/react-shared'; +import { colors, MarkdownCodeBlock } from '@0xproject/react-shared'; import * as React from 'react'; import * as ReactMarkdown from 'react-markdown'; @@ -13,7 +13,7 @@ const defaultProps = { export const Comment: React.SFC<CommentProps> = (props: CommentProps) => { return ( - <div className={`${props.className} comment`}> + <div className={`${props.className} comment`} style={{ color: colors.greyTheme }}> <ReactMarkdown source={props.comment} renderers={{ code: MarkdownCodeBlock }} /> </div> ); diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx index 853b69976..71b9b4d32 100644 --- a/packages/react-shared/src/components/nested_sidebar_menu.tsx +++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx @@ -44,7 +44,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N if (this.props.shouldDisplaySectionHeaders) { // tslint:disable-next-line:no-unused-variable return ( - <div key={`section-${sectionName}`} className="py1" style={{ color: colors.linkSectionGrey }}> + <div key={`section-${sectionName}`} className="py1" style={{ color: colors.greyTheme }}> <div style={{ fontSize: 14, letterSpacing: 0.5 }} className="py1"> {finalSectionName.toUpperCase()} </div> |