changing to templates for theme (zed config)

This commit is contained in:
2026-09-13 11:27:45 +02:00
parent 34351be613
commit b3d370b6e2
7 changed files with 762 additions and 762 deletions
@@ -0,0 +1,379 @@
{
"$schema": "https://zed.dev/schema/themes/v0.2.0.json",
"name": "{{ .theme.light.name }} Light",
"author": "Tinted Theming (https://github.com/tinted-theming) and {{ .theme.light.author }}",
"themes": [
{
"name": "{{ .theme.light.name }} Light",
"appearance": "{{ .theme.light.variant }}",
"style": {
"border": "#{{ .theme.light.palette.base02 }}ff",
"border.variant": "#{{ .theme.light.palette.base01 }}ff",
"border.focused": "#{{ .theme.light.palette.base0D }}ff",
"border.selected": "#{{ .theme.light.palette.base02 }}ff",
"border.transparent": "#00000000",
"border.disabled": "#{{ .theme.light.palette.base03 }}ff",
"elevated_surface.background": "#{{ .theme.light.palette.base01 }}ff",
"surface.background": "#{{ .theme.light.palette.base01 }}ff",
"background": "#{{ .theme.light.palette.base00 }}ff",
"element.background": "#{{ .theme.light.palette.base01 }}ff",
"element.hover": "#{{ .theme.light.palette.base02 }}ff",
"element.active": "#{{ .theme.light.palette.base02 }}ff",
"element.selected": "#{{ .theme.light.palette.base02 }}ff",
"element.disabled": "#{{ .theme.light.palette.base01 }}ff",
"drop_target.background": "#{{ .theme.light.palette.base03 }}80",
"ghost_element.background": "#00000000",
"ghost_element.hover": "#{{ .theme.light.palette.base02 }}ff",
"ghost_element.active": "#{{ .theme.light.palette.base02 }}ff",
"ghost_element.selected": "#{{ .theme.light.palette.base02 }}ff",
"ghost_element.disabled": "#{{ .theme.light.palette.base01 }}ff",
"text": "#{{ .theme.light.palette.base05 }}ff",
"text.muted": "#{{ .theme.light.palette.base04 }}ff",
"text.placeholder": "#{{ .theme.light.palette.base03 }}ff",
"text.disabled": "#{{ .theme.light.palette.base03 }}ff",
"text.accent": "#{{ .theme.light.palette.base0D }}ff",
"icon": "#{{ .theme.light.palette.base05 }}ff",
"icon.muted": "#{{ .theme.light.palette.base04 }}ff",
"icon.disabled": "#{{ .theme.light.palette.base03 }}ff",
"icon.placeholder": "#{{ .theme.light.palette.base04 }}ff",
"icon.accent": "#{{ .theme.light.palette.base0D }}ff",
"status_bar.background": "#{{ .theme.light.palette.base10 }}ff",
"title_bar.background": "#{{ .theme.light.palette.base10 }}ff",
"title_bar.inactive_background": "#{{ .theme.light.palette.base11 }}ff",
"toolbar.background": "#{{ .theme.light.palette.base00 }}ff",
"tab_bar.background": "#{{ .theme.light.palette.base01 }}ff",
"tab.inactive_background": "#{{ .theme.light.palette.base01 }}ff",
"tab.active_background": "#{{ .theme.light.palette.base00 }}ff",
"search.match_background": "#{{ .theme.light.palette.base0A }}66",
"search.active_match_background": "#{{ .theme.light.palette.base09 }}66",
"panel.background": "#{{ .theme.light.palette.base01 }}ff",
"panel.focused_border": null,
"pane.focused_border": null,
"scrollbar.thumb.background": "#{{ .theme.light.palette.base04 }}4c",
"scrollbar.thumb.hover_background": "#{{ .theme.light.palette.base02 }}ff",
"scrollbar.thumb.border": "#{{ .theme.light.palette.base02 }}ff",
"scrollbar.track.background": "#00000000",
"scrollbar.track.border": "#{{ .theme.light.palette.base01 }}ff",
"editor.foreground": "#{{ .theme.light.palette.base05 }}ff",
"editor.background": "#{{ .theme.light.palette.base00 }}ff",
"editor.gutter.background": "#{{ .theme.light.palette.base00 }}ff",
"editor.subheader.background": "#{{ .theme.light.palette.base01 }}ff",
"editor.active_line.background": "#{{ .theme.light.palette.base01 }}80",
"editor.highlighted_line.background": "#{{ .theme.light.palette.base01 }}ff",
"editor.line_number": "#{{ .theme.light.palette.base03 }}ff",
"editor.active_line_number": "#{{ .theme.light.palette.base05 }}ff",
"editor.hover_line_number": "#{{ .theme.light.palette.base04 }}ff",
"editor.invisible": "#{{ .theme.light.palette.base03 }}ff",
"editor.wrap_guide": "#{{ .theme.light.palette.base02 }}0d",
"editor.active_wrap_guide": "#{{ .theme.light.palette.base02 }}1a",
"editor.document_highlight.read_background": "#{{ .theme.light.palette.base0D }}1a",
"editor.document_highlight.write_background": "#{{ .theme.light.palette.base02 }}66",
"terminal.background": "#{{ .theme.light.palette.base00 }}ff",
"terminal.foreground": "#{{ .theme.light.palette.base05 }}ff",
"terminal.bright_foreground": "#{{ .theme.light.palette.base07 }}ff",
"terminal.dim_foreground": "#{{ .theme.light.palette.base03 }}ff",
"terminal.ansi.black": "#{{ .theme.light.palette.base00 }}ff",
"terminal.ansi.bright_black": "#{{ .theme.light.palette.base03 }}ff",
"terminal.ansi.dim_black": "#{{ .theme.light.palette.base00 }}ff",
"terminal.ansi.red": "#{{ .theme.light.palette.base08 }}ff",
"terminal.ansi.bright_red": "#{{ .theme.light.palette.base12 }}ff",
"terminal.ansi.dim_red": "#{{ .theme.light.palette.base08 }}bf",
"terminal.ansi.green": "#{{ .theme.light.palette.base0B }}ff",
"terminal.ansi.bright_green": "#{{ .theme.light.palette.base14 }}ff",
"terminal.ansi.dim_green": "#{{ .theme.light.palette.base0B }}bf",
"terminal.ansi.yellow": "#{{ .theme.light.palette.base0A }}ff",
"terminal.ansi.bright_yellow": "#{{ .theme.light.palette.base13 }}ff",
"terminal.ansi.dim_yellow": "#{{ .theme.light.palette.base0A }}bf",
"terminal.ansi.blue": "#{{ .theme.light.palette.base0D }}ff",
"terminal.ansi.bright_blue": "#{{ .theme.light.palette.base16 }}ff",
"terminal.ansi.dim_blue": "#{{ .theme.light.palette.base0D }}bf",
"terminal.ansi.magenta": "#{{ .theme.light.palette.base0E }}ff",
"terminal.ansi.bright_magenta": "#{{ .theme.light.palette.base17 }}ff",
"terminal.ansi.dim_magenta": "#{{ .theme.light.palette.base0E }}bf",
"terminal.ansi.cyan": "#{{ .theme.light.palette.base0C }}ff",
"terminal.ansi.bright_cyan": "#{{ .theme.light.palette.base15 }}ff",
"terminal.ansi.dim_cyan": "#{{ .theme.light.palette.base0C }}bf",
"terminal.ansi.white": "#{{ .theme.light.palette.base05 }}ff",
"terminal.ansi.bright_white": "#{{ .theme.light.palette.base07 }}ff",
"terminal.ansi.dim_white": "#{{ .theme.light.palette.base04 }}ff",
"link_text.hover": "#{{ .theme.light.palette.base0D }}ff",
"version_control.added": "#{{ .theme.light.palette.base0B }}ff",
"version_control.modified": "#{{ .theme.light.palette.base0A }}ff",
"version_control.word_added": "#{{ .theme.light.palette.base0B }}59",
"version_control.word_deleted": "#{{ .theme.light.palette.base08 }}cc",
"version_control.deleted": "#{{ .theme.light.palette.base08 }}ff",
"version_control.conflict_marker.ours": "#{{ .theme.light.palette.base0B }}1a",
"version_control.conflict_marker.theirs": "#{{ .theme.light.palette.base0D }}1a",
"conflict": "#{{ .theme.light.palette.base0A }}ff",
"conflict.background": "#{{ .theme.light.palette.base0A }}1a",
"conflict.border": "#{{ .theme.light.palette.base0A }}80",
"created": "#{{ .theme.light.palette.base0B }}ff",
"created.background": "#{{ .theme.light.palette.base0B }}1a",
"created.border": "#{{ .theme.light.palette.base0B }}80",
"deleted": "#{{ .theme.light.palette.base08 }}ff",
"deleted.background": "#{{ .theme.light.palette.base08 }}1a",
"deleted.border": "#{{ .theme.light.palette.base08 }}80",
"error": "#{{ .theme.light.palette.base08 }}ff",
"error.background": "#{{ .theme.light.palette.base08 }}1a",
"error.border": "#{{ .theme.light.palette.base08 }}80",
"hidden": "#{{ .theme.light.palette.base03 }}ff",
"hidden.background": "#{{ .theme.light.palette.base02 }}1a",
"hidden.border": "#{{ .theme.light.palette.base02 }}ff",
"hint": "#{{ .theme.light.palette.base0C }}ff",
"hint.background": "#{{ .theme.light.palette.base0C }}1a",
"hint.border": "#{{ .theme.light.palette.base0C }}80",
"ignored": "#{{ .theme.light.palette.base03 }}ff",
"ignored.background": "#{{ .theme.light.palette.base02 }}1a",
"ignored.border": "#{{ .theme.light.palette.base02 }}ff",
"info": "#{{ .theme.light.palette.base0D }}ff",
"info.background": "#{{ .theme.light.palette.base0D }}1a",
"info.border": "#{{ .theme.light.palette.base0D }}80",
"modified": "#{{ .theme.light.palette.base0A }}ff",
"modified.background": "#{{ .theme.light.palette.base0A }}1a",
"modified.border": "#{{ .theme.light.palette.base0A }}80",
"predictive": "#{{ .theme.light.palette.base03 }}ff",
"predictive.background": "#{{ .theme.light.palette.base03 }}1a",
"predictive.border": "#{{ .theme.light.palette.base03 }}80",
"renamed": "#{{ .theme.light.palette.base0D }}ff",
"renamed.background": "#{{ .theme.light.palette.base0D }}1a",
"renamed.border": "#{{ .theme.light.palette.base0D }}80",
"success": "#{{ .theme.light.palette.base0B }}ff",
"success.background": "#{{ .theme.light.palette.base0B }}1a",
"success.border": "#{{ .theme.light.palette.base0B }}80",
"unreachable": "#{{ .theme.light.palette.base04 }}ff",
"unreachable.background": "#{{ .theme.light.palette.base03 }}1a",
"unreachable.border": "#{{ .theme.light.palette.base03 }}ff",
"warning": "#{{ .theme.light.palette.base0A }}ff",
"warning.background": "#{{ .theme.light.palette.base0A }}1a",
"warning.border": "#{{ .theme.light.palette.base0A }}80",
"players": [
{ "cursor": "#{{ .theme.light.palette.base0D }}ff", "background": "#{{ .theme.light.palette.base0D }}20", "selection": "#{{ .theme.light.palette.base0D }}30" },
{ "cursor": "#{{ .theme.light.palette.base0E }}ff", "background": "#{{ .theme.light.palette.base0E }}20", "selection": "#{{ .theme.light.palette.base0E }}30" },
{ "cursor": "#{{ .theme.light.palette.base08 }}ff", "background": "#{{ .theme.light.palette.base08 }}20", "selection": "#{{ .theme.light.palette.base08 }}30" },
{ "cursor": "#{{ .theme.light.palette.base09 }}ff", "background": "#{{ .theme.light.palette.base09 }}20", "selection": "#{{ .theme.light.palette.base09 }}30" },
{ "cursor": "#{{ .theme.light.palette.base0A }}ff", "background": "#{{ .theme.light.palette.base0A }}20", "selection": "#{{ .theme.light.palette.base0A }}30" },
{ "cursor": "#{{ .theme.light.palette.base0B }}ff", "background": "#{{ .theme.light.palette.base0B }}20", "selection": "#{{ .theme.light.palette.base0B }}30" },
{ "cursor": "#{{ .theme.light.palette.base0C }}ff", "background": "#{{ .theme.light.palette.base0C }}20", "selection": "#{{ .theme.light.palette.base0C }}30" },
{ "cursor": "#{{ .theme.light.palette.base0F }}ff", "background": "#{{ .theme.light.palette.base0F }}20", "selection": "#{{ .theme.light.palette.base0F }}30" }
],
"syntax": {
"attribute": {
"color": "#{{ .theme.light.palette.base09 }}ff",
"font_style": null,
"font_weight": null
},
"boolean": {
"color": "#{{ .theme.light.palette.base09 }}ff",
"font_style": null,
"font_weight": null
},
"comment": {
"color": "#{{ .theme.light.palette.base03 }}ff",
"font_style": null,
"font_weight": null
},
"comment.doc": {
"color": "#{{ .theme.light.palette.base04 }}ff",
"font_style": null,
"font_weight": null
},
"constant": {
"color": "#{{ .theme.light.palette.base09 }}ff",
"font_style": null,
"font_weight": null
},
"constructor": {
"color": "#{{ .theme.light.palette.base0D }}ff",
"font_style": null,
"font_weight": null
},
"embedded": {
"color": "#{{ .theme.light.palette.base0F }}ff",
"font_style": null,
"font_weight": null
},
"emphasis": {
"color": "#{{ .theme.light.palette.base0E }}ff",
"font_style": "italic",
"font_weight": null
},
"emphasis.strong": {
"color": "#{{ .theme.light.palette.base0A }}ff",
"font_style": null,
"font_weight": 700
},
"enum": {
"color": "#{{ .theme.light.palette.base0C }}ff",
"font_style": null,
"font_weight": null
},
"function": {
"color": "#{{ .theme.light.palette.base0D }}ff",
"font_style": null,
"font_weight": null
},
"hint": {
"color": "#{{ .theme.light.palette.base03 }}ff",
"font_style": null,
"font_weight": null
},
"keyword": {
"color": "#{{ .theme.light.palette.base0E }}ff",
"font_style": null,
"font_weight": null
},
"label": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": null,
"font_weight": null
},
"link_text": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": "normal",
"font_weight": null
},
"link_uri": {
"color": "#{{ .theme.light.palette.base09 }}ff",
"font_style": null,
"font_weight": null
},
"namespace": {
"color": "#{{ .theme.light.palette.base0A }}ff",
"font_style": null,
"font_weight": null
},
"number": {
"color": "#{{ .theme.light.palette.base09 }}ff",
"font_style": null,
"font_weight": null
},
"operator": {
"color": "#{{ .theme.light.palette.base05 }}ff",
"font_style": null,
"font_weight": null
},
"predictive": {
"color": "#{{ .theme.light.palette.base03 }}ff",
"font_style": "italic",
"font_weight": null
},
"preproc": {
"color": "#{{ .theme.light.palette.base0F }}ff",
"font_style": null,
"font_weight": null
},
"primary": {
"color": "#{{ .theme.light.palette.base05 }}ff",
"font_style": null,
"font_weight": null
},
"property": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": null,
"font_weight": null
},
"punctuation": {
"color": "#{{ .theme.light.palette.base05 }}ff",
"font_style": null,
"font_weight": null
},
"punctuation.bracket": {
"color": "#{{ .theme.light.palette.base05 }}ff",
"font_style": null,
"font_weight": null
},
"punctuation.delimiter": {
"color": "#{{ .theme.light.palette.base05 }}ff",
"font_style": null,
"font_weight": null
},
"punctuation.list_marker": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": null,
"font_weight": null
},
"punctuation.markup": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": null,
"font_weight": null
},
"punctuation.special": {
"color": "#{{ .theme.light.palette.base0F }}ff",
"font_style": null,
"font_weight": null
},
"selector": {
"color": "#{{ .theme.light.palette.base0E }}ff",
"font_style": null,
"font_weight": null
},
"selector.pseudo": {
"color": "#{{ .theme.light.palette.base0C }}ff",
"font_style": null,
"font_weight": null
},
"string": {
"color": "#{{ .theme.light.palette.base0B }}ff",
"font_style": null,
"font_weight": null
},
"string.escape": {
"color": "#{{ .theme.light.palette.base0C }}ff",
"font_style": null,
"font_weight": null
},
"string.regex": {
"color": "#{{ .theme.light.palette.base0C }}ff",
"font_style": null,
"font_weight": null
},
"string.special": {
"color": "#{{ .theme.light.palette.base0C }}ff",
"font_style": null,
"font_weight": null
},
"string.special.symbol": {
"color": "#{{ .theme.light.palette.base0B }}ff",
"font_style": null,
"font_weight": null
},
"tag": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": null,
"font_weight": null
},
"text.literal": {
"color": "#{{ .theme.light.palette.base0B }}ff",
"font_style": null,
"font_weight": null
},
"title": {
"color": "#{{ .theme.light.palette.base0D }}ff",
"font_style": null,
"font_weight": 700
},
"type": {
"color": "#{{ .theme.light.palette.base0A }}ff",
"font_style": null,
"font_weight": null
},
"variable": {
"color": "#{{ .theme.light.palette.base08 }}ff",
"font_style": null,
"font_weight": null
},
"variable.special": {
"color": "#{{ .theme.light.palette.base09 }}ff",
"font_style": null,
"font_weight": null
},
"variant": {
"color": "#{{ .theme.light.palette.base0D }}ff",
"font_style": null,
"font_weight": null
}
}
}
}
]
}