From 02486022b48d6b35feb1eaefe4c7bf930241afcf Mon Sep 17 00:00:00 2001 From: Mauro Reis Vieira Date: Wed, 12 Jan 2022 15:06:00 +0000 Subject: [PATCH] fix: `highlight` border color transparency closes #16 --- schemes/GitHub Dark.sublime-color-scheme | 2 +- schemes/GitHub Dimmed.sublime-color-scheme | 2 +- schemes/GitHub Light.sublime-color-scheme | 2 +- src/scheme.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schemes/GitHub Dark.sublime-color-scheme b/schemes/GitHub Dark.sublime-color-scheme index 865fa8c..b7db4dd 100644 --- a/schemes/GitHub Dark.sublime-color-scheme +++ b/schemes/GitHub Dark.sublime-color-scheme @@ -54,7 +54,7 @@ "gutter_foreground_highlight": "#c9d1d9", "find_highlight": "#ffd33d22", "find_highlight_foreground": "#c9d1d9", - "highlight": "#17E5E600", + "highlight": "#17E5E680", "guide": "#21262d", "stack_guide": "#161b22", "active_guide": "#21262d", diff --git a/schemes/GitHub Dimmed.sublime-color-scheme b/schemes/GitHub Dimmed.sublime-color-scheme index 6e22fd0..d3f1a39 100644 --- a/schemes/GitHub Dimmed.sublime-color-scheme +++ b/schemes/GitHub Dimmed.sublime-color-scheme @@ -54,7 +54,7 @@ "gutter_foreground_highlight": "#adbac7", "find_highlight": "#ffd33d22", "find_highlight_foreground": "#adbac7", - "highlight": "#17E5E600", + "highlight": "#17E5E680", "guide": "#373e47", "stack_guide": "#2d333b", "active_guide": "#373e47", diff --git a/schemes/GitHub Light.sublime-color-scheme b/schemes/GitHub Light.sublime-color-scheme index 784bf48..80a7b33 100644 --- a/schemes/GitHub Light.sublime-color-scheme +++ b/schemes/GitHub Light.sublime-color-scheme @@ -54,7 +54,7 @@ "gutter_foreground_highlight": "#24292f", "find_highlight": "#ffdf5d66", "find_highlight_foreground": "#24292f", - "highlight": "#34d05800", + "highlight": "#34d05890", "guide": "hsla(210,18%,87%,1)", "stack_guide": "#32383f", "active_guide": "#424a53", diff --git a/src/scheme.ts b/src/scheme.ts index e760e95..12108d5 100644 --- a/src/scheme.ts +++ b/src/scheme.ts @@ -95,9 +95,9 @@ export function ui(theme: Primer): UI { }), find_highlight_foreground: color.fg.default, highlight: themes({ - light: '#34d05800', - dark: '#17E5E600', - dimmed: '#17E5E600', + light: '#34d05890', // original: #34d05840 + dark: '#17E5E680', // original: #17E5E650 + dimmed: '#17E5E680', // original: #17E5E650 }), guide: color.border.muted, stack_guide: color.scale.gray[8],