chore: improve colors
This commit is contained in:
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user