mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
use @base-background-color as a basis for the title-bar gradient to better accommodate themes that do not provide their own style for a title-bar
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
box-shadow: 0 1px 0 @title-bar-highlight inset;
|
||||
background-image: linear-gradient(@title-bar-gradient-focused);
|
||||
border-bottom: 1px solid @title-bar-border-color-focused;
|
||||
|
||||
|
||||
@@ -82,14 +82,15 @@
|
||||
// TitleBar
|
||||
|
||||
@title-bar-text-size: 13px;
|
||||
@title-bar-highlight: lighten(@base-background-color, 10%);
|
||||
|
||||
@title-bar-gradient-focused: #ededed 0, #ededed 1px, #e7e7e7 2px, #d1d1d1 100%;
|
||||
@title-bar-text-focused: #4d4d4d;
|
||||
@title-bar-border-color-focused: #afafaf;
|
||||
@title-bar-gradient-focused: lighten(@base-background-color, 5%), @base-background-color;
|
||||
@title-bar-text-focused: @text-color;
|
||||
@title-bar-border-color-focused: @base-border-color;
|
||||
|
||||
@title-bar-gradient-blurred: #fafafa 0px, #f6f6f6 2px, #f6f6f6 100%;
|
||||
@title-bar-text-blurred: #d3d3d3;
|
||||
@title-bar-border-color-blurred: #d1d1d1;
|
||||
@title-bar-gradient-blurred: @title-bar-gradient-focused;
|
||||
@title-bar-text-blurred: @title-bar-text-focused;
|
||||
@title-bar-border-color-blurred: @base-border-color;
|
||||
|
||||
|
||||
// Other
|
||||
|
||||
Reference in New Issue
Block a user