diff --git a/components/Button.js b/components/Button.js index a3df771..e9144a8 100644 --- a/components/Button.js +++ b/components/Button.js @@ -1,8 +1,11 @@ import React from 'react' +import { PALETTE } from '../lib/constants' export default (props) => (
{props.title}
diff --git a/components/Colorpicker.js b/components/Colorpicker.js index 7ac4e46..23d3006 100644 --- a/components/Colorpicker.js +++ b/components/Colorpicker.js @@ -1,6 +1,7 @@ import React from 'react' import enhanceWithClickOutside from 'react-click-outside' import { TwitterPicker } from 'react-color' +import { PALETTE } from '../lib/constants' class ColorPicker extends React.Component { constructor() { @@ -44,7 +45,7 @@ class ColorPicker extends React.Component { display: flex; height: 100%; width: 72px; - border: 0.5px solid #000; + border: 0.5px solid ${PALETTE.SECONDARY}; border-radius: 3px; } @@ -56,6 +57,7 @@ class ColorPicker extends React.Component { cursor: default; height: 100%; width: 36px; + border-right: 0.5px solid ${PALETTE.SECONDARY}; } .bg-color { diff --git a/components/CopyButton.js b/components/CopyButton.js index 07b48fb..d1386e5 100644 --- a/components/CopyButton.js +++ b/components/CopyButton.js @@ -5,8 +5,8 @@ import Button from './Button' import api from '../lib/api' // constants -const BUTTON_COLOR = '#84ACFC' -const BUTTON_STYLE = { borderRadius: '3px 0px 0px 3px' } +const BUTTON_COLOR = '#F6A623' +const BUTTON_STYLE = { marginRight: '8px' } const DEBOUNCE_DURATION = 10000 const STATUS = { @@ -84,10 +84,10 @@ class CopyButton extends React.Component { return (
{ this.state.link ? : null } -
) } } -export default CopyButton \ No newline at end of file +export default CopyButton diff --git a/components/Dropdown.js b/components/Dropdown.js index d114f9c..d3233c9 100644 --- a/components/Dropdown.js +++ b/components/Dropdown.js @@ -1,6 +1,7 @@ import React from 'react' import enhanceWithClickOutside from 'react-click-outside' import ArrowDown from './svg/Arrowdown' +import Checkmark from './svg/Checkmark' import { PALETTE } from '../lib/constants' class Dropdown extends React.Component { @@ -31,27 +32,18 @@ class Dropdown extends React.Component { renderListItems() { return this.props.list.map((item, i) => ( -
+
{ item.name } + { this.state.selected === item ? : null }
diff --git a/components/Toolbar.js b/components/Toolbar.js index aff3c46..f66416e 100644 --- a/components/Toolbar.js +++ b/components/Toolbar.js @@ -17,7 +17,7 @@ const Toolbar = (props) => (
-