From 90bca11717dc62df6c108e40fe59f1f8389abea9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Nov 2025 11:05:01 +0000 Subject: [PATCH] Add Svelte syntax highlighting support for Dark and Light themes Co-authored-by: emako <24737061+emako@users.noreply.github.com> --- .../Syntax/Dark/Svelte.xshd | 113 ++++++++++++++++++ .../Syntax/Light/Svelte.xshd | 113 ++++++++++++++++++ 2 files changed, 226 insertions(+) create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/Svelte.xshd create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Svelte.xshd diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/Svelte.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/Svelte.xshd new file mode 100644 index 0000000..217c078 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/Svelte.xshd @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + script + style + div + span + input + button + section + article + header + footer + main + nav + aside + p + h1 + h2 + h3 + ul + li + a + img + + + bind: + on: + use: + transition: + in: + out: + animate: + class: + style: + + + export + let + const + + + + + + + + + + + + import + export + default + return + const + let + var + if + else + for + while + function + async + await + new + this + true + false + null + undefined + each + if + else + await + then + catch + + + + + + + + + + + + + + + + + + + diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Svelte.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Svelte.xshd new file mode 100644 index 0000000..8e08aff --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/Svelte.xshd @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + script + style + div + span + input + button + section + article + header + footer + main + nav + aside + p + h1 + h2 + h3 + ul + li + a + img + + + bind: + on: + use: + transition: + in: + out: + animate: + class: + style: + + + export + let + const + + + + + + + + + + + + import + export + default + return + const + let + var + if + else + for + while + function + async + await + new + this + true + false + null + undefined + each + if + else + await + then + catch + + + + + + + + + + + + + + + + + + +