From 739d07c4667a743cc5386766b20de37b1763616c Mon Sep 17 00:00:00 2001 From: tfuxu <73042332+tfuxu@users.noreply.github.com> Date: Mon, 28 Nov 2022 16:57:22 +0100 Subject: [PATCH 1/5] feat: add High Contrast and High Contrast Dark themes --- curated.json | 2 + curated/high-contrast-dark.json | 108 ++++++++++++++++++++++++++++++++ curated/high-contrast.json | 108 ++++++++++++++++++++++++++++++++ 3 files changed, 218 insertions(+) create mode 100644 curated/high-contrast-dark.json create mode 100644 curated/high-contrast.json diff --git a/curated.json b/curated.json index 5672e6d..8032bc6 100644 --- a/curated.json +++ b/curated.json @@ -8,6 +8,8 @@ "Cyberhack": "https://github.com/GradienceTeam/Community/raw/next/curated/cyberhack.json", "Dracula": "https://github.com/GradienceTeam/Community/raw/next/curated/dracula.json", "Gruvbox": "https://github.com/GradienceTeam/Community/raw/next/curated/gruvbox.json", + "High Contrast: "https://github.com/GradienceTeam/Community/raw/next/curated/high-contrast.json", + "High Contrast Dark: "https://github.com/GradienceTeam/Community/raw/next/curated/high-contrast-dark.json", "Jungle Jaunt": "https://github.com/GradienceTeam/Community/raw/next/curated/jungle-jaunt.json", "Kanagawa": "https://github.com/GradienceTeam/Community/raw/next/curated/kanagawa.json", "Layan Dark": "https://github.com/GradienceTeam/Community/raw/next/curated/layan-dark.json", diff --git a/curated/high-contrast-dark.json b/curated/high-contrast-dark.json new file mode 100644 index 0000000..9a5112f --- /dev/null +++ b/curated/high-contrast-dark.json @@ -0,0 +1,108 @@ +{ + "name": "High Contrast Dark", + "variables": { + "accent_color": "rgb(120,174,237)", + "accent_bg_color": "rgb(53,132,228)", + "accent_fg_color": "#ffffff", + "destructive_color": "#ff7b63", + "destructive_bg_color": "#c01c28", + "destructive_fg_color": "#ffffff", + "success_color": "#8ff0a4", + "success_bg_color": "#26a269", + "success_fg_color": "#ffffff", + "warning_color": "#f8e45c", + "warning_bg_color": "#cd9309", + "warning_fg_color": "rgba(0, 0, 0, 0.8)", + "error_color": "#ff7b63", + "error_bg_color": "#c01c28", + "error_fg_color": "#ffffff", + "window_bg_color": "rgb(0,0,0)", + "window_fg_color": "rgb(255,255,255)", + "view_bg_color": "rgb(0,0,0)", + "view_fg_color": "rgb(255,255,255)", + "headerbar_bg_color": "rgb(0,0,0)", + "headerbar_fg_color": "#ffffff", + "headerbar_border_color": "#ffffff", + "headerbar_backdrop_color": "@window_bg_color", + "headerbar_shade_color": "rgb(255,255,255)", + "card_bg_color": "rgba(255,255,255,0.08)", + "card_fg_color": "rgb(255,255,255)", + "card_shade_color": "rgb(255,255,255)", + "dialog_bg_color": "rgb(30,30,30)", + "dialog_fg_color": "rgb(255,255,255)", + "popover_bg_color": "rgb(30,30,30)", + "popover_fg_color": "rgb(255,255,255)", + "shade_color": "rgba(0,0,0,0.36)", + "scrollbar_outline_color": "rgb(255,255,255)" + }, + "palette": { + "blue_": { + "1": "#99c1f1", + "2": "#62a0ea", + "3": "#3584e4", + "4": "#1c71d8", + "5": "#1a5fb4" + }, + "green_": { + "1": "#8ff0a4", + "2": "#57e389", + "3": "#33d17a", + "4": "#2ec27e", + "5": "#26a269" + }, + "yellow_": { + "1": "#f9f06b", + "2": "#f8e45c", + "3": "#f6d32d", + "4": "#f5c211", + "5": "#e5a50a" + }, + "orange_": { + "1": "#ffbe6f", + "2": "#ffa348", + "3": "#ff7800", + "4": "#e66100", + "5": "#c64600" + }, + "red_": { + "1": "#f66151", + "2": "#ed333b", + "3": "#e01b24", + "4": "#c01c28", + "5": "#a51d2d" + }, + "purple_": { + "1": "#dc8add", + "2": "#c061cb", + "3": "#9141ac", + "4": "#813d9c", + "5": "#613583" + }, + "brown_": { + "1": "#cdab8f", + "2": "#b5835a", + "3": "#986a44", + "4": "#865e3c", + "5": "#63452c" + }, + "light_": { + "1": "#ffffff", + "2": "#f6f5f4", + "3": "#deddda", + "4": "#c0bfbc", + "5": "#9a9996" + }, + "dark_": { + "1": "#77767b", + "2": "#5e5c64", + "3": "#3d3846", + "4": "#241f31", + "5": "#000000" + } + }, + "custom_css": { + "gtk4": "", + "gtk3": "" + }, + "plugins": {} +} \ No newline at end of file diff --git a/curated/high-contrast.json b/curated/high-contrast.json new file mode 100644 index 0000000..11663dd --- /dev/null +++ b/curated/high-contrast.json @@ -0,0 +1,108 @@ +{ + "name": "High Contrast", + "variables": { + "accent_color": "#1c71d8", + "accent_bg_color": "#3584e4", + "accent_fg_color": "#ffffff", + "destructive_color": "#c01c28", + "destructive_bg_color": "#e01b24", + "destructive_fg_color": "#ffffff", + "success_color": "#26a269", + "success_bg_color": "#2ec27e", + "success_fg_color": "#ffffff", + "warning_color": "#ae7b03", + "warning_bg_color": "#e5a50a", + "warning_fg_color": "rgba(0, 0, 0, 0.8)", + "error_color": "#c01c28", + "error_bg_color": "#e01b24", + "error_fg_color": "#ffffff", + "window_bg_color": "rgb(255,255,255)", + "window_fg_color": "rgb(0,0,0)", + "view_bg_color": "rgb(255,255,255)", + "view_fg_color": "rgb(0,0,0)", + "headerbar_bg_color": "rgb(255,255,255)", + "headerbar_fg_color": "rgb(0,0,0)", + "headerbar_border_color": "rgb(0,0,0)", + "headerbar_backdrop_color": "@window_bg_color", + "headerbar_shade_color": "rgb(0,0,0)", + "card_bg_color": "#ffffff", + "card_fg_color": "rgb(0,0,0)", + "card_shade_color": "rgb(0,0,0)", + "dialog_bg_color": "#fafafa", + "dialog_fg_color": "rgb(0,0,0)", + "popover_bg_color": "#ffffff", + "popover_fg_color": "rgb(0,0,0)", + "shade_color": "rgba(0,0,0,0.07)", + "scrollbar_outline_color": "rgb(0,0,0)" + }, + "palette": { + "blue_": { + "1": "#99c1f1", + "2": "#62a0ea", + "3": "#3584e4", + "4": "#1c71d8", + "5": "#1a5fb4" + }, + "green_": { + "1": "#8ff0a4", + "2": "#57e389", + "3": "#33d17a", + "4": "#2ec27e", + "5": "#26a269" + }, + "yellow_": { + "1": "#f9f06b", + "2": "#f8e45c", + "3": "#f6d32d", + "4": "#f5c211", + "5": "#e5a50a" + }, + "orange_": { + "1": "#ffbe6f", + "2": "#ffa348", + "3": "#ff7800", + "4": "#e66100", + "5": "#c64600" + }, + "red_": { + "1": "#f66151", + "2": "#ed333b", + "3": "#e01b24", + "4": "#c01c28", + "5": "#a51d2d" + }, + "purple_": { + "1": "#dc8add", + "2": "#c061cb", + "3": "#9141ac", + "4": "#813d9c", + "5": "#613583" + }, + "brown_": { + "1": "#cdab8f", + "2": "#b5835a", + "3": "#986a44", + "4": "#865e3c", + "5": "#63452c" + }, + "light_": { + "1": "#ffffff", + "2": "#f6f5f4", + "3": "#deddda", + "4": "#c0bfbc", + "5": "#9a9996" + }, + "dark_": { + "1": "#77767b", + "2": "#5e5c64", + "3": "#3d3846", + "4": "#241f31", + "5": "#000000" + } + }, + "custom_css": { + "gtk4": "", + "gtk3": "" + }, + "plugins": {} +} \ No newline at end of file From dfdf8fd8987b60f24f15a0af1b05fd6023118c32 Mon Sep 17 00:00:00 2001 From: tfuxu <73042332+tfuxu@users.noreply.github.com> Date: Mon, 28 Nov 2022 17:49:11 +0100 Subject: [PATCH 2/5] sorry, nano's fault --- curated.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curated.json b/curated.json index 8032bc6..b4bfd72 100644 --- a/curated.json +++ b/curated.json @@ -8,8 +8,8 @@ "Cyberhack": "https://github.com/GradienceTeam/Community/raw/next/curated/cyberhack.json", "Dracula": "https://github.com/GradienceTeam/Community/raw/next/curated/dracula.json", "Gruvbox": "https://github.com/GradienceTeam/Community/raw/next/curated/gruvbox.json", - "High Contrast: "https://github.com/GradienceTeam/Community/raw/next/curated/high-contrast.json", - "High Contrast Dark: "https://github.com/GradienceTeam/Community/raw/next/curated/high-contrast-dark.json", + "High Contrast": "https://github.com/GradienceTeam/Community/raw/next/curated/high-contrast.json", + "High Contrast Dark": "https://github.com/GradienceTeam/Community/raw/next/curated/high-contrast-dark.json", "Jungle Jaunt": "https://github.com/GradienceTeam/Community/raw/next/curated/jungle-jaunt.json", "Kanagawa": "https://github.com/GradienceTeam/Community/raw/next/curated/kanagawa.json", "Layan Dark": "https://github.com/GradienceTeam/Community/raw/next/curated/layan-dark.json", From 1d8e8f3cd8f501ba0878820273728b1b3077459a Mon Sep 17 00:00:00 2001 From: David Lapshin Date: Wed, 30 Nov 2022 22:27:11 +0300 Subject: [PATCH 3/5] feat: add border --- curated/high-contrast-dark.json | 2 +- curated/high-contrast.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curated/high-contrast-dark.json b/curated/high-contrast-dark.json index 9a5112f..183dc2c 100644 --- a/curated/high-contrast-dark.json +++ b/curated/high-contrast-dark.json @@ -101,7 +101,7 @@ } }, "custom_css": { - "gtk4": "", + "gtk4": "window {\n outline-color: #FFFFFF;\n outline-width: 2px;\n}", "gtk3": "" }, "plugins": {} diff --git a/curated/high-contrast.json b/curated/high-contrast.json index 11663dd..450361c 100644 --- a/curated/high-contrast.json +++ b/curated/high-contrast.json @@ -101,7 +101,7 @@ } }, "custom_css": { - "gtk4": "", + "gtk4": "window {\n outline-color: #000000;\n outline-width: 2px;\n}", "gtk3": "" }, "plugins": {} From 6abc43469bfde1181047588983db2b87ad60969e Mon Sep 17 00:00:00 2001 From: David Lapshin Date: Wed, 30 Nov 2022 22:28:35 +0300 Subject: [PATCH 4/5] feat: change to lowercase --- curated/high-contrast-dark.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curated/high-contrast-dark.json b/curated/high-contrast-dark.json index 183dc2c..0c28696 100644 --- a/curated/high-contrast-dark.json +++ b/curated/high-contrast-dark.json @@ -101,8 +101,8 @@ } }, "custom_css": { - "gtk4": "window {\n outline-color: #FFFFFF;\n outline-width: 2px;\n}", + "gtk4": "window {\n outline-color: #ffffff;\n outline-width: 2px;\n}", "gtk3": "" }, "plugins": {} -} \ No newline at end of file +} From c7c4cb950d690e98a714bd22abe26535689e1b8a Mon Sep 17 00:00:00 2001 From: David Lapshin Date: Tue, 10 Jan 2023 21:49:11 +0300 Subject: [PATCH 5/5] feat: Update high-contrast presets --- curated/high-contrast-dark.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curated/high-contrast-dark.json b/curated/high-contrast-dark.json index 0c28696..0ebda70 100644 --- a/curated/high-contrast-dark.json +++ b/curated/high-contrast-dark.json @@ -105,4 +105,4 @@ "gtk3": "" }, "plugins": {} -} +} \ No newline at end of file