nix/programs/zed: update config and themes
Anirudh Oppiliappan x@icyphox.sh
Tue, 24 Dec 2024 12:44:23 +0200
4 files changed,
361 insertions(+),
89 deletions(-)
M
programs/zed/default.nix
→
programs/zed/default.nix
@@ -6,5 +6,6 @@ keymap = import ./keymap.nix;
in { home.file.".config/zed/themes/icy.json".source = ./themes/icy.json; + home.file.".config/zed/themes/icy-dusk.json".source = ./themes/icy-dusk.json; imports = [ settings keymap ]; }
M
programs/zed/settings.nix
→
programs/zed/settings.nix
@@ -45,7 +45,7 @@ };
assistant = { default_model = { provider = "copilot_chat"; - model = "gpt-4"; + model = "claude-3-5-sonnet"; }; version = "2"; enabled = true;
A
programs/zed/themes/icy-dusk.json
@@ -0,0 +1,271 @@
+{ + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", + "name": "Warm Icy Dark", + "author": "Anirudh Oppiliappan (icyphox)", + "themes": [ + { + "name": "Warm Icy Dark", + "appearance": "dark", + "style": { + "border": "#4a443d", + "border.variant": "#4a443d", + "border.focused": "#4a443d", + "border.selected": "#4a443d", + "border.transparent": "#100f0f", + "border.disabled": "#6b635a", + "elevated_surface.background": "#100f0f", + "surface.background": "#100f0f", + "background": "#100f0f", + "element.background": "#100f0f", + "element.hover": "#509c933d", + "element.active": "#4a443d", + "element.selected": "#4a443d", + "element.disabled": "#6b635a", + "drop_target.background": "#6b635a", + "ghost_element.background": "#100f0f", + "ghost_element.hover": "#4a443ddd", + "ghost_element.active": "#4a443d", + "ghost_element.selected": "#4a443d", + "ghost_element.disabled": "#6b635a", + "text": "#fff6e3", + "text.muted": "#d3cec1", + "text.placeholder": "#6b635a", + "text.disabled": "#6b635a", + "text.accent": "#509c93", + "icon": "#fff6e3", + "icon.muted": "#d3cec1", + "icon.disabled": "#6b635a", + "icon.placeholder": "#6b635a", + "icon.accent": "#509c93", + "status_bar.background": "#100f0f", + "title_bar.background": "#100f0f", + "toolbar.background": "#100f0f", + "tab_bar.background": "#100f0f", + "tab.inactive_background": "#100f0f", + "tab.active_background": "#2a261f", + "search.match_background": "#509c933d", + "panel.background": "#100f0f", + "panel.focused_border": "#509c93", + "pane.focused_border": "#509c93", + "scrollbar_thumb.background": "#4a443d", + "scrollbar.thumb.hover_background": "#509c93", + "scrollbar.thumb.border": "#100f0f", + "scrollbar.track.background": "#2a261f", + "scrollbar.track.border": "#100f0f", + "editor.foreground": "#fff6e3", + "editor.background": "#100f0f", + "editor.gutter.background": "#100f0f", + "editor.subheader.background": "#2a261f", + "editor.active_line.background": "#2a261f", + "editor.highlighted_line.background": "#2a261f", + "editor.line_number": "#6b635a", + "editor.active_line_number": "#d3cec1", + "editor.invisible": "#6b635a", + "editor.wrap_guide": "#2a261f", + "editor.active_wrap_guide": "#4a443d", + "editor.document_highlight.read_background": "#509c9333", + "editor.document_highlight.write_background": "#509c9333", + "terminal.background": "#100f0f", + "terminal.foreground": "#fff6e3", + "terminal.bright_foreground": "#fff9eb", + "terminal.dim_foreground": "#d3cec1", + "terminal.ansi.black": "#2a261f", + "terminal.ansi.bright_black": "#4a443d", + "terminal.ansi.dim_black": "#2a261f", + "terminal.ansi.red": "#db7070", + "terminal.ansi.bright_red": "#c66666", + "terminal.ansi.dim_red": "#6b635a", + "terminal.ansi.green": "#7c9f4b", + "terminal.ansi.bright_green": "#6d8b42", + "terminal.ansi.dim_green": "#6b635a", + "terminal.ansi.yellow": "#d69822", + "terminal.ansi.bright_yellow": "#4a443d", + "terminal.ansi.dim_yellow": "#6b635a", + "terminal.ansi.blue": "#509c93", + "terminal.ansi.bright_blue": "#6b635a", + "terminal.ansi.dim_blue": "#2a261f", + "terminal.ansi.magenta": "#b870ce", + "terminal.ansi.bright_magenta": "#a262b5", + "terminal.ansi.dim_magenta": "#6b635a", + "terminal.ansi.cyan": "#509c93", + "terminal.ansi.bright_cyan": "#43827b", + "terminal.ansi.dim_cyan": "#6b635a", + "terminal.ansi.white": "#fff6e3", + "terminal.ansi.bright_white": "#fff9eb", + "terminal.ansi.dim_white": "#d3cec1", + "link_text.hover": "#509c933d", + "conflict": "#db7070", + "conflict.background": "#509c933d", + "conflict.border": "#509c93", + "created": "#7c9f4b", + "created.background": "#509c933d", + "created.border": "#509c93", + "deleted": "#db7070", + "deleted.background": "#509c933d", + "deleted.border": "#509c93", + "error": "#db7070", + "error.background": "#509c933d", + "error.border": "#509c93", + "hidden": "#d3cec1", + "hidden.background": "#100f0f", + "hidden.border": "#6b635a", + "hint": "#fff6e3", + "hint.background": "#509c933d", + "hint.border": "#509c93", + "ignored": "#fff6e3", + "ignored.background": "#509c933d", + "ignored.border": "#509c93", + "info": "#509c93", + "info.background": "#509c933d", + "info.border": "#509c93", + "modified": "#7c9f4b", + "modified.background": "#509c933d", + "modified.border": "#509c93", + "predictive": "#6b635a", + "predictive.background": "#509c933d", + "predictive.border": "#509c93", + "renamed": "#509c93", + "renamed.background": "#509c933d", + "renamed.border": "#509c93", + "success": "#7c9f4b", + "success.background": "#509c933d", + "success.border": "#509c93", + "unreachable": "#db7070", + "unreachable.background": "#509c933d", + "unreachable.border": "#509c93", + "warning": "#d69822", + "warning.background": "#509c933d", + "warning.border": "#509c93", + "players": [ + { + "cursor": "#509c93", + "background": "#509c93", + "selection": "#509c933d" + }, + { + "cursor": "#b870ce", + "background": "#b870ce", + "selection": "#509c933d" + }, + { + "cursor": "#db7070", + "background": "#db7070", + "selection": "#509c933d" + }, + { + "cursor": "#a262b5", + "background": "#a262b5", + "selection": "#509c933d" + }, + { + "cursor": "#509c93", + "background": "#509c93", + "selection": "#509c933d" + }, + { + "cursor": "#43827b", + "background": "#43827b", + "selection": "#509c933d" + }, + { + "cursor": "#d69822", + "background": "#d69822", + "selection": "#509c933d" + }, + { + "cursor": "#7c9f4b", + "background": "#7c9f4b", + "selection": "#509c933d" + } + ], + "syntax": { + "attribute": { + "color": "#509c93", + "font_style": "normal", + "font_weight": 400 + }, + "boolean": { + "color": "#b870ce", + "font_style": "normal", + "font_weight": 600 + }, + "comment": { + "color": "#6b635a", + "font_style": "italic", + "font_weight": 400 + }, + "comment.doc": { + "color": "#6b635a", + "font_style": "italic", + "font_weight": 400 + }, + "constant": { + "color": "#b870ce", + "font_style": "normal", + "font_weight": 400 + }, + "function": { + "color": "#fff6e3", + "font_style": "normal", + "font_weight": 400 + }, + "keyword": { + "color": "#fff6e3", + "font_style": "normal", + "font_weight": 600 + }, + "number": { + "color": "#b870ce", + "font_style": "normal", + "font_weight": 400 + }, + "string": { + "color": "#509c93", + "font_style": "normal", + "font_weight": 400 + }, + "variable": { + "color": "#fff6e3", + "font_style": "normal", + "font_weight": 400 + }, + "operator": { + "color": "#fff6e3", + "font_style": "normal", + "font_weight": 400 + }, + "type": { + "color": "#fff6e3", + "font_style": "normal", + "font_weight": 400 + }, + "punctuation": { + "color": "#d3cec1", + "font_style": "normal", + "font_weight": 400 + }, + "error": { + "color": "#db7070", + "font_style": "normal", + "font_weight": 600 + }, + "warning": { + "color": "#d69822", + "font_style": "normal", + "font_weight": 600 + }, + "info": { + "color": "#509c93", + "font_style": "normal", + "font_weight": 600 + }, + "hint": { + "color": "#7c9f4b", + "font_style": "normal", + "font_weight": 600 + } + } + } + } + ] +}
M
programs/zed/themes/icy.json
→
programs/zed/themes/icy.json
@@ -1,98 +1,98 @@
{ "$schema": "https://zed.dev/schema/themes/v0.1.0.json", - "name": "Icy", + "name": "Warm Icy", "author": "Anirudh Oppiliappan (icyphox)", "themes": [ { - "name": "Icy Light", + "name": "Warm Icy Light", "appearance": "light", "style": { - "border": "#dddddd", - "border.variant": "#dddddd", - "border.focused": "#dddddd", - "border.selected": "#dddddd", - "border.transparent": "#f1f1f1", - "border.disabled": "#8a8a8a", - "elevated_surface.background": "#f4f4f4", - "surface.background": "#f4f4f4", - "background": "#f4f4f4", - "element.background": "#f4f4f4", + "border": "#fceccc", + "border.variant": "#fceccc", + "border.focused": "#fceccc", + "border.selected": "#fff9eb", + "border.transparent": "#fffdf5", + "border.disabled": "#776e63", + "elevated_surface.background": "#fffdf5", + "surface.background": "#fffdf5", + "background": "#fffdf5", + "element.background": "#fffdf5", "element.hover": "#8e69d53d", - "element.active": "#dddddd", - "element.selected": "#dddddd", - "element.disabled": "#aaaaaa", - "drop_target.background": "#aaaaaa", - "ghost_element.background": "#f4f4f4", - "ghost_element.hover": "#dddddddd", - "ghost_element.active": "#dddddd", - "ghost_element.selected": "#dddddd", - "ghost_element.disabled": "#aaaaaa", - "text": "#676767", - "text.muted": "#525252", - "text.placeholder": "#8a8a8a", - "text.disabled": "#aaaaaa", + "element.active": "#fceccc", + "element.selected": "#fff9eb", + "element.disabled": "#776e63", + "drop_target.background": "#776e63", + "ghost_element.background": "#fffdf5", + "ghost_element.hover": "#fcecccdd", + "ghost_element.active": "#fceccc", + "ghost_element.selected": "#fff9eb", + "ghost_element.disabled": "#776e63", + "text": "#4a443d", + "text.muted": "#2a261f", + "text.placeholder": "#776e63", + "text.disabled": "#776e63", "text.accent": "#6587bf", - "icon": "#f4f4f4", - "icon.muted": "#525252", - "icon.disabled": "#aaaaaa", - "icon.placeholder": "#8a8a8a", + "icon": "#fffdf5", + "icon.muted": "#2a261f", + "icon.disabled": "#776e63", + "icon.placeholder": "#776e63", "icon.accent": "#6587bf", - "status_bar.background": "#f4f4f4", - "title_bar.background": "#f4f4f4", - "toolbar.background": "#f4f4f4", - "tab_bar.background": "#f4f4f4", - "tab.inactive_background": "#f4f4f4", - "tab.active_background": "#dddddd", + "status_bar.background": "#fffdf5", + "title_bar.background": "#fffdf5", + "toolbar.background": "#fffdf5", + "tab_bar.background": "#fffdf5", + "tab.inactive_background": "#fffdf5", + "tab.active_background": "#fceccc", "search.match_background": "#fadaa0", - "panel.background": "#f4f4f4", + "panel.background": "#fffdf5", "panel.focused_border": "#db7070", "pane.focused_border": "#db7070", - "scrollbar_thumb.background": "#e7e7e7", + "scrollbar_thumb.background": "#fceccc", "scrollbar.thumb.hover_background": "#d69822", - "scrollbar.thumb.border": "#f4f4f4", - "scrollbar.track.background": "#f1f1f1", - "scrollbar.track.border": "#f4f4f4", - "editor.foreground": "#676767", - "editor.background": "#f4f4f4", - "editor.gutter.background": "#f4f4f4", - "editor.subheader.background": "#dddddd", - "editor.active_line.background": "#f4f4f4", - "editor.highlighted_line.background": "#d6f5f5f5", - "editor.line_number": "#676767", - "editor.active_line_number": "#676767", - "editor.invisible": "#aaaaaa", - "editor.wrap_guide": "#aaaaaa", - "editor.active_wrap_guide": "#e7e7e7", + "scrollbar.thumb.border": "#fceccc", + "scrollbar.track.background": "#fff9eb", + "scrollbar.track.border": "#fffdf5", + "editor.foreground": "#4a443d", + "editor.background": "#fffdf5", + "editor.gutter.background": "#fffdf5", + "editor.subheader.background": "#fceccc", + "editor.active_line.background": "#fffdf5", + "editor.highlighted_line.background": "#fff9eb", + "editor.line_number": "#4a443d", + "editor.active_line_number": "#4a443d", + "editor.invisible": "#776e63", + "editor.wrap_guide": "#776e63", + "editor.active_wrap_guide": "#d8cbbe", "editor.document_highlight.read_background": "#b870ce33", "editor.document_highlight.write_background": "#db707033", - "terminal.background": "#f4f4f4", - "terminal.foreground": "#676767", - "terminal.bright_foreground": "#525252", - "terminal.dim_foreground": "#8a8a8a", - "terminal.ansi.black": "#676767", - "terminal.ansi.bright_black": "#aaaaaa", - "terminal.ansi.dim_black": "#676767", + "terminal.background": "#fffdf5", + "terminal.foreground": "#4a443d", + "terminal.bright_foreground": "#2a261f", + "terminal.dim_foreground": "#776e63", + "terminal.ansi.black": "#4a443d", + "terminal.ansi.bright_black": "#776e63", + "terminal.ansi.dim_black": "#4a443d", "terminal.ansi.red": "#db7070", "terminal.ansi.bright_red": "#c66666", - "terminal.ansi.dim_red": "#8a8a8a", + "terminal.ansi.dim_red": "#776e63", "terminal.ansi.green": "#7c9f4b", "terminal.ansi.bright_green": "#6d8b42", - "terminal.ansi.dim_green": "#525252", + "terminal.ansi.dim_green": "#2a261f", "terminal.ansi.yellow": "#d69822", - "terminal.ansi.bright_yellow": "#e7e7e7", - "terminal.ansi.dim_yellow": "#aaaaaa", + "terminal.ansi.bright_yellow": "#d8cbbe", + "terminal.ansi.dim_yellow": "#776e63", "terminal.ansi.blue": "#6587bf", - "terminal.ansi.bright_blue": "#8a8a8a", - "terminal.ansi.dim_blue": "#676767", + "terminal.ansi.bright_blue": "#776e63", + "terminal.ansi.dim_blue": "#4a443d", "terminal.ansi.magenta": "#b870ce", "terminal.ansi.bright_magenta": "#a262b5", - "terminal.ansi.dim_magenta": "#525252", + "terminal.ansi.dim_magenta": "#2a261f", "terminal.ansi.cyan": "#509c93", "terminal.ansi.bright_cyan": "#43827b", - "terminal.ansi.dim_cyan": "#8a8a8a", - "terminal.ansi.white": "#676767", - "terminal.ansi.bright_white": "#525252", - "terminal.ansi.dim_white": "#8a8a8a", + "terminal.ansi.dim_cyan": "#776e63", + "terminal.ansi.white": "#4a443d", + "terminal.ansi.bright_white": "#2a261f", + "terminal.ansi.dim_white": "#776e63", "link_text.hover": "#509c933d", "conflict": "#db7070", "conflict.background": "#db707033",@@ -106,22 +106,22 @@ "deleted.border": "#db7070",
"error": "#db7070", "error.background": "#db707033", "error.border": "#db7070", - "hidden": "#525252", - "hidden.background": "#f4f4f4", - "hidden.border": "#aaaaaa", - "hint": "#676767", - "hint.background": "#67676733", - "hint.border": "#676767", - "ignored": "#676767", - "ignored.background": "#67676733", - "ignored.border": "#676767", + "hidden": "#2a261f", + "hidden.background": "#fffdf5", + "hidden.border": "#776e63", + "hint": "#4a443d", + "hint.background": "#4a443d33", + "hint.border": "#4a443d", + "ignored": "#4a443d", + "ignored.background": "#4a443d33", + "ignored.border": "#4a443d", "info": "#509c93", "info.background": "#509c9333", "info.border": "#509c93", "modified": "#7c9f4b", "modified.background": "#7c9f4b33", "modified.border": "#7c9f4b", - "predictive": "#777777", + "predictive": "#776e63", "predictive.background": "#d6982233", "predictive.border": "#d69822", "renamed": "#6587bf",@@ -140,7 +140,7 @@ "players": [
{ "cursor": "#509c93", "background": "#509c93", - "selection": "#dddddddd" + "selection": "#8e69d53d" }, { "cursor": "#b870ce",@@ -190,12 +190,12 @@ "font_style": "normal",
"font_weight": 600 }, "comment": { - "color": "#8a8a8a", + "color": "#776e63", "font_style": "italic", "font_weight": 400 }, "comment.doc": { - "color": "#8a8a8a", + "color": "#776e63", "font_style": "italic", "font_weight": 400 },@@ -205,12 +205,12 @@ "font_style": "normal",
"font_weight": 400 }, "function": { - "color": "#676767", + "color": "#4a443d", "font_style": "normal", "font_weight": 400 }, "keyword": { - "color": "#676767", + "color": "#4a443d", "font_style": "normal", "font_weight": 600 },@@ -225,22 +225,22 @@ "font_style": "normal",
"font_weight": 400 }, "variable": { - "color": "#676767", + "color": "#4a443d", "font_style": "normal", "font_weight": 400 }, "operator": { - "color": "#676767", + "color": "#4a443d", "font_style": "normal", "font_weight": 400 }, "type": { - "color": "#676767", + "color": "#4a443d", "font_style": "normal", "font_weight": 400 }, "punctuation": { - "color": "#525252", + "color": "#2a261f", "font_style": "normal", "font_weight": 400 },