From 5bd329021f7c6782ad5fbc912f923debfc6da5bd Mon Sep 17 00:00:00 2001 From: equinusocio Date: Wed, 1 Nov 2017 20:55:25 +0100 Subject: [PATCH] fix: Add title bar theme as a custom setting material_theme_titlebar --- Material-Theme-Darker.sublime-theme | 31 +- Material-Theme-Lighter.sublime-theme | 31 +- Material-Theme-Palenight.sublime-theme | 30 +- Material-Theme.sublime-theme | 31 +- .../Material-Theme-Darker.hidden-tmTheme | 408 ++++++++++++++++++ 5 files changed, 492 insertions(+), 39 deletions(-) create mode 100644 extras/PlainTasks/Material-Theme-Darker.hidden-tmTheme diff --git a/Material-Theme-Darker.sublime-theme b/Material-Theme-Darker.sublime-theme index 2476e0690..880fe65b0 100755 --- a/Material-Theme-Darker.sublime-theme +++ b/Material-Theme-Darker.sublime-theme @@ -26,16 +26,6 @@ "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 @@ -8377,5 +8367,26 @@ "layer1.opacity": 0.2 }, + // Title bar (OS X 10.10+) + + { + "class": "title_bar", + "settings": ["material_theme_titlebar"], + "platforms": ["osx"], + "fg": [97, 97, 97], + "bg": [33, 33, 33] + }, + + { + "class": "title_bar", + "settings": ["material_theme_titlebar", "material_theme_contrast_mode"], + "platforms": ["osx"], + "fg": [97, 97, 97], + "bg": + + [26, 26, 26] + + }, + // ] diff --git a/Material-Theme-Lighter.sublime-theme b/Material-Theme-Lighter.sublime-theme index b172d8b74..a426f3db8 100755 --- a/Material-Theme-Lighter.sublime-theme +++ b/Material-Theme-Lighter.sublime-theme @@ -26,16 +26,6 @@ "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 @@ -8377,5 +8367,26 @@ "layer1.opacity": 0.2 }, + // Title bar (OS X 10.10+) + + { + "class": "title_bar", + "settings": ["material_theme_titlebar"], + "platforms": ["osx"], + "fg": [167, 173, 176], + "bg": [250, 250, 250] + }, + + { + "class": "title_bar", + "settings": ["material_theme_titlebar", "material_theme_contrast_mode"], + "platforms": ["osx"], + "fg": [167, 173, 176], + "bg": + + [245, 245, 245] + + }, + // ] diff --git a/Material-Theme-Palenight.sublime-theme b/Material-Theme-Palenight.sublime-theme index e75117d8e..f7dcace3f 100755 --- a/Material-Theme-Palenight.sublime-theme +++ b/Material-Theme-Palenight.sublime-theme @@ -26,15 +26,6 @@ "border_color": [32, 34, 48] }, - // @TITLE BAR - // App title bar - // ========================================================================= - - // { - // "class": "title_bar", - // "fg": [103, 110, 149], - // "bg": [41, 45, 62] - // }, // @ DIALOG POPUP @@ -8394,5 +8385,26 @@ "layer1.opacity": 0.2 }, + // Title bar (OS X 10.10+) + + { + "class": "title_bar", + "settings": ["material_theme_titlebar"], + "platforms": ["osx"], + "fg": [103, 110, 149], + "bg": [41, 45, 62] + }, + + { + "class": "title_bar", + "settings": ["material_theme_titlebar", "material_theme_contrast_mode"], + "platforms": ["osx"], + "fg": [103, 110, 149], + "bg": + + [33, 36, 50] + + }, + // ] diff --git a/Material-Theme.sublime-theme b/Material-Theme.sublime-theme index 2b49fcba1..a41b53445 100755 --- a/Material-Theme.sublime-theme +++ b/Material-Theme.sublime-theme @@ -26,16 +26,6 @@ "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 @@ -8392,5 +8382,26 @@ "layer1.opacity": 0.2 }, + // Title bar (OS X 10.10+) + + { + "class": "title_bar", + "settings": ["material_theme_titlebar"], + "platforms": ["osx"], + "fg": [96, 125, 139], + "bg": [38, 50, 56] + }, + + { + "class": "title_bar", + "settings": ["material_theme_titlebar", "material_theme_contrast_mode"], + "platforms": ["osx"], + "fg": [96, 125, 139], + "bg": + + [30, 40, 45] + + }, + // ] diff --git a/extras/PlainTasks/Material-Theme-Darker.hidden-tmTheme b/extras/PlainTasks/Material-Theme-Darker.hidden-tmTheme new file mode 100644 index 000000000..dbe4d6337 --- /dev/null +++ b/extras/PlainTasks/Material-Theme-Darker.hidden-tmTheme @@ -0,0 +1,408 @@ + + + + + author + Mattia Astorino + colorSpaceName + sRGB + name + Material-Theme-Darker Plain Tasks + semanticClass + material.theme.darker.plain.tasks + settings + + + settings + + activeGuide + #00000050 + background + #212121 + caret + #FFCC00 + foreground + #eeffffff + guide + #00000050 + gutter + #212121 + invisibles + + lineHighlight + #00000050 + selection + #00000050 + selectionBorder + #00000050 + stackGuide + #00000050 + + + + name + Comments + scope + comment + settings + + fontStyle + italic + foreground + + + + + name + Tags + scope + meta.tag.todo + settings + + fontStyle + bold + foreground + #bb80b3 + + + + name + Notes + scope + notes.todo + settings + + foreground + + + + + name + Meta + scope + meta + settings + + fontStyle + italic + + + + name + Done Bullet + scope + punctuation.definition.bullet.completed + settings + + fontStyle + bold + foreground + #C3E88D + + + + name + Pending Bullet + scope + punctuation.definition.bullet.pending + settings + + foreground + #eeffffffaa + + + + name + Cancelled Bullet + scope + punctuation.definition.bullet.cancelled + settings + + foreground + #FF5370 + + + + name + Cancelled Task + scope + meta.item.todo.cancelled + settings + + fontStyle + italic + foreground + + + + + name + Meta Info + scope + meta.tag.todo.completed, meta.tag.todo.cancelled + settings + + foreground + aa + + + + name + Keyword + scope + keyword + settings + + background + #00000050 + fontStyle + bold + foreground + #eeffffffdd + + + + name + Separator + scope + meta.punctuation.archive.todo, meta.punctuation.separator.todo + settings + + fontStyle + bold + foreground + + + + + name + Font Style Punctuation + scope + punctuation.definition.italic, punctuation.definition.bold + settings + + fontStyle + normal + foreground + aa + + + + name + Italic + scope + todo.italic + settings + + fontStyle + italic + + + + name + Bold + scope + todo.bold + settings + + fontStyle + bold + + + + name + URL + scope + todo.url + settings + + fontStyle + bold + foreground + #82AAFF + + + + name + String + scope + string + settings + + background + #FFCB6Bbf + foreground + #000000bf + + + + name + Number + scope + constant.numeric + settings + + background + #C3E88Dbf + foreground + #000000bf + + + + name + Constant + scope + constant.language, constant.character, constant.other + settings + + background + #82AAFFbf + foreground + #000000bf + + + + name + Variable + scope + variable.language, variable.other + settings + + background + #89DDFFbf + fontStyle + + foreground + #000000bf + + + + name + Entity + scope + constant.character.entity + settings + + background + #C3E88Dbf + foreground + #000000bf + + + + name + Storage + scope + storage + settings + + background + bf + foreground + #000000bf + + + + name + Class Name + scope + entity.name.type.class, support.class + settings + + fontStyle + + foreground + #82AAFFbf + + + + name + Tag Name + scope + entity.name.tag, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css + settings + + background + #f07178bf + foreground + #000000bf + + + + name + Invalid + scope + invalid + settings + + background + #FF5370 + foreground + #ffffff + + + + name + Today + scope + string.other.tag.todo.today + settings + + background + #82AAFF + fontStyle + bold + foreground + #ffffff + + + + name + Low + scope + string.other.tag.todo.low + settings + + background + #00000050 + fontStyle + bold + foreground + #eeffffffcc + + + + name + High + scope + string.other.tag.todo.high + settings + + background + #F78C6C + fontStyle + bold + foreground + #ffffff + + + + name + Critical + scope + string.other.tag.todo.critical + settings + + background + #FF5370 + fontStyle + bold + foreground + #ffffff + + + + uuid + 2c08ecfd-e69c-4cf3-8b6d-ec07a83c30ab + +