Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Feature/ Make tab bar border-bottom theme-able #2585

Merged
merged 2 commits into from
Oct 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions browser/src/Services/Themes/ThemeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface IThemeColors {

"tabs.background": string
"tabs.foreground": string
"tabs.borderBottom": string
"tabs.active.foreground": string
"tabs.active.background": string

Expand Down Expand Up @@ -288,6 +289,7 @@ export const DefaultThemeColors: IThemeColors = {

"tabs.background": ColorBlack,
"tabs.foreground": ColorWhite,
"tabs.borderBottom": null,
"tabs.active.background": null,
"tabs.active.foreground": null,

Expand Down
2 changes: 1 addition & 1 deletion browser/src/UI/components/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const TabsWrapper = styled<ITabsWrapperProps, "div">("div")`
align-items: flex-end;
width: 100%;
overflow-x: hidden;
border-bottom: 4px solid ${themeGet("tabs.background")};
border-bottom: 4px solid ${themeGet("tabs.borderBottom", "tabs.background")};
font-family: ${props => props.fontFamily};
font-size: ${props => props.fontSize};
transform: translateY(-3px);
Expand Down