Skip to content

Commit

Permalink
Improve tabs background coloring (zadam#2395)
Browse files Browse the repository at this point in the history
* improved tabs background coloring

* improvements

* reverted changes

* color improvements

* added light theme
  • Loading branch information
Myzel394 authored Dec 5, 2021
1 parent 64f1671 commit 2f5f116
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/public/app/widgets/tab_row.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ const TAB_ROW_TPL = `
cursor: pointer;
}
.tab-row-widget .note-tab:hover .note-tab-wrapper {
background-color: var(--inactive-tab-hover-background-color);
}
.tab-row-widget .note-tab[active]:hover .note-tab-wrapper {
background-color: var(--active-tab-hover-background-color);
}
.tab-row-widget .note-tab .note-tab-close:hover {
background-color: var(--hover-item-background-color);
color: var(--hover-item-text-color);
Expand Down
2 changes: 2 additions & 0 deletions src/public/stylesheets/theme-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@
--launcher-pane-text-color: #AAAAAA;

--active-tab-background-color: #666;
--active-tab-hover-background-color: #737373;
--active-tab-text-color: #ccc;

--inactive-tab-background-color: #444;
--inactive-tab-hover-background-color: #525252;
--inactive-tab-text-color: #bbb;

--scrollbar-border-color: #888;
Expand Down
2 changes: 2 additions & 0 deletions src/public/stylesheets/theme-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ html {
--launcher-pane-text-color: #333;

--active-tab-background-color: #ddd;
--active-tab-hover-background-color: #d1d1d1;
--active-tab-text-color: black;

--inactive-tab-background-color: #f0f0f0;
--inactive-tab-hover-background-color: #e3e3e3;
--inactive-tab-text-color: #666;

--scrollbar-border-color: #ddd;
Expand Down

0 comments on commit 2f5f116

Please sign in to comment.