Skip to content

Commit

Permalink
Bug 1459455 - Allow changing the tab separator color. r=jaws
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: 6DNHHTTw7ff
  • Loading branch information
nt1m committed May 30, 2018
1 parent 86aeb73 commit 85489fb
Show file tree
Hide file tree
Showing 7 changed files with 231 additions and 188 deletions.
3 changes: 3 additions & 0 deletions browser/modules/ThemeVariableMap.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const ThemeVariableMap = [
lwtProperty: "tab_line",
optionalElementID: "tabbrowser-tabs"
}],
["--lwt-background-tab-separator-color", {
lwtProperty: "tab_background_separator",
}],
["--toolbar-bgcolor", {
lwtProperty: "toolbarColor"
}],
Expand Down
4 changes: 2 additions & 2 deletions browser/themes/shared/tabs.inc.css
Original file line number Diff line number Diff line change
Expand Up @@ -636,13 +636,13 @@
/* Tab separators */

.titlebar-placeholder[type="pre-tabs"] {
border-inline-end: 1px solid;
border-inline-end: 1px solid var(--lwt-background-tab-separator-color, currentColor);
opacity: 0.2;
}

.tabbrowser-tab::after,
.tabbrowser-tab::before {
border-left: 1px solid;
border-left: 1px solid var(--lwt-background-tab-separator-color, currentColor);
margin-top: 5px;
margin-bottom: 4px;
opacity: 0.3;
Expand Down
Loading

0 comments on commit 85489fb

Please sign in to comment.