From 6f09c36af450e754c2e27c203e5e9280e3e99634 Mon Sep 17 00:00:00 2001 From: Tessa van der Heijden Date: Fri, 17 May 2024 17:31:52 +0200 Subject: [PATCH 1/2] feat(port): add zed feat(port): update readme --- README.md | 9 + packages/zed/README.md | 65 ++++ packages/zed/extension.toml | 7 + packages/zed/themes/aura-dark-soft-text.json | 356 ++++++++++++++++++ packages/zed/themes/aura-dark.json | 356 ++++++++++++++++++ .../zed/themes/aura-soft-dark-soft-text.json | 356 ++++++++++++++++++ packages/zed/themes/aura-soft-dark.json | 356 ++++++++++++++++++ src/ports/zed/index.ts | 110 ++++++ src/ports/zed/templates/README.md | 41 ++ src/ports/zed/templates/extension.toml | 7 + src/ports/zed/templates/theme.json | 356 ++++++++++++++++++ 11 files changed, 2019 insertions(+) create mode 100644 packages/zed/README.md create mode 100644 packages/zed/extension.toml create mode 100644 packages/zed/themes/aura-dark-soft-text.json create mode 100644 packages/zed/themes/aura-dark.json create mode 100644 packages/zed/themes/aura-soft-dark-soft-text.json create mode 100644 packages/zed/themes/aura-soft-dark.json create mode 100644 src/ports/zed/index.ts create mode 100644 src/ports/zed/templates/README.md create mode 100644 src/ports/zed/templates/extension.toml create mode 100644 src/ports/zed/templates/theme.json diff --git a/README.md b/README.md index d342763..c30b0b6 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,15 @@ Neovim

+ +

+ + + +

+ Zed +

+ diff --git a/packages/zed/README.md b/packages/zed/README.md new file mode 100644 index 0000000..889e0f4 --- /dev/null +++ b/packages/zed/README.md @@ -0,0 +1,65 @@ +

+ Aura Theme +

+ +

+✨ A beautiful dark theme for Zed and other apps +

+ + + + patreon url + + + + + version + +

+ + + +# Themes available + +- Aura Dark +- Aura Dark (Soft Text) +- Aura Soft Dark +- Aura Soft Dark (Soft Text) + +# Installation + +1. Open the **Command Palette** with Ctrl + Shift + P or + Shift + P +2. Open the **Extensions** view with the `zed: extensions` command +3. Search for `Aura theme` +4. Click on **Install**. +5. Open the **Command Palette** again +6. Open the **Theme selector** with the `theme selector: toggle` command +7. Search for `Aura` and choose an `Aura` variant. + +# Contributors + + + + + + + + + + + + + + +

+ + + +

+ + + +

Tessa van der HeijdenDalton Menezes
+ +# License +[MIT © Dalton Menezes](https://github.com/daltonmenezes/aura-theme/blob/main/LICENSE) diff --git a/packages/zed/extension.toml b/packages/zed/extension.toml new file mode 100644 index 0000000..103b06c --- /dev/null +++ b/packages/zed/extension.toml @@ -0,0 +1,7 @@ +id = "aura-theme" +name = "Aura Theme" +schema_version = 1 +version = "1.0.0" +authors = ["Dalton Menezes "] +description = "A beautiful dark theme for Zed" +repository = "https://github.com/daltonmenezes/aura-theme" diff --git a/packages/zed/themes/aura-dark-soft-text.json b/packages/zed/themes/aura-dark-soft-text.json new file mode 100644 index 0000000..0dea3e7 --- /dev/null +++ b/packages/zed/themes/aura-dark-soft-text.json @@ -0,0 +1,356 @@ +{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "Aura", + "author": "Dalton Menezes ", + "themes": [ + { + "appearance": "dark", + "name": "Aura Dark (Soft Text)", + "style": { + "background": "#15141b", + "drop_target.background": "#29263c", + "editor.active_line.background": "#a394f033", + "editor.active_line_number": "#bdbdbd", + "editor.active_wrap_guide": "#4d4d4d", + "editor.background": "#15141b", + "editor.document_highlight.read_background": "#3d375e7f", + "editor.document_highlight.write_background": "#3d375e7f", + "editor.foreground": "#bdbdbd", + "editor.gutter.background": "#15141b", + "editor.highlighted_line.background": "#a394f033", + "editor.invisible": "#4d466e", + "editor.line_number": "#a394f033", + "editor.subheader.background": "#110f18", + "editor.wrap_guide": "#4d4d4d", + "elevated_surface.background": "#110f18", + "pane.focused_border": "#bdbdbd", + "panel.background": "#110f18", + "panel.focused_border": "#bdbdbd", + "search.match_background": "#3d375e7f", + "status_bar.background": "#121016", + "surface.background": "#15141b", + "tab.active_background": "#15141b", + "tab.inactive_background": "#110f18", + "tab_bar.background": "#110f18", + "title_bar.background": "#110f18", + "toolbar.background": "#15141b", + "text": "#bdbdbd", + "text.accent": "#8464c6", + "text.disabled": "#4d466e", + "text.muted": "#6d6d6d", + "text.placeholder": "#af8aff7f", + "border": "#000000", + "border.variant": "#af8aff7f", + "border.focused": "#a394f033", + "border.selected": "#8464c6", + "border.disabled": "#4d466e", + "border.transparent": "#54c59f", + "element.active": "#3d375e7f", + "element.background": "#110f18", + "element.disabled": "#4d466e", + "element.hover": "#2e2b38", + "element.selected": "#3d375e7f", + "ghost_element.active": "#a394f033", + "ghost_element.background": "#00000000", + "ghost_element.disabled": "#4d466e", + "ghost_element.hover": "#3b334b", + "ghost_element.selected": "#2e2b38", + "icon": "#525156", + "icon.accent": "#54c59f", + "icon.disabled": "#4d466e", + "icon.muted": "#adacae", + "icon.placeholder": "#af8aff7f", + "scrollbar.thumb.border": "#a394f033", + "scrollbar.thumb.hover_background": "#a394f033", + "scrollbar_thumb.background": "#a394f033", + "scrollbar.track.border": "#15141b", + "scrollbar.track.background": "#15141b", + "terminal.ansi.black": "#15141b", + "terminal.ansi.blue": "#8464c6", + "terminal.ansi.bright_black": "#2d2d2d", + "terminal.ansi.bright_blue": "#8464c6", + "terminal.ansi.bright_cyan": "#54c59f", + "terminal.ansi.bright_green": "#8464c6", + "terminal.ansi.bright_magenta": "#54c59f", + "terminal.ansi.bright_red": "#c7a06f", + "terminal.ansi.bright_white": "#bdbdbd", + "terminal.ansi.bright_yellow": "#c7a06f", + "terminal.ansi.cyan": "#8464c6", + "terminal.ansi.green": "#54c59f", + "terminal.ansi.magenta": "#54c59f", + "terminal.ansi.red": "#c55858", + "terminal.ansi.white": "#b4b4b4", + "terminal.ansi.yellow": "#c7a06f", + "terminal.background": "#15141b", + "terminal.foreground": "#bdbdbd", + "error": "#c55858", + "error.background": "#110f18", + "error.border": "#c55858", + "hint": "#6d6d6d", + "hint.background": "#110f18", + "hint.border": "#6d6d6d", + "info": "#c7a06f", + "info.background": "#110f18", + "info.border": "#c7a06f", + "link_text.hover": "#49c29a", + "predictive": "#6d6d6d", + "predictive.background": "#110f18", + "predictive.border": "#2e2b38", + "renamed": "#6cb2c7", + "renamed.background": "#110f18", + "renamed.border": "#6cb2c7", + "success": "#54c59f", + "success.background": "#110f18", + "success.border": "#54c59f", + "unreachable": "#c55858", + "unreachable.background": "#110f18", + "unreachable.border": "#c55858", + "warning": "#c7a06f", + "warning.background": "#110f18", + "warning.border": "#c7a06f", + "conflict": "#8464c6", + "conflict.background": "#110f18", + "conflict.border": "#8464c6", + "created": "#54c59f", + "created.background": "#110f18", + "created.border": "#54c59f", + "deleted": "#c55858", + "deleted.background": "#110f18", + "deleted.border": "#c55858", + "hidden": "#6d6d6d", + "hidden.background": "#110f18", + "hidden.border": "#6d6d6d", + "ignored": "#4d466e", + "ignored.background": "#110f18", + "ignored.border": "#4d466e", + "modified": "#c7a06f", + "modified.background": "#110f18", + "modified.border": "#c7a06f", + "players": [ + { + "cursor": "#8464c6", + "background": "#8464c6", + "selection": "#3d375e7f" + }, + { + "cursor": "#54c59f", + "background": "#54c59f", + "selection": "#2740387f" + }, + { + "cursor": "#c7a06f", + "background": "#c7a06f", + "selection": "#423a307f" + }, + { + "cursor": "#7fc557", + "background": "#7fc557", + "selection": "#3140287f" + }, + { + "cursor": "#c55858", + "background": "#c55858", + "selection": "#4029297f" + }, + { + "cursor": "#c17ac8", + "background": "#c17ac8", + "selection": "#4134427f" + }, + { + "cursor": "#6cb2c7", + "background": "#6cb2c7", + "selection": "#2f3d427f" + } + ], + "syntax": { + "attribute": { + "color": "#c17ac8", + "font_style": null, + "font_weight": null + }, + "boolean": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "comment": { + "color": "#6d6d6d", + "font_style": null, + "font_weight": null + }, + "comment.doc": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "constant": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "constructor": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "embedded": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "emphasis": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "emphasis.strong": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "enum": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "function": { + "color": "#c7a06f", + "font_style": null, + "font_weight": null + }, + "hint": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "keyword": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "link_text": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "link_uri": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "number": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "operator": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "predictive": { + "color": "#2e2b38", + "font_style": null, + "font_weight": null + }, + "primary": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "property": { + "color": "#c17ac8", + "font_style": null, + "font_weight": null + }, + "punctuation": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "punctuation.bracket": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "punctuation.delimiter": { + "color": "#c17ac8", + "font_style": null, + "font_weight": null + }, + "punctuation.list_marker": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "punctuation.special": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "string": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.escape": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.regex": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.special": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.special.symbol": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "tag": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "text.literal": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "title": { + "color": "#c7a06f", + "font_style": null, + "font_weight": null + }, + "type": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "variable": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "variable.special": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "variant": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + } + } + } + } + ] +} \ No newline at end of file diff --git a/packages/zed/themes/aura-dark.json b/packages/zed/themes/aura-dark.json new file mode 100644 index 0000000..47a9b90 --- /dev/null +++ b/packages/zed/themes/aura-dark.json @@ -0,0 +1,356 @@ +{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "Aura", + "author": "Dalton Menezes ", + "themes": [ + { + "appearance": "dark", + "name": "Aura Dark", + "style": { + "background": "#15141b", + "drop_target.background": "#29263c", + "editor.active_line.background": "#a394f033", + "editor.active_line_number": "#edecee", + "editor.active_wrap_guide": "#4d4d4d", + "editor.background": "#15141b", + "editor.document_highlight.read_background": "#3d375e7f", + "editor.document_highlight.write_background": "#3d375e7f", + "editor.foreground": "#edecee", + "editor.gutter.background": "#15141b", + "editor.highlighted_line.background": "#a394f033", + "editor.invisible": "#4d466e", + "editor.line_number": "#a394f033", + "editor.subheader.background": "#110f18", + "editor.wrap_guide": "#4d4d4d", + "elevated_surface.background": "#110f18", + "pane.focused_border": "#edecee", + "panel.background": "#110f18", + "panel.focused_border": "#edecee", + "search.match_background": "#3d375e7f", + "status_bar.background": "#121016", + "surface.background": "#15141b", + "tab.active_background": "#15141b", + "tab.inactive_background": "#110f18", + "tab_bar.background": "#110f18", + "title_bar.background": "#110f18", + "toolbar.background": "#15141b", + "text": "#edecee", + "text.accent": "#a277ff", + "text.disabled": "#4d466e", + "text.muted": "#6d6d6d", + "text.placeholder": "#af8aff7f", + "border": "#000000", + "border.variant": "#af8aff7f", + "border.focused": "#a394f033", + "border.selected": "#a277ff", + "border.disabled": "#4d466e", + "border.transparent": "#61ffca", + "element.active": "#3d375e7f", + "element.background": "#110f18", + "element.disabled": "#4d466e", + "element.hover": "#2e2b38", + "element.selected": "#3d375e7f", + "ghost_element.active": "#a394f033", + "ghost_element.background": "#00000000", + "ghost_element.disabled": "#4d466e", + "ghost_element.hover": "#3b334b", + "ghost_element.selected": "#2e2b38", + "icon": "#525156", + "icon.accent": "#61ffca", + "icon.disabled": "#4d466e", + "icon.muted": "#adacae", + "icon.placeholder": "#af8aff7f", + "scrollbar.thumb.border": "#a394f033", + "scrollbar.thumb.hover_background": "#a394f033", + "scrollbar_thumb.background": "#a394f033", + "scrollbar.track.border": "#15141b", + "scrollbar.track.background": "#15141b", + "terminal.ansi.black": "#15141b", + "terminal.ansi.blue": "#a277ff", + "terminal.ansi.bright_black": "#2d2d2d", + "terminal.ansi.bright_blue": "#a277ff", + "terminal.ansi.bright_cyan": "#61ffca", + "terminal.ansi.bright_green": "#a277ff", + "terminal.ansi.bright_magenta": "#61ffca", + "terminal.ansi.bright_red": "#ffca85", + "terminal.ansi.bright_white": "#edecee", + "terminal.ansi.bright_yellow": "#ffca85", + "terminal.ansi.cyan": "#a277ff", + "terminal.ansi.green": "#61ffca", + "terminal.ansi.magenta": "#61ffca", + "terminal.ansi.red": "#ff6767", + "terminal.ansi.white": "#cdccce", + "terminal.ansi.yellow": "#ffca85", + "terminal.background": "#15141b", + "terminal.foreground": "#edecee", + "error": "#ff6767", + "error.background": "#110f18", + "error.border": "#ff6767", + "hint": "#6d6d6d", + "hint.background": "#110f18", + "hint.border": "#6d6d6d", + "info": "#ffca85", + "info.background": "#110f18", + "info.border": "#ffca85", + "link_text.hover": "#49c29a", + "predictive": "#6d6d6d", + "predictive.background": "#110f18", + "predictive.border": "#2e2b38", + "renamed": "#82e2ff", + "renamed.background": "#110f18", + "renamed.border": "#82e2ff", + "success": "#61ffca", + "success.background": "#110f18", + "success.border": "#61ffca", + "unreachable": "#ff6767", + "unreachable.background": "#110f18", + "unreachable.border": "#ff6767", + "warning": "#ffca85", + "warning.background": "#110f18", + "warning.border": "#ffca85", + "conflict": "#a277ff", + "conflict.background": "#110f18", + "conflict.border": "#a277ff", + "created": "#61ffca", + "created.background": "#110f18", + "created.border": "#61ffca", + "deleted": "#ff6767", + "deleted.background": "#110f18", + "deleted.border": "#ff6767", + "hidden": "#6d6d6d", + "hidden.background": "#110f18", + "hidden.border": "#6d6d6d", + "ignored": "#4d466e", + "ignored.background": "#110f18", + "ignored.border": "#4d466e", + "modified": "#ffca85", + "modified.background": "#110f18", + "modified.border": "#ffca85", + "players": [ + { + "cursor": "#a277ff", + "background": "#a277ff", + "selection": "#3d375e7f" + }, + { + "cursor": "#61ffca", + "background": "#61ffca", + "selection": "#2958487f" + }, + { + "cursor": "#ffca85", + "background": "#ffca85", + "selection": "#594a357f" + }, + { + "cursor": "#9dff65", + "background": "#9dff65", + "selection": "#3b582a7f" + }, + { + "cursor": "#ff6767", + "background": "#ff6767", + "selection": "#582b2b7f" + }, + { + "cursor": "#f694ff", + "background": "#f694ff", + "selection": "#573a5a7f" + }, + { + "cursor": "#82e2ff", + "background": "#82e2ff", + "selection": "#3451597f" + } + ], + "syntax": { + "attribute": { + "color": "#f694ff", + "font_style": null, + "font_weight": null + }, + "boolean": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "comment": { + "color": "#6d6d6d", + "font_style": null, + "font_weight": null + }, + "comment.doc": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "constant": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "constructor": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "embedded": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "emphasis": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "emphasis.strong": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "enum": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "function": { + "color": "#ffca85", + "font_style": null, + "font_weight": null + }, + "hint": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "keyword": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "link_text": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "link_uri": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "number": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "operator": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "predictive": { + "color": "#2e2b38", + "font_style": null, + "font_weight": null + }, + "primary": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "property": { + "color": "#f694ff", + "font_style": null, + "font_weight": null + }, + "punctuation": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "punctuation.bracket": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "punctuation.delimiter": { + "color": "#f694ff", + "font_style": null, + "font_weight": null + }, + "punctuation.list_marker": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "punctuation.special": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "string": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.escape": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.regex": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.special": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.special.symbol": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "tag": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "text.literal": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "title": { + "color": "#ffca85", + "font_style": null, + "font_weight": null + }, + "type": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "variable": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "variable.special": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "variant": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + } + } + } + } + ] +} \ No newline at end of file diff --git a/packages/zed/themes/aura-soft-dark-soft-text.json b/packages/zed/themes/aura-soft-dark-soft-text.json new file mode 100644 index 0000000..45878c6 --- /dev/null +++ b/packages/zed/themes/aura-soft-dark-soft-text.json @@ -0,0 +1,356 @@ +{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "Aura", + "author": "Dalton Menezes ", + "themes": [ + { + "appearance": "dark", + "name": "Aura Soft Dark (Soft Text)", + "style": { + "background": "#21202e", + "drop_target.background": "#29263c", + "editor.active_line.background": "#a394f033", + "editor.active_line_number": "#bdbdbd", + "editor.active_wrap_guide": "#4d4d4d", + "editor.background": "#21202e", + "editor.document_highlight.read_background": "#3d375e7f", + "editor.document_highlight.write_background": "#3d375e7f", + "editor.foreground": "#bdbdbd", + "editor.gutter.background": "#21202e", + "editor.highlighted_line.background": "#a394f033", + "editor.invisible": "#4d466e", + "editor.line_number": "#a394f033", + "editor.subheader.background": "#1c1b22", + "editor.wrap_guide": "#4d4d4d", + "elevated_surface.background": "#1c1b22", + "pane.focused_border": "#bdbdbd", + "panel.background": "#1c1b22", + "panel.focused_border": "#bdbdbd", + "search.match_background": "#3d375e7f", + "status_bar.background": "#1f1a27", + "surface.background": "#21202e", + "tab.active_background": "#21202e", + "tab.inactive_background": "#1c1b22", + "tab_bar.background": "#1c1b22", + "title_bar.background": "#1c1b22", + "toolbar.background": "#21202e", + "text": "#bdbdbd", + "text.accent": "#8464c6", + "text.disabled": "#4d466e", + "text.muted": "#6d6d6d", + "text.placeholder": "#af8aff7f", + "border": "#141414", + "border.variant": "#af8aff7f", + "border.focused": "#a394f033", + "border.selected": "#8464c6", + "border.disabled": "#4d466e", + "border.transparent": "#54c59f", + "element.active": "#3d375e7f", + "element.background": "#1c1b22", + "element.disabled": "#4d466e", + "element.hover": "#2e2b38", + "element.selected": "#3d375e7f", + "ghost_element.active": "#a394f033", + "ghost_element.background": "#00000000", + "ghost_element.disabled": "#4d466e", + "ghost_element.hover": "#3b334b", + "ghost_element.selected": "#2e2b38", + "icon": "#525156", + "icon.accent": "#54c59f", + "icon.disabled": "#4d466e", + "icon.muted": "#adacae", + "icon.placeholder": "#af8aff7f", + "scrollbar.thumb.border": "#a394f033", + "scrollbar.thumb.hover_background": "#a394f033", + "scrollbar_thumb.background": "#a394f033", + "scrollbar.track.border": "#21202e", + "scrollbar.track.background": "#21202e", + "terminal.ansi.black": "#21202e", + "terminal.ansi.blue": "#8464c6", + "terminal.ansi.bright_black": "#444444", + "terminal.ansi.bright_blue": "#8464c6", + "terminal.ansi.bright_cyan": "#54c59f", + "terminal.ansi.bright_green": "#8464c6", + "terminal.ansi.bright_magenta": "#54c59f", + "terminal.ansi.bright_red": "#c7a06f", + "terminal.ansi.bright_white": "#bdbdbd", + "terminal.ansi.bright_yellow": "#c7a06f", + "terminal.ansi.cyan": "#8464c6", + "terminal.ansi.green": "#54c59f", + "terminal.ansi.magenta": "#54c59f", + "terminal.ansi.red": "#c55858", + "terminal.ansi.white": "#b4b4b4", + "terminal.ansi.yellow": "#c7a06f", + "terminal.background": "#21202e", + "terminal.foreground": "#bdbdbd", + "error": "#c55858", + "error.background": "#1c1b22", + "error.border": "#c55858", + "hint": "#6d6d6d", + "hint.background": "#1c1b22", + "hint.border": "#6d6d6d", + "info": "#c7a06f", + "info.background": "#1c1b22", + "info.border": "#c7a06f", + "link_text.hover": "#49c29a", + "predictive": "#6d6d6d", + "predictive.background": "#1c1b22", + "predictive.border": "#2e2b38", + "renamed": "#6cb2c7", + "renamed.background": "#1c1b22", + "renamed.border": "#6cb2c7", + "success": "#54c59f", + "success.background": "#1c1b22", + "success.border": "#54c59f", + "unreachable": "#c55858", + "unreachable.background": "#1c1b22", + "unreachable.border": "#c55858", + "warning": "#c7a06f", + "warning.background": "#1c1b22", + "warning.border": "#c7a06f", + "conflict": "#8464c6", + "conflict.background": "#1c1b22", + "conflict.border": "#8464c6", + "created": "#54c59f", + "created.background": "#1c1b22", + "created.border": "#54c59f", + "deleted": "#c55858", + "deleted.background": "#1c1b22", + "deleted.border": "#c55858", + "hidden": "#6d6d6d", + "hidden.background": "#1c1b22", + "hidden.border": "#6d6d6d", + "ignored": "#4d466e", + "ignored.background": "#1c1b22", + "ignored.border": "#4d466e", + "modified": "#c7a06f", + "modified.background": "#1c1b22", + "modified.border": "#c7a06f", + "players": [ + { + "cursor": "#8464c6", + "background": "#8464c6", + "selection": "#3d375e7f" + }, + { + "cursor": "#54c59f", + "background": "#54c59f", + "selection": "#2740387f" + }, + { + "cursor": "#c7a06f", + "background": "#c7a06f", + "selection": "#423a307f" + }, + { + "cursor": "#7fc557", + "background": "#7fc557", + "selection": "#3140287f" + }, + { + "cursor": "#c55858", + "background": "#c55858", + "selection": "#4029297f" + }, + { + "cursor": "#c17ac8", + "background": "#c17ac8", + "selection": "#4134427f" + }, + { + "cursor": "#6cb2c7", + "background": "#6cb2c7", + "selection": "#2f3d427f" + } + ], + "syntax": { + "attribute": { + "color": "#c17ac8", + "font_style": null, + "font_weight": null + }, + "boolean": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "comment": { + "color": "#6d6d6d", + "font_style": null, + "font_weight": null + }, + "comment.doc": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "constant": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "constructor": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "embedded": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "emphasis": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "emphasis.strong": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "enum": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "function": { + "color": "#c7a06f", + "font_style": null, + "font_weight": null + }, + "hint": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "keyword": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "link_text": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "link_uri": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "number": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "operator": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "predictive": { + "color": "#2e2b38", + "font_style": null, + "font_weight": null + }, + "primary": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "property": { + "color": "#c17ac8", + "font_style": null, + "font_weight": null + }, + "punctuation": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "punctuation.bracket": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "punctuation.delimiter": { + "color": "#c17ac8", + "font_style": null, + "font_weight": null + }, + "punctuation.list_marker": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "punctuation.special": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + }, + "string": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.escape": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.regex": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.special": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "string.special.symbol": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "tag": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "text.literal": { + "color": "#54c59f", + "font_style": null, + "font_weight": null + }, + "title": { + "color": "#c7a06f", + "font_style": null, + "font_weight": null + }, + "type": { + "color": "#8464c6", + "font_style": null, + "font_weight": null + }, + "variable": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "variable.special": { + "color": "#bdbdbd", + "font_style": null, + "font_weight": null + }, + "variant": { + "color": "#6cb2c7", + "font_style": null, + "font_weight": null + } + } + } + } + ] +} \ No newline at end of file diff --git a/packages/zed/themes/aura-soft-dark.json b/packages/zed/themes/aura-soft-dark.json new file mode 100644 index 0000000..d62223b --- /dev/null +++ b/packages/zed/themes/aura-soft-dark.json @@ -0,0 +1,356 @@ +{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "Aura", + "author": "Dalton Menezes ", + "themes": [ + { + "appearance": "dark", + "name": "Aura Soft Dark", + "style": { + "background": "#21202e", + "drop_target.background": "#29263c", + "editor.active_line.background": "#a394f033", + "editor.active_line_number": "#edecee", + "editor.active_wrap_guide": "#4d4d4d", + "editor.background": "#21202e", + "editor.document_highlight.read_background": "#3d375e7f", + "editor.document_highlight.write_background": "#3d375e7f", + "editor.foreground": "#edecee", + "editor.gutter.background": "#21202e", + "editor.highlighted_line.background": "#a394f033", + "editor.invisible": "#4d466e", + "editor.line_number": "#a394f033", + "editor.subheader.background": "#1c1b22", + "editor.wrap_guide": "#4d4d4d", + "elevated_surface.background": "#1c1b22", + "pane.focused_border": "#edecee", + "panel.background": "#1c1b22", + "panel.focused_border": "#edecee", + "search.match_background": "#3d375e7f", + "status_bar.background": "#1f1a27", + "surface.background": "#21202e", + "tab.active_background": "#21202e", + "tab.inactive_background": "#1c1b22", + "tab_bar.background": "#1c1b22", + "title_bar.background": "#1c1b22", + "toolbar.background": "#21202e", + "text": "#edecee", + "text.accent": "#a277ff", + "text.disabled": "#4d466e", + "text.muted": "#6d6d6d", + "text.placeholder": "#af8aff7f", + "border": "#141414", + "border.variant": "#af8aff7f", + "border.focused": "#a394f033", + "border.selected": "#a277ff", + "border.disabled": "#4d466e", + "border.transparent": "#61ffca", + "element.active": "#3d375e7f", + "element.background": "#1c1b22", + "element.disabled": "#4d466e", + "element.hover": "#2e2b38", + "element.selected": "#3d375e7f", + "ghost_element.active": "#a394f033", + "ghost_element.background": "#00000000", + "ghost_element.disabled": "#4d466e", + "ghost_element.hover": "#3b334b", + "ghost_element.selected": "#2e2b38", + "icon": "#525156", + "icon.accent": "#61ffca", + "icon.disabled": "#4d466e", + "icon.muted": "#adacae", + "icon.placeholder": "#af8aff7f", + "scrollbar.thumb.border": "#a394f033", + "scrollbar.thumb.hover_background": "#a394f033", + "scrollbar_thumb.background": "#a394f033", + "scrollbar.track.border": "#21202e", + "scrollbar.track.background": "#21202e", + "terminal.ansi.black": "#21202e", + "terminal.ansi.blue": "#a277ff", + "terminal.ansi.bright_black": "#444444", + "terminal.ansi.bright_blue": "#a277ff", + "terminal.ansi.bright_cyan": "#61ffca", + "terminal.ansi.bright_green": "#a277ff", + "terminal.ansi.bright_magenta": "#61ffca", + "terminal.ansi.bright_red": "#ffca85", + "terminal.ansi.bright_white": "#edecee", + "terminal.ansi.bright_yellow": "#ffca85", + "terminal.ansi.cyan": "#a277ff", + "terminal.ansi.green": "#61ffca", + "terminal.ansi.magenta": "#61ffca", + "terminal.ansi.red": "#ff6767", + "terminal.ansi.white": "#cdccce", + "terminal.ansi.yellow": "#ffca85", + "terminal.background": "#21202e", + "terminal.foreground": "#edecee", + "error": "#ff6767", + "error.background": "#1c1b22", + "error.border": "#ff6767", + "hint": "#6d6d6d", + "hint.background": "#1c1b22", + "hint.border": "#6d6d6d", + "info": "#ffca85", + "info.background": "#1c1b22", + "info.border": "#ffca85", + "link_text.hover": "#49c29a", + "predictive": "#6d6d6d", + "predictive.background": "#1c1b22", + "predictive.border": "#2e2b38", + "renamed": "#82e2ff", + "renamed.background": "#1c1b22", + "renamed.border": "#82e2ff", + "success": "#61ffca", + "success.background": "#1c1b22", + "success.border": "#61ffca", + "unreachable": "#ff6767", + "unreachable.background": "#1c1b22", + "unreachable.border": "#ff6767", + "warning": "#ffca85", + "warning.background": "#1c1b22", + "warning.border": "#ffca85", + "conflict": "#a277ff", + "conflict.background": "#1c1b22", + "conflict.border": "#a277ff", + "created": "#61ffca", + "created.background": "#1c1b22", + "created.border": "#61ffca", + "deleted": "#ff6767", + "deleted.background": "#1c1b22", + "deleted.border": "#ff6767", + "hidden": "#6d6d6d", + "hidden.background": "#1c1b22", + "hidden.border": "#6d6d6d", + "ignored": "#4d466e", + "ignored.background": "#1c1b22", + "ignored.border": "#4d466e", + "modified": "#ffca85", + "modified.background": "#1c1b22", + "modified.border": "#ffca85", + "players": [ + { + "cursor": "#a277ff", + "background": "#a277ff", + "selection": "#3d375e7f" + }, + { + "cursor": "#61ffca", + "background": "#61ffca", + "selection": "#2958487f" + }, + { + "cursor": "#ffca85", + "background": "#ffca85", + "selection": "#594a357f" + }, + { + "cursor": "#9dff65", + "background": "#9dff65", + "selection": "#3b582a7f" + }, + { + "cursor": "#ff6767", + "background": "#ff6767", + "selection": "#582b2b7f" + }, + { + "cursor": "#f694ff", + "background": "#f694ff", + "selection": "#573a5a7f" + }, + { + "cursor": "#82e2ff", + "background": "#82e2ff", + "selection": "#3451597f" + } + ], + "syntax": { + "attribute": { + "color": "#f694ff", + "font_style": null, + "font_weight": null + }, + "boolean": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "comment": { + "color": "#6d6d6d", + "font_style": null, + "font_weight": null + }, + "comment.doc": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "constant": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "constructor": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "embedded": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "emphasis": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "emphasis.strong": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "enum": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "function": { + "color": "#ffca85", + "font_style": null, + "font_weight": null + }, + "hint": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "keyword": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "link_text": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "link_uri": { + "color": "#49c29a", + "font_style": null, + "font_weight": null + }, + "number": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "operator": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "predictive": { + "color": "#2e2b38", + "font_style": null, + "font_weight": null + }, + "primary": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "property": { + "color": "#f694ff", + "font_style": null, + "font_weight": null + }, + "punctuation": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "punctuation.bracket": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "punctuation.delimiter": { + "color": "#f694ff", + "font_style": null, + "font_weight": null + }, + "punctuation.list_marker": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "punctuation.special": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + }, + "string": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.escape": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.regex": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.special": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "string.special.symbol": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "tag": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "text.literal": { + "color": "#61ffca", + "font_style": null, + "font_weight": null + }, + "title": { + "color": "#ffca85", + "font_style": null, + "font_weight": null + }, + "type": { + "color": "#a277ff", + "font_style": null, + "font_weight": null + }, + "variable": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "variable.special": { + "color": "#edecee", + "font_style": null, + "font_weight": null + }, + "variant": { + "color": "#82e2ff", + "font_style": null, + "font_weight": null + } + } + } + } + ] +} \ No newline at end of file diff --git a/src/ports/zed/index.ts b/src/ports/zed/index.ts new file mode 100644 index 0000000..16aa5b1 --- /dev/null +++ b/src/ports/zed/index.ts @@ -0,0 +1,110 @@ +import { AuraAPI } from 'core' +import { resolve } from 'path' +import { colorsService, functionCompositionService } from 'services' +import { folders } from 'shared/constants' + +const { shade, desaturate } = colorsService() +const { compose } = functionCompositionService() +const shadeAndDesaturate = compose(shade(0.63), desaturate(0.2)) + +export async function ZedPort(Aura: AuraAPI) { + const { createPort, createReadme, colorSchemes, constants } = Aura + const { info } = constants + + console.log(shadeAndDesaturate(colorSchemes.dark.accent1)) + + const portName: string = 'Zed' + const version = '1.0.0' + const type = 'dark' + const templateFolder = resolve(__dirname, 'templates') + const template = resolve(templateFolder, 'theme.json') + const outputDist = resolve(folders.distFolder, 'zed', 'themes') + + const names = { + auraDark: `${info.shortName} Dark`, + auraDarkSoftText: `${info.shortName} Dark (Soft Text)`, + auraSoftDark: `${info.shortName} Soft Dark`, + auraSoftDarkSoftText: `${info.shortName} Soft Dark (Soft Text)`, + } + + await createPort({ + template: resolve(templateFolder, 'extension.toml'), + outputFileName: `extension`, + replacements: { + ...info, + portName, + version, + }, + }) + + await createPort({ + template, + outputDist, + outputFileName: `aura-dark`, + replacements: { + ...info, + type, + ...colorSchemes.dark, + name: names.auraDark, + ...createTransparentAccents(colorSchemes.dark), + }, + }) + + await createPort({ + template, + outputDist, + outputFileName: `aura-dark-soft-text`, + replacements: { + ...info, + type, + ...colorSchemes.darkSoft, + name: names.auraDarkSoftText, + ...createTransparentAccents(colorSchemes.darkSoft), + }, + }) + + await createPort({ + template, + outputDist, + outputFileName: `aura-soft-dark`, + replacements: { + ...info, + type, + ...colorSchemes.softDark, + name: names.auraSoftDark, + ...createTransparentAccents(colorSchemes.softDark), + }, + }) + + await createPort({ + template, + outputDist, + outputFileName: `aura-soft-dark-soft-text`, + replacements: { + ...info, + type, + ...colorSchemes.softDarkSoft, + name: names.auraSoftDarkSoftText, + ...createTransparentAccents(colorSchemes.softDarkSoft), + }, + }) + + await createReadme({ + template: resolve(templateFolder, 'README.md'), + replacements: { + portName, + version, + }, + }) +} + +function createTransparentAccents(colorScheme: Record) { + return { + accent2Transparent: shadeAndDesaturate(colorScheme.accent2) + '7f', + accent3Transparent: shadeAndDesaturate(colorScheme.accent3) + '7f', + accent4Transparent: shadeAndDesaturate(colorScheme.accent4) + '7f', + accent5Transparent: shadeAndDesaturate(colorScheme.accent5) + '7f', + accent6Transparent: shadeAndDesaturate(colorScheme.accent6) + '7f', + accent32Transparent: shadeAndDesaturate(colorScheme.accent32) + '7f', + } +} diff --git a/src/ports/zed/templates/README.md b/src/ports/zed/templates/README.md new file mode 100644 index 0000000..4f86cb6 --- /dev/null +++ b/src/ports/zed/templates/README.md @@ -0,0 +1,41 @@ +{{{ basic-heading }}} + +# Themes available + +- Aura Dark +- Aura Dark (Soft Text) +- Aura Soft Dark +- Aura Soft Dark (Soft Text) + +# Installation + +1. Open the **Command Palette** with Ctrl + Shift + P or + Shift + P +2. Open the **Extensions** view with the `zed: extensions` command +3. Search for `{{{ shortName }}} theme` +4. Click on **Install**. +5. Open the **Command Palette** again +6. Open the **Theme selector** with the `theme selector: toggle` command +7. Search for `{{{ shortName }}}` and choose an `{{{ shortName }}}` variant. + +# Contributors + + + + + + {{{ author-thead }}} + + + + + + {{{ author-tbody }}} + + +

+ + + +

Tessa van der Heijden
+ +{{{ footer }}} diff --git a/src/ports/zed/templates/extension.toml b/src/ports/zed/templates/extension.toml new file mode 100644 index 0000000..6f008e4 --- /dev/null +++ b/src/ports/zed/templates/extension.toml @@ -0,0 +1,7 @@ +id = "{{ slug }}" +name = "{{ displayName }}" +schema_version = 1 +version = "{{ version }}" +authors = ["{{ author.name }} <{{ author.email }}>"] +description = "A beautiful dark theme for {{ portName }}" +repository = "{{{ repository }}}" diff --git a/src/ports/zed/templates/theme.json b/src/ports/zed/templates/theme.json new file mode 100644 index 0000000..0dd777e --- /dev/null +++ b/src/ports/zed/templates/theme.json @@ -0,0 +1,356 @@ +{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "{{ shortName }}", + "author": "{{ author.name }} <{{ author.email }}>", + "themes": [ + { + "appearance": "{{ type }}", + "name": "{{ name }}", + "style": { + "background": "{{ accent12 }}", + "drop_target.background": "{{ accent38 }}", + "editor.active_line.background": "{{ accent17 }}", + "editor.active_line_number": "{{ accent7 }}", + "editor.active_wrap_guide": "{{ accent15 }}", + "editor.background": "{{ accent12 }}", + "editor.document_highlight.read_background": "{{ accent20 }}", + "editor.document_highlight.write_background": "{{ accent20 }}", + "editor.foreground": "{{ accent7 }}", + "editor.gutter.background": "{{ accent12 }}", + "editor.highlighted_line.background": "{{ accent17 }}", + "editor.invisible": "{{ accent22 }}", + "editor.line_number": "{{ accent17 }}", + "editor.subheader.background": "{{ accent21 }}", + "editor.wrap_guide": "{{ accent15 }}", + "elevated_surface.background": "{{ accent21 }}", + "pane.focused_border": "{{ accent7 }}", + "panel.background": "{{ accent21 }}", + "panel.focused_border": "{{ accent7 }}", + "search.match_background": "{{ accent20 }}", + "status_bar.background": "{{ accent24 }}", + "surface.background": "{{ accent12 }}", + "tab.active_background": "{{ accent12 }}", + "tab.inactive_background": "{{ accent21 }}", + "tab_bar.background": "{{ accent21 }}", + "title_bar.background": "{{ accent21 }}", + "toolbar.background": "{{ accent12 }}", + "text": "{{ accent7 }}", + "text.accent": "{{ accent1 }}", + "text.disabled": "{{ accent22 }}", + "text.muted": "{{ accent8 }}", + "text.placeholder": "{{ accent14 }}", + "border": "{{ accent11 }}", + "border.variant": "{{ accent14 }}", + "border.focused": "{{ accent17 }}", + "border.selected": "{{ accent1 }}", + "border.disabled": "{{ accent22}}", + "border.transparent": "{{ accent2}}", + "element.active": "{{ accent20 }}", + "element.background": "{{ accent21 }}", + "element.disabled": "{{ accent22 }}", + "element.hover": "{{ accent33 }}", + "element.selected": "{{ accent20 }}", + "ghost_element.active": "{{ accent17 }}", + "ghost_element.background": "{{ accent34 }}", + "ghost_element.disabled": "{{ accent22 }}", + "ghost_element.hover": "{{ accent23 }}", + "ghost_element.selected": "{{ accent33 }}", + "icon": "{{ accent35 }}", + "icon.accent": "{{ accent2 }}", + "icon.disabled": "{{ accent22 }}", + "icon.muted": "{{ accent10 }}", + "icon.placeholder": "{{ accent14 }}", + "scrollbar.thumb.border": "{{ accent17 }}", + "scrollbar.thumb.hover_background": "{{ accent17 }}", + "scrollbar_thumb.background": "{{ accent17 }}", + "scrollbar.track.border": "{{ accent12 }}", + "scrollbar.track.background": "{{ accent12 }}", + "terminal.ansi.black": "{{ accent12 }}", + "terminal.ansi.blue": "{{ accent1 }}", + "terminal.ansi.bright_black": "{{ accent13 }}", + "terminal.ansi.bright_blue": "{{ accent1 }}", + "terminal.ansi.bright_cyan": "{{ accent2 }}", + "terminal.ansi.bright_green": "{{ accent1 }}", + "terminal.ansi.bright_magenta": "{{ accent2 }}", + "terminal.ansi.bright_red": "{{ accent3 }}", + "terminal.ansi.bright_white": "{{ accent7 }}", + "terminal.ansi.bright_yellow": "{{ accent3 }}", + "terminal.ansi.cyan": "{{ accent1 }}", + "terminal.ansi.green": "{{ accent2 }}", + "terminal.ansi.magenta": "{{ accent2 }}", + "terminal.ansi.red": "{{ accent5 }}", + "terminal.ansi.white": "{{ accent9 }}", + "terminal.ansi.yellow": "{{ accent3 }}", + "terminal.background": "{{ accent12 }}", + "terminal.foreground": "{{ accent7 }}", + "error": "{{ accent5 }}", + "error.background": "{{ accent21 }}", + "error.border": "{{ accent5 }}", + "hint": "{{ accent8 }}", + "hint.background": "{{ accent21 }}", + "hint.border": "{{ accent8 }}", + "info": "{{ accent3 }}", + "info.background": "{{ accent21 }}", + "info.border": "{{ accent3 }}", + "link_text.hover": "{{ accent25 }}", + "predictive": "{{ accent8 }}", + "predictive.background": "{{ accent21 }}", + "predictive.border": "{{ accent33 }}", + "renamed": "{{ accent32 }}", + "renamed.background": "{{ accent21 }}", + "renamed.border": "{{ accent32 }}", + "success": "{{ accent2 }}", + "success.background": "{{ accent21 }}", + "success.border": "{{ accent2 }}", + "unreachable": "{{ accent5 }}", + "unreachable.background": "{{ accent21 }}", + "unreachable.border": "{{ accent5 }}", + "warning": "{{ accent3 }}", + "warning.background": "{{ accent21 }}", + "warning.border": "{{ accent3 }}", + "conflict": "{{ accent1 }}", + "conflict.background": "{{ accent21 }}", + "conflict.border": "{{ accent1 }}", + "created": "{{ accent2 }}", + "created.background": "{{ accent21 }}", + "created.border": "{{ accent2 }}", + "deleted": "{{ accent5 }}", + "deleted.background": "{{ accent21 }}", + "deleted.border": "{{ accent5 }}", + "hidden": "{{ accent8 }}", + "hidden.background": "{{ accent21 }}", + "hidden.border": "{{ accent8 }}", + "ignored": "{{ accent22 }}", + "ignored.background": "{{ accent21 }}", + "ignored.border": "{{ accent22 }}", + "modified": "{{ accent3 }}", + "modified.background": "{{ accent21 }}", + "modified.border": "{{ accent3 }}", + "players": [ + { + "cursor": "{{ accent1 }}", + "background": "{{ accent1 }}", + "selection": "{{ accent20 }}" + }, + { + "cursor": "{{ accent2 }}", + "background": "{{ accent2 }}", + "selection": "{{ accent2Transparent }}" + }, + { + "cursor": "{{ accent3 }}", + "background": "{{ accent3 }}", + "selection": "{{ accent3Transparent }}" + }, + { + "cursor": "{{ accent4 }}", + "background": "{{ accent4 }}", + "selection": "{{ accent4Transparent }}" + }, + { + "cursor": "{{ accent5 }}", + "background": "{{ accent5 }}", + "selection": "{{ accent5Transparent }}" + }, + { + "cursor": "{{ accent6 }}", + "background": "{{ accent6 }}", + "selection": "{{ accent6Transparent }}" + }, + { + "cursor": "{{ accent32 }}", + "background": "{{ accent32 }}", + "selection": "{{ accent32Transparent }}" + } + ], + "syntax": { + "attribute": { + "color": "{{ accent6 }}", + "font_style": null, + "font_weight": null + }, + "boolean": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "comment": { + "color": "{{ accent8 }}", + "font_style": null, + "font_weight": null + }, + "comment.doc": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "constant": { + "color": "{{ accent32 }}", + "font_style": null, + "font_weight": null + }, + "constructor": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "embedded": { + "color": "{{ accent7 }}", + "font_style": null, + "font_weight": null + }, + "emphasis": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "emphasis.strong": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "enum": { + "color": "{{ accent32 }}", + "font_style": null, + "font_weight": null + }, + "function": { + "color": "{{ accent3 }}", + "font_style": null, + "font_weight": null + }, + "hint": { + "color": "{{ accent32 }}", + "font_style": null, + "font_weight": null + }, + "keyword": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "link_text": { + "color": "{{ accent25 }}", + "font_style": null, + "font_weight": null + }, + "link_uri": { + "color": "{{ accent25 }}", + "font_style": null, + "font_weight": null + }, + "number": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "operator": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "predictive": { + "color": "{{ accent33 }}", + "font_style": null, + "font_weight": null + }, + "primary": { + "color": "{{ accent7 }}", + "font_style": null, + "font_weight": null + }, + "property": { + "color": "{{ accent6 }}", + "font_style": null, + "font_weight": null + }, + "punctuation": { + "color": "{{ accent7 }}", + "font_style": null, + "font_weight": null + }, + "punctuation.bracket": { + "color": "{{ accent7 }}", + "font_style": null, + "font_weight": null + }, + "punctuation.delimiter": { + "color": "{{ accent6 }}", + "font_style": null, + "font_weight": null + }, + "punctuation.list_marker": { + "color": "{{ accent32 }}", + "font_style": null, + "font_weight": null + }, + "punctuation.special": { + "color": "{{ accent32 }}", + "font_style": null, + "font_weight": null + }, + "string": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "string.escape": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "string.regex": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "string.special": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "string.special.symbol": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "tag": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "text.literal": { + "color": "{{ accent2 }}", + "font_style": null, + "font_weight": null + }, + "title": { + "color": "{{ accent3 }}", + "font_style": null, + "font_weight": null + }, + "type": { + "color": "{{ accent1 }}", + "font_style": null, + "font_weight": null + }, + "variable": { + "color": "{{ accent7 }}", + "font_style": null, + "font_weight": null + }, + "variable.special": { + "color": "{{ accent7 }}", + "font_style": null, + "font_weight": null + }, + "variant": { + "color": "{{ accent32 }}", + "font_style": null, + "font_weight": null + } + } + } + } + ] +} \ No newline at end of file From a42885a3d2a61abcc3a5e083b3de29abc5d7b45d Mon Sep 17 00:00:00 2001 From: Tessa van der Heijden Date: Sun, 19 May 2024 13:24:21 +0200 Subject: [PATCH 2/2] feat(port): update icon and banner for zed --- README.md | 2 +- packages/zed/README.md | 4 ++++ src/ports/zed/templates/README.md | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c30b0b6..de4092b 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@

- +

Zed diff --git a/packages/zed/README.md b/packages/zed/README.md index 889e0f4..c20b706 100644 --- a/packages/zed/README.md +++ b/packages/zed/README.md @@ -19,6 +19,10 @@ +

+ preview +

+ # Themes available - Aura Dark diff --git a/src/ports/zed/templates/README.md b/src/ports/zed/templates/README.md index 4f86cb6..40ea754 100644 --- a/src/ports/zed/templates/README.md +++ b/src/ports/zed/templates/README.md @@ -1,5 +1,9 @@ {{{ basic-heading }}} +

+ preview +

+ # Themes available - Aura Dark