From e347dbb730f7f4c7a25ed557070ed90227fc92f9 Mon Sep 17 00:00:00 2001 From: Ike Kurghinyan Date: Wed, 29 Sep 2021 00:49:15 +0300 Subject: [PATCH] Sublime Text 2 interoperability --- ayu-dark.sublime-theme | 20 ++++++++++---------- ayu-light.sublime-theme | 20 ++++++++++---------- ayu-mirage.sublime-theme | 20 ++++++++++---------- messages.json | 3 ++- messages/6.1.2.md | 14 ++++++++++++++ src/templates/ui.ts | 12 ++++++------ 6 files changed, 52 insertions(+), 37 deletions(-) create mode 100644 messages/6.1.2.md diff --git a/ayu-dark.sublime-theme b/ayu-dark.sublime-theme index 4ebce97..df6c95e 100644 --- a/ayu-dark.sublime-theme +++ b/ayu-dark.sublime-theme @@ -588,30 +588,30 @@ "class": "tab_control", "attributes": [ "selected", - "highlighted" + "!highlighted" ], "settings": [ "ui_separator" ], - "layer1.opacity": { - "target": 1, - "speed": 1, - "interpolation": "smoothstep" - }, - "layer1.tint": "#10141c", + "layer1.opacity": 1, + "layer1.tint": "#0d1017", "layer2.opacity": 1 }, { "class": "tab_control", "attributes": [ "selected", - "!highlighted" + "highlighted" ], "settings": [ "ui_separator" ], - "layer1.opacity": 1, - "layer1.tint": "#0d1017", + "layer1.opacity": { + "target": 1, + "speed": 1, + "interpolation": "smoothstep" + }, + "layer1.tint": "#10141c", "layer2.opacity": 1 }, { diff --git a/ayu-light.sublime-theme b/ayu-light.sublime-theme index 8ea5e32..5f14ac5 100644 --- a/ayu-light.sublime-theme +++ b/ayu-light.sublime-theme @@ -588,30 +588,30 @@ "class": "tab_control", "attributes": [ "selected", - "highlighted" + "!highlighted" ], "settings": [ "ui_separator" ], - "layer1.opacity": { - "target": 1, - "speed": 1, - "interpolation": "smoothstep" - }, - "layer1.tint": "#fcfcfc", + "layer1.opacity": 1, + "layer1.tint": "#f8f9fa", "layer2.opacity": 1 }, { "class": "tab_control", "attributes": [ "selected", - "!highlighted" + "highlighted" ], "settings": [ "ui_separator" ], - "layer1.opacity": 1, - "layer1.tint": "#f8f9fa", + "layer1.opacity": { + "target": 1, + "speed": 1, + "interpolation": "smoothstep" + }, + "layer1.tint": "#fcfcfc", "layer2.opacity": 1 }, { diff --git a/ayu-mirage.sublime-theme b/ayu-mirage.sublime-theme index cc38872..160cb6a 100644 --- a/ayu-mirage.sublime-theme +++ b/ayu-mirage.sublime-theme @@ -588,30 +588,30 @@ "class": "tab_control", "attributes": [ "selected", - "highlighted" + "!highlighted" ], "settings": [ "ui_separator" ], - "layer1.opacity": { - "target": 1, - "speed": 1, - "interpolation": "smoothstep" - }, - "layer1.tint": "#242936", + "layer1.opacity": 1, + "layer1.tint": "#1f2430", "layer2.opacity": 1 }, { "class": "tab_control", "attributes": [ "selected", - "!highlighted" + "highlighted" ], "settings": [ "ui_separator" ], - "layer1.opacity": 1, - "layer1.tint": "#1f2430", + "layer1.opacity": { + "target": 1, + "speed": 1, + "interpolation": "smoothstep" + }, + "layer1.tint": "#242936", "layer2.opacity": 1 }, { diff --git a/messages.json b/messages.json index 780f494..0391794 100644 --- a/messages.json +++ b/messages.json @@ -36,5 +36,6 @@ "6.0.2": "messages/6.0.2.md", "6.0.3": "messages/6.0.3.md", "6.1.0": "messages/6.1.0.md", - "6.1.1": "messages/6.1.1.md" + "6.1.1": "messages/6.1.1.md", + "6.1.2": "messages/6.1.2.md" } diff --git a/messages/6.1.2.md b/messages/6.1.2.md new file mode 100644 index 0000000..db46cc1 --- /dev/null +++ b/messages/6.1.2.md @@ -0,0 +1,14 @@ +**ayu theme for Sublime Text 4** +https://github.com/dempfi/ayu/releases + +# Version 6.1.2 +- Add switch panel icon for Sublime Text 3 interoperability + +# Version 6.1.1 +- mdpopups have proper background matching ayu popups + +# Version 6.1.0 +- More prominent autocomplete selection and kind badges +- Add distinctive type icons to the command palette and go to windows +- Raise the contrast of the dark theme +- All editor popups match the overall theme aesthetic diff --git a/src/templates/ui.ts b/src/templates/ui.ts index 24225e3..91d9387 100644 --- a/src/templates/ui.ts +++ b/src/templates/ui.ts @@ -411,17 +411,17 @@ export default (scheme: Scheme, kind: string) => [ "layer0.opacity": 1.0 }, { - "class": "tab_control", "attributes": ["selected", "highlighted"], + "class": "tab_control", "attributes": ["selected", "!highlighted"], "settings": ["ui_separator"], - "layer1.opacity": { "target": 1, "speed": 1.0, "interpolation": "smoothstep" }, - "layer1.tint": scheme.editor.bg.hex(), + "layer1.opacity": 1, + "layer1.tint": scheme.ui.bg.hex(), "layer2.opacity": 1, }, { - "class": "tab_control", "attributes": ["selected", "!highlighted"], + "class": "tab_control", "attributes": ["selected", "highlighted"], "settings": ["ui_separator"], - "layer1.opacity": 1, - "layer1.tint": scheme.ui.bg.hex(), + "layer1.opacity": { "target": 1, "speed": 1.0, "interpolation": "smoothstep" }, + "layer1.tint": scheme.editor.bg.hex(), "layer2.opacity": 1, },