diff --git a/components/Button/index.scss b/components/Button/index.scss index 6c22d058..818625be 100644 --- a/components/Button/index.scss +++ b/components/Button/index.scss @@ -1,35 +1,32 @@ .Button { align-items: center; + background: transparent; border: none; border-radius: 6px; + color: $grey-50; display: inline-flex; - font-size: 1.4rem; - font-weight: $medium; + font-size: $font-button; + font-weight: $normal; gap: 6px; padding: 8px 12px; &:hover { - color: $grey-00; + background: white; cursor: pointer; + color: $grey-00; - & .icon { - color: #2360C5; + .icon svg { + fill: $grey-50; } } - &.btn-grey { - background: white; - - &:hover { - background: $grey-90; - - .text { - color: $grey-00; - } - } - - .text { - color: $grey-10; + .icon { + margin-top: 2px; + + svg { + fill: $grey-50; + height: 12px; + width: 12px; } } @@ -70,17 +67,8 @@ color: #bababa; } } - - .icon { - height: 12px; - width: 12px; - - svg { - fill: #c9c9c9; - } - } .text { color: inherit; } -} \ No newline at end of file +} diff --git a/components/Button/index.tsx b/components/Button/index.tsx index 19bee2c1..b24b1550 100644 --- a/components/Button/index.tsx +++ b/components/Button/index.tsx @@ -1,6 +1,9 @@ import React from 'react' import classNames from 'classnames' +import AddIcon from '~public/icons/Add.svg' +import MenuIcon from '~public/icons/Menu.svg' + import './index.scss' interface Props { @@ -33,15 +36,15 @@ class Button extends React.Component { let icon if (this.props.type === 'new') { icon = - + } else if (this.props.type === 'menu') { icon = - + } else if (this.props.type === 'link') { icon = - + } diff --git a/components/Header/index.scss b/components/Header/index.scss index 94683bdf..5eb0d7cc 100644 --- a/components/Header/index.scss +++ b/components/Header/index.scss @@ -16,12 +16,8 @@ padding-right: 50px; padding-bottom: 16px; - .Button .icon { - color: #2360C5; - } - - .Button .text { - color: #555; + .Button { + background: white; } .Menu { diff --git a/components/HeaderMenu/index.scss b/components/HeaderMenu/index.scss index 2b6a736d..d7bd21d2 100644 --- a/components/HeaderMenu/index.scss +++ b/components/HeaderMenu/index.scss @@ -2,7 +2,7 @@ background: white; border-radius: 6px; display: none; - min-width: 140px; + min-width: 220px; position: absolute; top: $unit * 5; // This shouldn't be hardcoded. How to calculate it? z-index: 1; @@ -10,21 +10,21 @@ .MenuItem { color: $grey-10; - font-weight: $medium; - padding: 10px; + font-weight: $normal; + padding: 12px; &:hover { - background: $grey-90; + background: $grey-100; color: $grey-00; cursor: pointer; + + a { + color: $grey-00; + } } a { color: $grey-10; - - &:hover { - color: $grey-00; - } } } diff --git a/components/HeaderMenu/index.tsx b/components/HeaderMenu/index.tsx index 60db0daa..28c84dd8 100644 --- a/components/HeaderMenu/index.tsx +++ b/components/HeaderMenu/index.tsx @@ -30,7 +30,19 @@ const HeaderMenu = (props: Props) => { @@ -59,8 +66,16 @@ const HeaderMenu = (props: Props) => { {aboutOpen ? ( ) : null} - {/*
  • props.navigate('guides') }>Guides
  • */} +
    +
  • + Teams +
  • + +
  • + Guides +
  • +
  • Log in
  • {loginOpen ? ( diff --git a/styles/variables.scss b/styles/variables.scss index 46e46b5d..975e57fa 100644 --- a/styles/variables.scss +++ b/styles/variables.scss @@ -14,6 +14,7 @@ $grey-50: #888; $grey-70: #C6C6C6; $grey-80: #E9E9E9; $grey-90: #F5F5F5; +$grey-100:#FAFAFA; $background-color: $grey-90; $blue: #61B3FF;