diff --git a/app/components/Sidebar/components/SidebarLink.js b/app/components/Sidebar/components/SidebarLink.js index 259e209fc..49be59f9d 100644 --- a/app/components/Sidebar/components/SidebarLink.js +++ b/app/components/Sidebar/components/SidebarLink.js @@ -1,4 +1,5 @@ // @flow +import { transparentize } from "polished"; import * as React from "react"; import { withRouter, type RouterHistory, type Match } from "react-router-dom"; import styled, { withTheme } from "styled-components"; @@ -145,7 +146,8 @@ const Link = styled(NavLink)` &:focus { color: ${(props) => props.theme.text}; - background: ${(props) => props.theme.black05}; + background: ${(props) => + transparentize("0.25", props.theme.sidebarItemBackground)}; } ${breakpoint("tablet")` diff --git a/shared/styles/theme.js b/shared/styles/theme.js index f6c820fa5..9b64c4f9e 100644 --- a/shared/styles/theme.js +++ b/shared/styles/theme.js @@ -137,7 +137,7 @@ export const light = { placeholder: "#a2b2c3", sidebarBackground: colors.warmGrey, - sidebarItemBackground: colors.black10, + sidebarItemBackground: "#d7e0ea", sidebarText: "rgb(78, 92, 110)", backdrop: "rgba(0, 0, 0, 0.2)", shadow: "rgba(0, 0, 0, 0.2)",