From 47ef9f0ca23359608e290e7d3fb8fa8a4636dab7 Mon Sep 17 00:00:00 2001 From: Krishan <54745129+krish-r@users.noreply.github.com> Date: Sun, 31 Mar 2024 19:30:14 +0530 Subject: [PATCH] add new theme keys for LSP diagnostic tags (#10064) --- runtime/themes/acme.toml | 2 ++ runtime/themes/adwaita-dark.toml | 2 ++ runtime/themes/amberwood.toml | 2 ++ runtime/themes/autumn.toml | 2 ++ runtime/themes/ayu_dark.toml | 2 ++ runtime/themes/ayu_light.toml | 2 ++ runtime/themes/ayu_mirage.toml | 2 ++ runtime/themes/bogster.toml | 2 ++ runtime/themes/bogster_light.toml | 2 ++ runtime/themes/boo_berry.toml | 2 ++ runtime/themes/catppuccin_mocha.toml | 2 ++ runtime/themes/curzon.toml | 2 ++ runtime/themes/cyan_light.toml | 2 ++ runtime/themes/darcula.toml | 2 ++ runtime/themes/dark_high_contrast.toml | 2 ++ runtime/themes/doom_acario_dark.toml | 2 ++ runtime/themes/dracula.toml | 2 ++ runtime/themes/dracula_at_night.toml | 3 +++ runtime/themes/emacs.toml | 2 ++ runtime/themes/everblush.toml | 2 ++ runtime/themes/everforest_dark.toml | 2 ++ runtime/themes/everforest_light.toml | 2 ++ runtime/themes/ferra.toml | 2 ++ runtime/themes/flatwhite.toml | 2 ++ runtime/themes/fleet_dark.toml | 2 ++ runtime/themes/flexoki_light.toml | 2 ++ runtime/themes/github_dark.toml | 2 ++ runtime/themes/github_light.toml | 2 ++ runtime/themes/gruber-darker.toml | 2 ++ runtime/themes/gruvbox.toml | 2 ++ runtime/themes/heisenberg.toml | 2 ++ runtime/themes/hex_steel.toml | 2 ++ runtime/themes/horizon-dark.toml | 2 ++ runtime/themes/ingrid.toml | 2 ++ runtime/themes/jellybeans.toml | 2 ++ runtime/themes/kanagawa.toml | 2 ++ runtime/themes/kaolin-dark.toml | 2 ++ runtime/themes/material_deep_ocean.toml | 3 +++ runtime/themes/meliora.toml | 2 ++ runtime/themes/mellow.toml | 2 ++ runtime/themes/merionette.toml | 2 ++ runtime/themes/modus_operandi.toml | 2 ++ runtime/themes/modus_vivendi.toml | 2 ++ runtime/themes/monokai.toml | 2 ++ runtime/themes/monokai_pro.toml | 2 ++ runtime/themes/monokai_pro_machine.toml | 2 ++ runtime/themes/monokai_pro_octagon.toml | 2 ++ runtime/themes/monokai_pro_ristretto.toml | 2 ++ runtime/themes/monokai_pro_spectrum.toml | 2 ++ runtime/themes/monokai_soda.toml | 2 ++ runtime/themes/naysayer.toml | 2 ++ runtime/themes/new_moon.toml | 2 ++ runtime/themes/night_owl.toml | 2 ++ runtime/themes/nightfox.toml | 2 ++ runtime/themes/noctis.toml | 2 ++ runtime/themes/noctis_bordo.toml | 2 ++ runtime/themes/nord.toml | 2 ++ runtime/themes/nord_light.toml | 2 ++ runtime/themes/onedark.toml | 2 ++ runtime/themes/onedarker.toml | 2 ++ runtime/themes/onelight.toml | 2 ++ runtime/themes/papercolor-light.toml | 2 ++ runtime/themes/penumbra+.toml | 2 ++ runtime/themes/poimandres.toml | 2 ++ runtime/themes/pop-dark.toml | 2 ++ runtime/themes/rasmus.toml | 2 ++ runtime/themes/rose_pine.toml | 2 ++ runtime/themes/serika-dark.toml | 2 ++ runtime/themes/serika-light.toml | 2 ++ runtime/themes/snazzy.toml | 3 +++ runtime/themes/solarized_dark.toml | 2 ++ runtime/themes/solarized_light.toml | 2 ++ runtime/themes/sonokai.toml | 2 ++ runtime/themes/spacebones_light.toml | 2 ++ runtime/themes/starlight.toml | 2 ++ runtime/themes/tokyonight.toml | 2 ++ runtime/themes/ttox.toml | 2 ++ runtime/themes/varua.toml | 2 ++ runtime/themes/vim_dark_high_contrast.toml | 2 ++ runtime/themes/voxed.toml | 2 ++ runtime/themes/yellowed.toml | 2 ++ runtime/themes/zed_onedark.toml | 2 ++ runtime/themes/zenburn.toml | 2 ++ 83 files changed, 169 insertions(+) diff --git a/runtime/themes/acme.toml b/runtime/themes/acme.toml index 650924741db9..195e06354f98 100644 --- a/runtime/themes/acme.toml +++ b/runtime/themes/acme.toml @@ -24,6 +24,8 @@ "diagnostic.error" = {bg="red", fg="white", modifiers=["bold"]} "diagnostic.warning" = {bg="orange", fg="black", modifiers=["bold"]} "diagnostic.hint" = {fg="gray", modifiers=["bold"]} +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "black", bg = "acme_bar_bg" } "ui.bufferline.active" = { fg = "black", bg = "acme_bg" } "diff.plus" = {fg = "green"} diff --git a/runtime/themes/adwaita-dark.toml b/runtime/themes/adwaita-dark.toml index 2ecfe08e00e1..e8f1a5887525 100644 --- a/runtime/themes/adwaita-dark.toml +++ b/runtime/themes/adwaita-dark.toml @@ -98,6 +98,8 @@ "diagnostic.info" = { fg = "purple_2", modifiers = ["dim"] } "diagnostic.error" = { fg = "red_4", modifiers = ["underlined"] } "diagnostic.warning" = { fg = "yellow_2", modifiers = ["underlined"] } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "dark_2", bg = "libadwaita_dark" } "ui.bufferline.active" = { fg = "light_4", bg = "libadwaita_dark_alt" } diff --git a/runtime/themes/amberwood.toml b/runtime/themes/amberwood.toml index 142ded369303..30b4169ab558 100644 --- a/runtime/themes/amberwood.toml +++ b/runtime/themes/amberwood.toml @@ -95,6 +95,8 @@ "ui.menu.scroll" = { fg = "gray04", bg = "gray01" } diagnostic = { modifiers = ["underlined"] } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "yellow" error = "error" diff --git a/runtime/themes/autumn.toml b/runtime/themes/autumn.toml index ce684a6a68bb..93ccf688e0a4 100644 --- a/runtime/themes/autumn.toml +++ b/runtime/themes/autumn.toml @@ -19,6 +19,8 @@ "diagnostic.info" = { underline = { style = "line" } } "diagnostic" = { underline = { style = "line", color = "my_gray5" }, bg = "my_black"} "diagnostic.warning" = { underline = { style = "curl", color = "my_yellow2" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "diff.delta" = "my_gray5" "diff.minus" = "my_red" "diff.plus" = "my_green" diff --git a/runtime/themes/ayu_dark.toml b/runtime/themes/ayu_dark.toml index 0b011b0eaf2f..ff6694e92d11 100644 --- a/runtime/themes/ayu_dark.toml +++ b/runtime/themes/ayu_dark.toml @@ -66,6 +66,8 @@ "diagnostic.info"= { underline = { color = "blue", style="curl"} } "diagnostic.warning"= { underline = { color = "yellow", style="curl"} } "diagnostic.error"= { underline = { color = "red", style="curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } "ui.debug" = { fg = "orange", bg = "background" } diff --git a/runtime/themes/ayu_light.toml b/runtime/themes/ayu_light.toml index 6c405381d044..d0eca78a137a 100644 --- a/runtime/themes/ayu_light.toml +++ b/runtime/themes/ayu_light.toml @@ -66,6 +66,8 @@ "diagnostic.info"= { underline = { color = "blue", style = "curl" } } "diagnostic.warning"= { underline = { color = "yellow", style = "curl" } } "diagnostic.error"= { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } "ui.debug" = { fg = "orange", bg = "background" } diff --git a/runtime/themes/ayu_mirage.toml b/runtime/themes/ayu_mirage.toml index a4b74fcfbd77..677a7af6f1d4 100644 --- a/runtime/themes/ayu_mirage.toml +++ b/runtime/themes/ayu_mirage.toml @@ -66,6 +66,8 @@ "diagnostic.info"= { underline = { color = "blue", style = "curl" } } "diagnostic.warning"= { underline = { color = "yellow", style = "curl" } } "diagnostic.error"= { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } "ui.debug" = { fg = "orange", bg = "background" } diff --git a/runtime/themes/bogster.toml b/runtime/themes/bogster.toml index 1ea13f1f528f..f7d08daa9914 100644 --- a/runtime/themes/bogster.toml +++ b/runtime/themes/bogster.toml @@ -77,6 +77,8 @@ "diagnostic.error" = { underline = { color = "bogster-lred", style = "curl"} } "diagnostic.info" = { underline = { color = "bogster-teal", style = "curl"} } "diagnostic.hint" = { underline = { color = "bogster-blue", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] bogster-yellow = "#dcb659" diff --git a/runtime/themes/bogster_light.toml b/runtime/themes/bogster_light.toml index e528d89d9e52..3259d6777cbe 100644 --- a/runtime/themes/bogster_light.toml +++ b/runtime/themes/bogster_light.toml @@ -77,6 +77,8 @@ "diagnostic.error" = { underline = { color = "bogster-lred", style = "curl"} } "diagnostic.info" = { underline = { color = "bogster-teal", style = "curl"} } "diagnostic.hint" = { underline = { color = "bogster-blue", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] bogster-orange = "#dc7759" diff --git a/runtime/themes/boo_berry.toml b/runtime/themes/boo_berry.toml index d3a3e22328f4..929bbc742d03 100644 --- a/runtime/themes/boo_berry.toml +++ b/runtime/themes/boo_berry.toml @@ -67,6 +67,8 @@ "diagnostic.error" = { underline = { color = "gold", style = "curl"} } "diagnostic.info" = { underline = { color = "lilac", style = "curl"} } "diagnostic.hint" = { underline = { color = "lilac", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] berry = "#3A2A4D" diff --git a/runtime/themes/catppuccin_mocha.toml b/runtime/themes/catppuccin_mocha.toml index 5fcb723172e3..58173dab15c3 100644 --- a/runtime/themes/catppuccin_mocha.toml +++ b/runtime/themes/catppuccin_mocha.toml @@ -116,6 +116,8 @@ "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.info" = { underline = { color = "sky", style = "curl" } } "diagnostic.hint" = { underline = { color = "teal", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "red" warning = "yellow" diff --git a/runtime/themes/curzon.toml b/runtime/themes/curzon.toml index 1303519fb610..d5a608f5f78a 100644 --- a/runtime/themes/curzon.toml +++ b/runtime/themes/curzon.toml @@ -75,6 +75,8 @@ label = "label" "diagnostic.info" = { underline = { color = "info", style = "curl" } } "diagnostic.warning" = { underline = { color = "warning", style = "curl" } } "diagnostic.error" = { underline = { color = "error", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "warning" error = "#f43f5e" diff --git a/runtime/themes/cyan_light.toml b/runtime/themes/cyan_light.toml index d8c93fe7e9e4..2ac57cd3249b 100644 --- a/runtime/themes/cyan_light.toml +++ b/runtime/themes/cyan_light.toml @@ -117,6 +117,8 @@ "diagnostic.info" = { underline = { color = "light_blue", style = "line" } } "diagnostic.warning" = { underline = { color = "orange", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] shade00 = "#f2f3f7" diff --git a/runtime/themes/darcula.toml b/runtime/themes/darcula.toml index b704d60ee79b..db6ce989dfcb 100644 --- a/runtime/themes/darcula.toml +++ b/runtime/themes/darcula.toml @@ -76,6 +76,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl"} } "diagnostic.info" = { underline = { color = "grey05", style = "curl"} } "diagnostic.hint" = { underline = { color = "grey05", style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = "grey05" "hint" = "grey05" diff --git a/runtime/themes/dark_high_contrast.toml b/runtime/themes/dark_high_contrast.toml index 51701cfce935..6da2389a601b 100644 --- a/runtime/themes/dark_high_contrast.toml +++ b/runtime/themes/dark_high_contrast.toml @@ -54,6 +54,8 @@ "diagnostic.hint" = { underline = { color = "yellow", style = "dashed" } } "diagnostic.warning" = { underline = { color = "orange", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = "white" "hint" = "yellow" "warning" = "orange" diff --git a/runtime/themes/doom_acario_dark.toml b/runtime/themes/doom_acario_dark.toml index 47f1dfca8bc7..5c4bd0dd87fb 100644 --- a/runtime/themes/doom_acario_dark.toml +++ b/runtime/themes/doom_acario_dark.toml @@ -78,6 +78,8 @@ 'diagnostic.error'= { underline = { color = 'red', style = "curl"} } 'diagnostic.info'= { underline = { color = 'blue', style = "curl"} } 'diagnostic.warning'= { underline = { color = 'yellow', style = "curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } 'special' = { fg = 'orange' } diff --git a/runtime/themes/dracula.toml b/runtime/themes/dracula.toml index 4e01bae2d2fa..c1a9a12bc84a 100644 --- a/runtime/themes/dracula.toml +++ b/runtime/themes/dracula.toml @@ -26,6 +26,8 @@ "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "cyan", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "error" = { fg = "red" } "hint" = { fg = "purple" } diff --git a/runtime/themes/dracula_at_night.toml b/runtime/themes/dracula_at_night.toml index b91bd00d0f82..55f2615398c1 100644 --- a/runtime/themes/dracula_at_night.toml +++ b/runtime/themes/dracula_at_night.toml @@ -49,6 +49,9 @@ "error" = { fg = "red" } "warning" = { fg = "cyan" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + "markup.heading" = { fg = "purple", modifiers = ["bold"] } "markup.list" = "cyan" "markup.bold" = { fg = "orange", modifiers = ["bold"] } diff --git a/runtime/themes/emacs.toml b/runtime/themes/emacs.toml index 513af60e165f..c60afe99e338 100644 --- a/runtime/themes/emacs.toml +++ b/runtime/themes/emacs.toml @@ -87,6 +87,8 @@ "diagnostic.warning" = { underline = { color = "dark_orange", style = "curl" } } "diagnostic.info" = { underline = { color = "forest_green", style = "curl" } } "diagnostic.hint" = { underline = { color = "dark_cyan", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] black = "#000000" diff --git a/runtime/themes/everblush.toml b/runtime/themes/everblush.toml index b49bf0494fa6..9c1fa062e880 100644 --- a/runtime/themes/everblush.toml +++ b/runtime/themes/everblush.toml @@ -79,6 +79,8 @@ "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.info" = { underline = { style = "curl", color = "blue" } } "diagnostic.hint" = { underline = { style = "curl", color = "green" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "special" = { fg = "red-light" } "markup.heading" = { fg = "blue", modifiers = ["bold"] } diff --git a/runtime/themes/everforest_dark.toml b/runtime/themes/everforest_dark.toml index a3083d539076..37b6756f5b97 100644 --- a/runtime/themes/everforest_dark.toml +++ b/runtime/themes/everforest_dark.toml @@ -111,6 +111,8 @@ "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] diff --git a/runtime/themes/everforest_light.toml b/runtime/themes/everforest_light.toml index cf39e23d62fd..b7448455ca22 100644 --- a/runtime/themes/everforest_light.toml +++ b/runtime/themes/everforest_light.toml @@ -110,6 +110,8 @@ "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] diff --git a/runtime/themes/ferra.toml b/runtime/themes/ferra.toml index 0734f2407836..212fb5105bdd 100644 --- a/runtime/themes/ferra.toml +++ b/runtime/themes/ferra.toml @@ -68,6 +68,8 @@ "diagnostic.error" = { underline = { color = "ferra_ember", style = "curl" } } "diagnostic.info" = { underline = { color = "ferra_blush", style = "curl" } } "diagnostic.hint" = { underline = { color = "ferra_blush", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] ferra_night = "#2b292d" diff --git a/runtime/themes/flatwhite.toml b/runtime/themes/flatwhite.toml index d833d5c66eae..cc8f536cbd86 100644 --- a/runtime/themes/flatwhite.toml +++ b/runtime/themes/flatwhite.toml @@ -25,6 +25,8 @@ "diagnostic.info" = { underline = { color = "orange_text", style = "curl" } } "diagnostic.warning" = { underline = { color = "orange_text", style = "curl" } } "diagnostic.error" = { underline = { color = "diff_delete", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "orange_text", bg = "orange_bg" } "hint" = { modifiers = ["bold"] } diff --git a/runtime/themes/fleet_dark.toml b/runtime/themes/fleet_dark.toml index b5ad1aa3ecc0..7fd26c1f8937 100644 --- a/runtime/themes/fleet_dark.toml +++ b/runtime/themes/fleet_dark.toml @@ -105,6 +105,8 @@ "diagnostic.info" = { underline = { color = "#A366C4", style = "line" } } "diagnostic.warning" = { underline = { color = "#FACB66", style = "line" } } "diagnostic.error" = { underline = { color = "#FF5269", style = "line" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] "White" = "#ffffff" diff --git a/runtime/themes/flexoki_light.toml b/runtime/themes/flexoki_light.toml index b506ab428e82..8badd922232c 100644 --- a/runtime/themes/flexoki_light.toml +++ b/runtime/themes/flexoki_light.toml @@ -30,6 +30,8 @@ "diagnostic.info" = { underline = { color = "bl", style = "curl" } } "diagnostic.warning" = { underline = { color = "ye", style = "curl" } } "diagnostic.error" = { underline = { color = "re", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "hint" = { fg = "bl", modifiers = ["bold"] } "info" = { fg = "ye", modifiers = ["bold"] } "warning" = { fg = "or", modifiers = ["bold"] } diff --git a/runtime/themes/github_dark.toml b/runtime/themes/github_dark.toml index 6b3354848c97..dafba559dbd3 100644 --- a/runtime/themes/github_dark.toml +++ b/runtime/themes/github_dark.toml @@ -78,6 +78,8 @@ label = "scale.red.3" "diagnostic.info" = { underline = { color = "accent.fg", style = "curl" } } "diagnostic.warning" = { underline = { color = "attention.fg", style = "curl" } } "diagnostic.error" = { underline = { color = "danger.fg", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } hint = "success.fg" info = "accent.fg" diff --git a/runtime/themes/github_light.toml b/runtime/themes/github_light.toml index e6912a987c60..cd3f1e5d16cd 100644 --- a/runtime/themes/github_light.toml +++ b/runtime/themes/github_light.toml @@ -78,6 +78,8 @@ label = "scale.red.5" "diagnostic.info" = { underline = { color = "accent.fg", style = "curl" } } "diagnostic.warning" = { underline = { color = "attention.fg", style = "curl" } } "diagnostic.error" = { underline = { color = "danger.fg", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } hint = "success.fg" info = "accent.fg" diff --git a/runtime/themes/gruber-darker.toml b/runtime/themes/gruber-darker.toml index 355a3be83e8b..4737f52f74e5 100644 --- a/runtime/themes/gruber-darker.toml +++ b/runtime/themes/gruber-darker.toml @@ -72,6 +72,8 @@ "diagnostic.error" = { underline = { color = "red3", style = "dashed" } } "diagnostic.info" = { underline = { color = "aqua1", style = "dashed" } } "diagnostic.hint" = { underline = { color = "blue0", style = "dashed" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "markup.heading" = { fg = "aqua1", modifiers = ["bold"] } "markup.bold" = { modifiers = ["bold"] } diff --git a/runtime/themes/gruvbox.toml b/runtime/themes/gruvbox.toml index 3c1dfc593725..a6b0636d3e9e 100644 --- a/runtime/themes/gruvbox.toml +++ b/runtime/themes/gruvbox.toml @@ -71,6 +71,8 @@ "diagnostic.error" = { underline = { color = "red1", style = "curl" } } "diagnostic.info" = { underline = { color = "aqua1", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue1", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "markup.heading" = "aqua1" "markup.bold" = { modifiers = ["bold"] } diff --git a/runtime/themes/heisenberg.toml b/runtime/themes/heisenberg.toml index 3c127a3e4bf9..9f8ca1832f10 100644 --- a/runtime/themes/heisenberg.toml +++ b/runtime/themes/heisenberg.toml @@ -63,6 +63,8 @@ "diagnostic.info" = { underline = {color = "crystal_blue", style = "curl" } } "diagnostic.warning" = { underline = {color = "vapor_yellow", style = "curl" } } "diagnostic.error" = { underline = {color = "chili_powder_red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "gray", bg = "background" } "ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } diff --git a/runtime/themes/hex_steel.toml b/runtime/themes/hex_steel.toml index c81df4097371..fb4fc1fd89de 100644 --- a/runtime/themes/hex_steel.toml +++ b/runtime/themes/hex_steel.toml @@ -64,6 +64,8 @@ "diagnostic.warning" = { underline = { color = "warning", style = "curl" } } "diagnostic.info" = { underline = { color = "info", style = "curl" } } "diagnostic.hint" = { underline = { color = "display", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "error" = { fg = "error", modifiers = ["bold"] } "warning" = { fg = "warning", modifiers = ["bold"] } diff --git a/runtime/themes/horizon-dark.toml b/runtime/themes/horizon-dark.toml index b879b432c656..64f4022d9f04 100644 --- a/runtime/themes/horizon-dark.toml +++ b/runtime/themes/horizon-dark.toml @@ -45,6 +45,8 @@ namespace = "orange" "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostics.error" = { underline = { color = "red", style = "curl" } } "diagnostics.warning" = { underline = { color = "orange", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = { fg = "orange", modifiers = ["bold"] } error = { fg = "red", modifiers = ["bold"] } diff --git a/runtime/themes/ingrid.toml b/runtime/themes/ingrid.toml index 8942c3ca2971..975f7a733c27 100644 --- a/runtime/themes/ingrid.toml +++ b/runtime/themes/ingrid.toml @@ -73,3 +73,5 @@ "diagnostic.error" = { underline = { color = "#D74E50", style = "curl" } } "diagnostic.info" = { underline = { color = "#839A53", style = "curl" } } "diagnostic.hint" = { underline = { color = "#A6B6CE", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } diff --git a/runtime/themes/jellybeans.toml b/runtime/themes/jellybeans.toml index 55088c298194..6f8c326f4262 100644 --- a/runtime/themes/jellybeans.toml +++ b/runtime/themes/jellybeans.toml @@ -99,6 +99,8 @@ "diagnostic.info" = { underline = { color = "blue_accent", style = "line" } } "diagnostic.warning" = { underline = { color = "yellow_accent", style = "line" } } "diagnostic.error" = { underline = { color = "red_error", style = "line" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] background = "#151515" diff --git a/runtime/themes/kanagawa.toml b/runtime/themes/kanagawa.toml index 4ec938f4183d..99cbed332a9b 100644 --- a/runtime/themes/kanagawa.toml +++ b/runtime/themes/kanagawa.toml @@ -52,6 +52,8 @@ "diagnostic.warning" = { underline = { color = "roninYellow", style = "curl" } } "diagnostic.info" = { underline = { color = "waveAqua1", style = "curl" } } "diagnostic.hint" = { underline = { color = "dragonBlue", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "samuraiRed" warning = "roninYellow" diff --git a/runtime/themes/kaolin-dark.toml b/runtime/themes/kaolin-dark.toml index b8188f7693de..d8c17391ce28 100644 --- a/runtime/themes/kaolin-dark.toml +++ b/runtime/themes/kaolin-dark.toml @@ -44,6 +44,8 @@ "diagnostic.warning" = { underline = { style = "curl", color = "warn" } } "diagnostic.info" = { underline = { style = "curl", color = "info" } } "diagnostic.hint" = { underline = { style = "curl", color = "hint" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "bg0" } "ui.linenr" = { fg = "gray0" } diff --git a/runtime/themes/material_deep_ocean.toml b/runtime/themes/material_deep_ocean.toml index 6cf4c0a6fcec..874731769d6c 100644 --- a/runtime/themes/material_deep_ocean.toml +++ b/runtime/themes/material_deep_ocean.toml @@ -95,6 +95,9 @@ error = "error" info = "blue" hint = "purple" +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + [palette] bg = "#0f111a" text = "#a6accd" diff --git a/runtime/themes/meliora.toml b/runtime/themes/meliora.toml index e7037e18d7a6..87f0cb092b54 100644 --- a/runtime/themes/meliora.toml +++ b/runtime/themes/meliora.toml @@ -58,6 +58,8 @@ "diagnostic.warning" = { underline = { color = "orange", style = "curl" } } "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "magenta", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "error" = { fg = "red" } "warning" = { fg = "orange" } diff --git a/runtime/themes/mellow.toml b/runtime/themes/mellow.toml index 16d7b60866b5..8ab66622f058 100644 --- a/runtime/themes/mellow.toml +++ b/runtime/themes/mellow.toml @@ -99,6 +99,8 @@ "diagnostic.error" = { underline = { color = "bright_red", style = "curl" } } "diagnostic.info" = { underline = { color = "bright_blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "bright_cyan", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "bright_yellow" error = "bright_red" diff --git a/runtime/themes/merionette.toml b/runtime/themes/merionette.toml index e4d5d67373c8..d8e7d7703681 100644 --- a/runtime/themes/merionette.toml +++ b/runtime/themes/merionette.toml @@ -63,6 +63,8 @@ "diagnostic.hint" = { underline = { color = "white0", style = "double_line" } } "diagnostic.info" = { underline = { color = "blue0", style = "double_line" } } "diagnostic.warning" = { underline = { color = "green1", style = "double_line" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "markup.bold" = { modifiers = ["bold"] } "markup.heading" = { fg = "orange1", modifiers = ["bold"] } diff --git a/runtime/themes/modus_operandi.toml b/runtime/themes/modus_operandi.toml index ad4b3c85a54c..e7599c018c0a 100644 --- a/runtime/themes/modus_operandi.toml +++ b/runtime/themes/modus_operandi.toml @@ -99,6 +99,8 @@ punctuation = "fg-dim" "diagnostic.warning" = { underline = { color = "yellow-intense", style = "curl" } } "diagnostic.info" = { underline = { color = "cyan-intense", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue-intense", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "red" warning = "yellow-warmer" diff --git a/runtime/themes/modus_vivendi.toml b/runtime/themes/modus_vivendi.toml index a44fbe0f7c6d..74974bcb2ce3 100644 --- a/runtime/themes/modus_vivendi.toml +++ b/runtime/themes/modus_vivendi.toml @@ -102,6 +102,8 @@ punctuation = "fg-dim" "diagnostic.warning" = { underline = { color = "yellow-intense", style = "curl" } } "diagnostic.info" = { underline = { color = "cyan-intense", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue-intense", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } error = "red" warning = "yellow-warmer" diff --git a/runtime/themes/monokai.toml b/runtime/themes/monokai.toml index bcb6c8d05f6b..a849ae96d2a9 100644 --- a/runtime/themes/monokai.toml +++ b/runtime/themes/monokai.toml @@ -96,6 +96,8 @@ "diagnostic.error" = { underline = { color = "#f48771", style = "curl" } } "diagnostic.info" = { underline = { color = "#75beff", style = "curl" } } "diagnostic.hint" = { underline = { color = "#eeeeb3", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] type = "#A6E22E" diff --git a/runtime/themes/monokai_pro.toml b/runtime/themes/monokai_pro.toml index 65a95a7d39a6..97f2a57c5c2c 100644 --- a/runtime/themes/monokai_pro.toml +++ b/runtime/themes/monokai_pro.toml @@ -100,6 +100,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_machine.toml b/runtime/themes/monokai_pro_machine.toml index 739418ceaeb2..e1f74b1cbeab 100644 --- a/runtime/themes/monokai_pro_machine.toml +++ b/runtime/themes/monokai_pro_machine.toml @@ -97,6 +97,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_octagon.toml b/runtime/themes/monokai_pro_octagon.toml index c88b327bdb18..cfa85b651b58 100644 --- a/runtime/themes/monokai_pro_octagon.toml +++ b/runtime/themes/monokai_pro_octagon.toml @@ -100,6 +100,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_ristretto.toml b/runtime/themes/monokai_pro_ristretto.toml index 6e1a0cb29187..a6ba6fcf31d7 100644 --- a/runtime/themes/monokai_pro_ristretto.toml +++ b/runtime/themes/monokai_pro_ristretto.toml @@ -97,6 +97,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_pro_spectrum.toml b/runtime/themes/monokai_pro_spectrum.toml index 89b131bea0f4..1bfcb688928e 100644 --- a/runtime/themes/monokai_pro_spectrum.toml +++ b/runtime/themes/monokai_pro_spectrum.toml @@ -97,6 +97,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "base8", style = "curl" } } "diagnostic.hint" = { underline = { color = "base8", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # markup highlight, no need for `markup.raw` and `markup.list`, make them to be default "markup.heading" = "green" diff --git a/runtime/themes/monokai_soda.toml b/runtime/themes/monokai_soda.toml index 84a846eb75ba..ca36d4e9393c 100644 --- a/runtime/themes/monokai_soda.toml +++ b/runtime/themes/monokai_soda.toml @@ -14,6 +14,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "pink" } } "diagnostic.warning" = { underline = { style = "curl", color = "orange" } } "diagnostic.info" = { underline = { style = "curl", color = "white" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } ## Diffs "diff.plus" = "green" diff --git a/runtime/themes/naysayer.toml b/runtime/themes/naysayer.toml index 41530d1416a9..d85f31e2db7c 100644 --- a/runtime/themes/naysayer.toml +++ b/runtime/themes/naysayer.toml @@ -25,6 +25,8 @@ "diagnostic.error" = { bg = "error", fg = "text", modifiers = ["bold"] } "diagnostic.warning" = { bg = "warning", fg = "text", modifiers = ["bold"] } "diagnostic.hint" = { bg = "cyan", modifiers = ["bold"] } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.bufferline" = { fg = "text", bg = "bg" } "ui.bufferline.active" = { fg = "text", bg = "bg", modifiers = ['underlined'] } "ui.gutter.selected" = { bg = "highlight-line", modifiers = ["bold"] } diff --git a/runtime/themes/new_moon.toml b/runtime/themes/new_moon.toml index 4f878c7e0fd7..2f0dbb0add69 100644 --- a/runtime/themes/new_moon.toml +++ b/runtime/themes/new_moon.toml @@ -96,6 +96,8 @@ "diagnostic.error".underline = { color = "red", style = "curl" } "diagnostic".underline = { color = "yellow", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] darkest = "#2d2d2d" diff --git a/runtime/themes/night_owl.toml b/runtime/themes/night_owl.toml index fc27dc7ccb4c..ed3c028913a3 100644 --- a/runtime/themes/night_owl.toml +++ b/runtime/themes/night_owl.toml @@ -10,6 +10,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "paleblue", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # UI 'ui.background' = { fg = 'foreground', bg = 'background' } diff --git a/runtime/themes/nightfox.toml b/runtime/themes/nightfox.toml index 3dfb4fce5527..62db82c0061a 100644 --- a/runtime/themes/nightfox.toml +++ b/runtime/themes/nightfox.toml @@ -76,6 +76,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } # Diagnostics error (editing area) "diagnostic.info" = { underline = { color = "blue", style = "curl" } } # Diagnostics info (editing area) "diagnostic.hint" = { underline = { color = "green", style = "curl" } } # Diagnostics hint (editing area) +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # SYNTAX HIGHLIGHTING diff --git a/runtime/themes/noctis.toml b/runtime/themes/noctis.toml index c9f95f7fe69a..db127229e59b 100644 --- a/runtime/themes/noctis.toml +++ b/runtime/themes/noctis.toml @@ -17,6 +17,8 @@ "diagnostic.error" = { underline = { color = "red", style = "curl" } } "diagnostic.info" = { underline = { color = "mid-blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "light-green", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # UI ============================== # For styling helix itself. diff --git a/runtime/themes/noctis_bordo.toml b/runtime/themes/noctis_bordo.toml index c3bbe79c9b2a..c5e04f2a11cd 100644 --- a/runtime/themes/noctis_bordo.toml +++ b/runtime/themes/noctis_bordo.toml @@ -59,6 +59,8 @@ "diagnostic.hint" = { underline = { color = "base03", style = "curl" } } "diagnostic.warning" = { underline = { color = "base09", style = "curl" } } "diagnostic.error" = { underline = { color = "base08", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.gutter" = { bg = "base01" } "info" = "base0D" diff --git a/runtime/themes/nord.toml b/runtime/themes/nord.toml index 0fe6db12fd2f..4916c3e84f5e 100644 --- a/runtime/themes/nord.toml +++ b/runtime/themes/nord.toml @@ -24,6 +24,8 @@ "info" = "nord8" "diagnostic.warning" = { underline = { color = "nord13", style = "curl" } } "warning" = "nord13" +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # Diffs "diff.delta" = "nord13" diff --git a/runtime/themes/nord_light.toml b/runtime/themes/nord_light.toml index 2d36cc806d85..6c27c507ae1d 100644 --- a/runtime/themes/nord_light.toml +++ b/runtime/themes/nord_light.toml @@ -35,6 +35,8 @@ "diagnostic.warning" = { underline = { color = "nord13", style = "curl" } } "diagnostic.info" = { underline = { color = "nord13", style = "curl" } } "diagnostic.hint" = { underline = { color = "nord13", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "constant.numeric" = {fg="nord15"} "constant.builtin" = {fg="nord15"} diff --git a/runtime/themes/onedark.toml b/runtime/themes/onedark.toml index 5b049aff9425..7cdeac0957a8 100644 --- a/runtime/themes/onedark.toml +++ b/runtime/themes/onedark.toml @@ -45,6 +45,8 @@ "diagnostic.hint".underline = { color = "green", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } "warning" = { fg = "yellow", modifiers = ["bold"] } diff --git a/runtime/themes/onedarker.toml b/runtime/themes/onedarker.toml index 307871445716..ffa3ae2dc573 100644 --- a/runtime/themes/onedarker.toml +++ b/runtime/themes/onedarker.toml @@ -46,6 +46,8 @@ "diagnostic.hint".underline = { color = "green", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } diff --git a/runtime/themes/onelight.toml b/runtime/themes/onelight.toml index 209f71ab6639..e395716dd048 100644 --- a/runtime/themes/onelight.toml +++ b/runtime/themes/onelight.toml @@ -163,6 +163,8 @@ "diagnostic.hint" = { underline = { color = "green", style = "dashed" } } "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } diff --git a/runtime/themes/papercolor-light.toml b/runtime/themes/papercolor-light.toml index 279fa2429964..246b0ddd85e2 100644 --- a/runtime/themes/papercolor-light.toml +++ b/runtime/themes/papercolor-light.toml @@ -49,6 +49,8 @@ "diagnostic.error".underline = { color = "bright1", style = "curl" } "diagnostic.info".underline = { color = "bright4", style = "curl" } "diagnostic.hint".underline = { color = "bright6", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } # Tree-sitter scopes for syntax highlighting "attribute" = "bright4" diff --git a/runtime/themes/penumbra+.toml b/runtime/themes/penumbra+.toml index bc53e82e07b0..728a80900b9a 100644 --- a/runtime/themes/penumbra+.toml +++ b/runtime/themes/penumbra+.toml @@ -47,6 +47,8 @@ error = "red" "diagnostic.info".underline = { color = "sky", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "shade" } "ui.background.separator" = "sky" diff --git a/runtime/themes/poimandres.toml b/runtime/themes/poimandres.toml index 5dbc799d58a2..c62c2ad27665 100644 --- a/runtime/themes/poimandres.toml +++ b/runtime/themes/poimandres.toml @@ -76,6 +76,8 @@ string = { fg = "brightMint" } "diagnostic.info" = { underline = { color = "lightBlue", style = "curl" } } "diagnostic.warning" = { underline = { color = "brightYellow", style = "curl" } } "diagnostic.error" = { underline = { color = "hotRed", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } hint = "lowerMint" info = "lightBlue" diff --git a/runtime/themes/pop-dark.toml b/runtime/themes/pop-dark.toml index 54db3d1b1036..66436c153979 100644 --- a/runtime/themes/pop-dark.toml +++ b/runtime/themes/pop-dark.toml @@ -12,6 +12,8 @@ error = { fg = 'redE', modifiers = ['bold'] } 'diagnostic.hint'.underline = { color = 'yellowH', style = 'curl' } 'diagnostic.warning'.underline = { color = 'orangeW', style = 'curl' } 'diagnostic.error'.underline = { color = 'redE', style = 'curl' } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } 'ui.background' = { bg = 'brownN' } 'ui.window' = { bg = 'brownH', fg = 'brownD' } 'ui.gutter' = { bg = 'brownU' } diff --git a/runtime/themes/rasmus.toml b/runtime/themes/rasmus.toml index a0b7e74d4118..a05ef633070b 100644 --- a/runtime/themes/rasmus.toml +++ b/runtime/themes/rasmus.toml @@ -107,6 +107,8 @@ "diagnostic.error".underline = { color = "bright_red", style = "curl" } "diagnostic.info".underline = { color = "bright_blue", style = "curl" } "diagnostic.hint".underline = { color = "bright_cyan", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "bright_yellow" error = "bright_red" diff --git a/runtime/themes/rose_pine.toml b/runtime/themes/rose_pine.toml index 27b7a630e71e..9a5ba450e92e 100644 --- a/runtime/themes/rose_pine.toml +++ b/runtime/themes/rose_pine.toml @@ -64,6 +64,8 @@ "diagnostic.info" = { underline = { color = "foam", style = "curl" } } "diagnostic.warning" = { underline = { color = "gold", style = "curl" } } "diagnostic.error" = { underline = { color = "love", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "special" = "rose" "attribute" = "iris" diff --git a/runtime/themes/serika-dark.toml b/runtime/themes/serika-dark.toml index d184197987d2..eb8d6c8399b9 100644 --- a/runtime/themes/serika-dark.toml +++ b/runtime/themes/serika-dark.toml @@ -63,6 +63,8 @@ "diagnostic.info" = { underline = { style = "curl", color = "aqua" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "nasty-red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "diff.plus" = { fg = "green" } "diff.delta" = { fg = "orange" } diff --git a/runtime/themes/serika-light.toml b/runtime/themes/serika-light.toml index 1e3901ef24ed..00fa84cbb5f7 100644 --- a/runtime/themes/serika-light.toml +++ b/runtime/themes/serika-light.toml @@ -63,6 +63,8 @@ "diagnostic.info" = { underline = { style = "curl", color = "aqua" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "nasty-red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "diff.plus" = { fg = "bg_green" } "diff.delta" = { fg = "bg_blue" } diff --git a/runtime/themes/snazzy.toml b/runtime/themes/snazzy.toml index eb88c5eb86b3..09d0cdd57b3d 100644 --- a/runtime/themes/snazzy.toml +++ b/runtime/themes/snazzy.toml @@ -79,6 +79,9 @@ "error" = { fg = "red" } "warning" = { fg = "cyan" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + "markup.heading" = { fg = "purple", modifiers = ["bold"] } "markup.link.label" = { fg = "blue", modifiers = ["italic"] } "markup.list" = "cyan" diff --git a/runtime/themes/solarized_dark.toml b/runtime/themes/solarized_dark.toml index 74f017a31bef..9e23aff25c13 100644 --- a/runtime/themes/solarized_dark.toml +++ b/runtime/themes/solarized_dark.toml @@ -109,6 +109,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "red" } } "diagnostic.info" = { underline = { style = "curl", color = "blue" } } "diagnostic.hint" = { underline = { style = "curl", color = "base01" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] # 深色 越来越深 diff --git a/runtime/themes/solarized_light.toml b/runtime/themes/solarized_light.toml index 02ca7bdc6c68..60a2a0e210f7 100644 --- a/runtime/themes/solarized_light.toml +++ b/runtime/themes/solarized_light.toml @@ -126,6 +126,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "red" } } "diagnostic.info" = { underline = { style = "curl", color = "blue" } } "diagnostic.hint" = { underline = { style = "curl", color = "base01" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] diff --git a/runtime/themes/sonokai.toml b/runtime/themes/sonokai.toml index 4bbdb4dbedf1..ebe1ae8d2eaa 100644 --- a/runtime/themes/sonokai.toml +++ b/runtime/themes/sonokai.toml @@ -85,6 +85,8 @@ error = { fg = 'red', bg = 'bg2', modifiers = ['bold'] } "diagnostic.hint" = { underline = { style = "curl", color = "blue" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } diff --git a/runtime/themes/spacebones_light.toml b/runtime/themes/spacebones_light.toml index ad2a04d5ab26..7870f67ca111 100644 --- a/runtime/themes/spacebones_light.toml +++ b/runtime/themes/spacebones_light.toml @@ -78,6 +78,8 @@ "diagnostic.error" = { underline = { style = "curl", color = "#e0211d" } } "diagnostic.info" = { underline = { style = "curl", color = "theme_yellow" } } "diagnostic.hint" = { underline = { style = "curl", color = "bg2" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] base = "#655370" diff --git a/runtime/themes/starlight.toml b/runtime/themes/starlight.toml index 09db90fd6f57..335d1493aa9b 100644 --- a/runtime/themes/starlight.toml +++ b/runtime/themes/starlight.toml @@ -85,6 +85,8 @@ "diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } "diagnostic.info" = { underline = { color = "blue", style = "curl" } } "diagnostic.hint" = { underline = { color = "blue", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = "blue" "hint" = "blue" diff --git a/runtime/themes/tokyonight.toml b/runtime/themes/tokyonight.toml index be7968575c83..38eb269dee5e 100644 --- a/runtime/themes/tokyonight.toml +++ b/runtime/themes/tokyonight.toml @@ -65,6 +65,8 @@ hint = { fg = "hint" } "diagnostic.warning" = { underline = { style = "curl", color = "yellow"} } "diagnostic.info" = { underline = { style = "curl", color = "info"} } "diagnostic.hint" = { underline = { style = "curl", color = "hint" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.background" = { bg = "bg", fg = "fg" } "ui.cursor" = { modifiers = ["reversed"] } diff --git a/runtime/themes/ttox.toml b/runtime/themes/ttox.toml index 16909cc7013e..0bc964b45847 100644 --- a/runtime/themes/ttox.toml +++ b/runtime/themes/ttox.toml @@ -29,3 +29,5 @@ "diagnostic.warning" = { fg = "black", bg = "light-yellow" } "diagnostic.error" = { fg = "black", bg = "light-red" } "diagnostic.hint" = { fg = "black", bg = "light-blue" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } diff --git a/runtime/themes/varua.toml b/runtime/themes/varua.toml index b07ab08dcd2d..1c6b5e863289 100644 --- a/runtime/themes/varua.toml +++ b/runtime/themes/varua.toml @@ -76,6 +76,8 @@ "diagnostic.info" = { underline = { style = "curl", color = "aqua" } } "diagnostic.warning" = { underline = { style = "curl", color = "yellow" } } "diagnostic.error" = { underline = { style = "curl", color = "red" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] bg0 = "#282828" diff --git a/runtime/themes/vim_dark_high_contrast.toml b/runtime/themes/vim_dark_high_contrast.toml index ecd6942b572e..4e2480dbad93 100644 --- a/runtime/themes/vim_dark_high_contrast.toml +++ b/runtime/themes/vim_dark_high_contrast.toml @@ -21,6 +21,8 @@ "diagnostic.warning" = { bg = "dark-yellow" } "diagnostic.hint" = { bg = "dark-cyan" } "diagnostic.info" = { bg = "dark-white" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "warning" = { fg = "yellow", bg = "dark-yellow" } "error" = { fg = "red", bg = "dark-red" } "info" = { fg = "default", bg = "dark-white" } diff --git a/runtime/themes/voxed.toml b/runtime/themes/voxed.toml index e55b46e5d329..c2be9afefe5f 100644 --- a/runtime/themes/voxed.toml +++ b/runtime/themes/voxed.toml @@ -75,6 +75,8 @@ label = "yellow" "diagnostic.info" = { underline = { color = "sglow", style = "curl" } } "diagnostic.warning" = { underline = { color = "redish", style = "curl" } } "diagnostic.error" = { underline = { color = "bpink", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } warning = "bpink" error = "bsienna" diff --git a/runtime/themes/yellowed.toml b/runtime/themes/yellowed.toml index 091b93eeb54f..d94a75fcbe77 100644 --- a/runtime/themes/yellowed.toml +++ b/runtime/themes/yellowed.toml @@ -111,6 +111,8 @@ "diagnostic.error" = { underline = { color = "error", style = "curl" } } "diagnostic.info" = { underline = { color = "info", style = "curl" } } "diagnostic.hint" = { underline = { color = "hint", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } [palette] # interface diff --git a/runtime/themes/zed_onedark.toml b/runtime/themes/zed_onedark.toml index 7ac1e73cc586..3eeabab30ef6 100644 --- a/runtime/themes/zed_onedark.toml +++ b/runtime/themes/zed_onedark.toml @@ -42,6 +42,8 @@ "diagnostic.hint".underline = { color = "green", style = "curl" } "diagnostic.warning".underline = { color = "yellow", style = "curl" } "diagnostic.error".underline = { color = "red", style = "curl" } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "info" = { fg = "blue", modifiers = ["bold"] } "hint" = { fg = "green", modifiers = ["bold"] } "warning" = { fg = "yellow", modifiers = ["bold"] } diff --git a/runtime/themes/zenburn.toml b/runtime/themes/zenburn.toml index 9a4a7abccf6a..27f941220dd5 100644 --- a/runtime/themes/zenburn.toml +++ b/runtime/themes/zenburn.toml @@ -45,6 +45,8 @@ "diagnostic" = {bg = "statusbg"} "diagnostic.error" = { fg = "errorfg", bg = "errorbg"} +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } "ui.gutter" = { bg = "statusbg" } "hint" = {fg = "numeric", bg = "statusbg"} "warning" = "numeric"