Answer: You can customize how directives and modifiers appear in attributes by modifying the syntax theme settings: use "attribute.function" for directives (e.g., `class:foo` or `on:click`) and "attribute.special" for modifiers at the end of attributes (e.g., `on:`), setting a color for each. Status: Overdue (check was due 2026-11-20T13:43:28Z and has not succeeded) Entry: tool/zed/settings/svelte-theme-styling-directives Revision: 1 Digest: sha256:1ade3455fc0c2a4c (changes whenever the content changes) Timeline: Created: 2026-11-13T04:05:00Z Last changed: 2026-11-13T04:05:00Z Last verified: 2026-11-19T13:43:28Z Next check: 2026-11-20T13:43:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Directive styling key | attribute.function | [1] | 2026-11-19 Directive color example | #ff0000 | [1] | 2026-11-19 Modifier styling key | attribute.special | [1] | 2026-11-19 Modifier color example | #00ff00 | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/svelte.md". https://zed.dev/docs/languages/svelte.md Role: primary. Accessed: 2026-11-19T13:43:28Z Quote: ""attribute.function": {" (Supports: Directive styling key) Quote: ""color": "#ff0000"" (Supports: Directive color example) Quote: ""attribute.special": {" (Supports: Modifier styling key) Quote: ""color": "#00ff00"" (Supports: Modifier color example) Snapshot SHA-256: 3027d200f50e305dfc5d7f8280301a61b506d8d52904105c59813a5ec069a347 (captured 2026-11-13T04:05:00Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:05:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:43:28Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:43:28Z Last attempt: 2026-11-19T13:43:28Z Notes and limitations: Extracted automatically from a single official source (section "Extra theme styling configuration"). Human-readable page: https://zed.dev/docs/languages/svelte.html Related: https://latestn.com/tool/zed/settings/switch-csharp-language-server How do I switch Zed's C# language server from Roslyn to csharp-ls or OmniSharp? https://latestn.com/tool/zed/settings/switch-erlang-language-server How do I switch the Erlang language server in Zed from erlang_ls to elp? https://latestn.com/tool/zed/settings/switch-typescript-language-server How do I switch Zed's TypeScript language server from vtsls to typescript-language-server? https://latestn.com/tool/zed/settings/snippet-scope-filenames What filename should I use for a Zed snippet file for a given language scope? https://latestn.com/tool/zed/settings/snippets-folder-location Where are Zed snippet files stored on disk? https://latestn.com/tool/zed/settings/svelte-inlay-hints How do I enable inlay hints for Svelte in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:05:00Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/svelte-theme-styling-directives/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/svelte-theme-styling-directives POST: https://latestn.com/dispute/tool/zed/settings/svelte-theme-styling-directives with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/svelte-theme-styling-directives?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I customize the theme styling for Svelte directives and modifiers in Zed? Revision 1, last verified 2026-11-19T13:43:28Z. https://latestn.com/tool/zed/settings/svelte-theme-styling-directives (accessed 2026-11-21T09:58:23Z). @misc{LatestN_tool_zed_settings_svelte_theme_styling_directives_r1, title = {How do I customize the theme styling for Svelte directives and modifiers in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/svelte-theme-styling-directives}}, note = {Revision 1; digest sha256:1ade3455fc0c2a4c; last verified 2026-11-19T13:43:28Z; accessed 2026-11-21T09:58:23Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/svelte-theme-styling-directives