From de2aed21e7f38467dce52bc2adf6f071cfcb3c5e Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Fri, 10 May 2019 15:42:10 +0300 Subject: [PATCH] fix: right panel code samples bg color --- src/common-elements/tabs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common-elements/tabs.ts b/src/common-elements/tabs.ts index b71a66a5b0..ace8d7eb4d 100644 --- a/src/common-elements/tabs.ts +++ b/src/common-elements/tabs.ts @@ -16,14 +16,14 @@ export const Tabs = styled(ReactTabs)` padding: 5px 10px; display: inline-block; - background-color: ${({ theme }) => darken(0.05, theme.rightPanel.backgroundColor)}; + background-color: ${({ theme }) => theme.codeSample.backgroundColor}; border-bottom: 1px solid rgba(0, 0, 0, 0.5); cursor: pointer; text-align: center; outline: none; color: ${({ theme }) => darken(theme.colors.tonalOffset, theme.rightPanel.textColor)}; margin: 5px; - border: 1px solid ${({ theme }) => darken(0.1, theme.rightPanel.backgroundColor)}; + border: 1px solid ${({ theme }) => darken(0.05, theme.codeSample.backgroundColor)}; border-radius: 5px; min-width: 60px; font-size: 0.9em;