chore: improve colors

This commit is contained in:
Fabio Berger
2018-10-15 11:57:16 +01:00
parent eee0640b07
commit bf9af95654
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { MarkdownCodeBlock } from '@0xproject/react-shared'; import { colors, MarkdownCodeBlock } from '@0xproject/react-shared';
import * as React from 'react'; import * as React from 'react';
import * as ReactMarkdown from 'react-markdown'; import * as ReactMarkdown from 'react-markdown';
@@ -13,7 +13,7 @@ const defaultProps = {
export const Comment: React.SFC<CommentProps> = (props: CommentProps) => { export const Comment: React.SFC<CommentProps> = (props: CommentProps) => {
return ( return (
<div className={`${props.className} comment`}> <div className={`${props.className} comment`} style={{ color: colors.greyTheme }}>
<ReactMarkdown source={props.comment} renderers={{ code: MarkdownCodeBlock }} /> <ReactMarkdown source={props.comment} renderers={{ code: MarkdownCodeBlock }} />
</div> </div>
); );

View File

@@ -44,7 +44,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
if (this.props.shouldDisplaySectionHeaders) { if (this.props.shouldDisplaySectionHeaders) {
// tslint:disable-next-line:no-unused-variable // tslint:disable-next-line:no-unused-variable
return ( 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"> <div style={{ fontSize: 14, letterSpacing: 0.5 }} className="py1">
{finalSectionName.toUpperCase()} {finalSectionName.toUpperCase()}
</div> </div>