Skip to content

Commit

Permalink
feat: Add title bar theme
Browse files Browse the repository at this point in the history
Close #1119
  • Loading branch information
equinusocio committed Apr 12, 2017
1 parent d3c9c9e commit 431b28c
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 3 deletions.
11 changes: 11 additions & 0 deletions Material-Theme-Darker.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@
"border_color": [27, 27, 27]
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [97, 97, 97],
"bg": [33, 33, 33]
},


/* @DIALOG POPUP
* Dialog popup style and progressbar
========================================================================= */
Expand Down
11 changes: 11 additions & 0 deletions Material-Theme-Lighter.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@
"border_color": [230, 230, 230]
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [167, 173, 176],
"bg": [250, 250, 250]
},


/* @ DIALOG POPUP
* Dialog popup style and progressbar
========================================================================= */
Expand Down
10 changes: 10 additions & 0 deletions Material-Theme-Palenight.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
"border_color": [32, 34, 48]
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [103, 110, 149],
"bg": [41, 45, 62]
},


// @ DIALOG POPUP
// Dialog popup style and progressbar
Expand Down
11 changes: 11 additions & 0 deletions Material-Theme.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@
"border_color": [34, 45, 51]
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [96, 125, 139],
"bg": [38, 50, 56]
},


// @ DIALOG POPUP
// Dialog popup style and progressbar
// =========================================================================
Expand Down
12 changes: 11 additions & 1 deletion sources/themes/darker/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@
"class": "grid_layout_control",
"border_size": 1,
"border_color": [27, 27, 27]
},
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [<%= ui.foreground.primary.rgb %>],
"bg": [<%= ui.background.primary.rgb %>]
},
12 changes: 11 additions & 1 deletion sources/themes/default/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@
"class": "grid_layout_control",
"border_size": 1,
"border_color": [34, 45, 51]
},
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [<%= ui.foreground.primary.rgb %>],
"bg": [<%= ui.background.primary.rgb %>]
},
12 changes: 11 additions & 1 deletion sources/themes/lighter/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@
"class": "grid_layout_control",
"border_size": 1,
"border_color": [230, 230, 230]
},
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [<%= ui.foreground.primary.rgb %>],
"bg": [<%= ui.background.primary.rgb %>]
},
10 changes: 10 additions & 0 deletions sources/themes/palenight/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@
"border_size": 1,
"border_color": [32, 34, 48]
},

// @TITLE BAR
// App title bar
// =========================================================================

{
"class": "title_bar",
"fg": [<%= ui.foreground.primary.rgb %>],
"bg": [<%= ui.background.primary.rgb %>]
},

7 comments on commit 431b28c

@vioulo
Copy link

@vioulo vioulo commented on 431b28c Apr 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

额,打开 sublime 3 突然换成了默认的背景,被吓到了。又突然发现这个主题不见了,所以我去重新安装。之后出现了一个蓝绿色的标题,和之前不一样了。手足无措啊,真的不是很习惯,而且感觉太高了,也很突兀。因为我是新手,所以我不知道怎么去更改。想在这里告诉你一声,这个新的更改感觉不太那么的漂亮,反而很生硬,希望能回到之前的。谢谢

@equinusocio
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wtf.

@LucaColonnello
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vioulo Sorry man, do you mind writing in English please? I know it could be hard, but it's hard for any maintainer to understand any of that!

@bbashy
Copy link

@bbashy bbashy commented on 431b28c Apr 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google Translated;

The amount of open sublime 3 suddenly replaced by the default background, was scared. And suddenly found the theme gone, so I went to re-install. After the emergence of a blue and green title, and not the same before. Helpless ah, really is not very used to, and feel too high, and very unexpected. Because I am a novice, so I do not know how to change. Want to tell you here, this new change feeling is not so beautiful, but very stiff, hoping to return to the previous. Thank you

@frankzheng43
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translation by me: Oops. When I opened Sublime 3 its background was set to default so I was quite surprised. And then i found this theme was gone and I had to re install it. I saw a blue-green title which was quite different and felt confused. Not quite in favor of this new theme, too high(?) and a little mismatched. I am a newbie and I don't know how to config. I'd like to say that this new change is not that pretty and I hope it can change back to previous. Many thanks!

@vioulo
Copy link

@vioulo vioulo commented on 431b28c Apr 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, guys!
My English isn't very good!! hah..
I mean the new title bar too high!
Also, I don't know how to modify it!

@vioulo
Copy link

@vioulo vioulo commented on 431b28c Apr 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OH,,
The title bar seems to be changed back!What a great!
title

Please sign in to comment.