<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nathalie Maes</title>
    <description>The latest articles on DEV Community by Nathalie Maes (@nathaliem).</description>
    <link>https://dev.to/nathaliem</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4272452%2F1dff221b-66a8-48c4-8178-042c4e2cdcdb.jpg</url>
      <title>DEV Community: Nathalie Maes</title>
      <link>https://dev.to/nathaliem</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nathaliem"/>
    <language>en</language>
    <item>
      <title>I built a tool to shuffle your own VS Code theme (and take it to any editor)</title>
      <dc:creator>Nathalie Maes</dc:creator>
      <pubDate>Sun, 29 Nov 2026 14:40:06 +0000</pubDate>
      <link>https://dev.to/nathaliem/i-built-a-tool-to-shuffle-your-own-vs-code-theme-and-take-it-to-any-editor-53pe</link>
      <guid>https://dev.to/nathaliem/i-built-a-tool-to-shuffle-your-own-vs-code-theme-and-take-it-to-any-editor-53pe</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Shuffle a readable palette, lock what you like and tune 15 roles. Export a .vsix, or the same theme for Zed, Neovim, JetBrains and your terminal. Free, in-browser.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I've wanted my own VS Code color theme for years. Every time I tried, I gave up somewhere in the JSON.&lt;/p&gt;

&lt;p&gt;A VS Code theme has hundreds of workbench keys plus a list of TextMate scopes. You change &lt;code&gt;editor.background&lt;/code&gt;, then notice the tab bar, the sidebar, the hover widget and the peek view all still look like the old theme. You pick a lovely purple for keywords, and a week later you realise comments are unreadable in a sunny room. And if you also use a terminal, Neovim or a JetBrains IDE, you start over for each one.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://syntaxhue.dev" rel="noopener noreferrer"&gt;SyntaxHue&lt;/a&gt;&lt;/strong&gt;: make a VS Code theme in minutes, keep every color readable, then take it to whatever editor you use.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkybxcgj1qk5xd05yx4oe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkybxcgj1qk5xd05yx4oe.png" alt="SyntaxHue: the role list on the left, a VS Code preview on the right" width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Shuffle.&lt;/strong&gt; Press Shuffle (or the space bar) and you get a complete theme, dark or light. Palettes come from a few hues and a chroma level in the OKLCH color space, with harmonies such as analogous or complementary. Every shuffle is readable from the start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Lock what you like.&lt;/strong&gt; Found a keyword color you love? Lock it and shuffle the rest. Repeat until the whole thing feels right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Tune by role, not by key.&lt;/strong&gt; Instead of hundreds of keys, you edit 15 roles: background, text, accent, comments, keyword, string, function, type, variable, number, operator, error, warning, info and success. The rest of the workbench (tabs, sidebar, status bar, diff colors, terminal ANSI colors and so on) is derived from those. Four "vibe" sliders (contrast, saturation, warmth and depth) shift the whole palette at once, without touching the colors you locked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Check it in a real-looking preview.&lt;/strong&gt; The preview is a mock VS Code window that highlights code with the same TextMate grammars VS Code uses (through Shiki), in TypeScript, Python, Rust, Go, HTML, CSS, JSON and Markdown. Click anything in it, a string, a line number, the status bar, and you jump to the color behind it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Export.&lt;/strong&gt; Paste a &lt;code&gt;settings.json&lt;/code&gt; snippet to try it right away, download a &lt;code&gt;*-color-theme.json&lt;/code&gt;, or get a ready-to-publish &lt;code&gt;.vsix&lt;/code&gt; extension.&lt;/p&gt;

&lt;h2&gt;
  
  
  Readable by default
&lt;/h2&gt;

&lt;p&gt;This is the part I care about most. Every text role has a WCAG contrast minimum against the background: 4.5:1 for code and UI text, 3:1 for comments (they're meant to step back, but not disappear). You can see the ratio next to each color as you edit. If a color drops below its minimum, the app flags it and offers a one-click fix that only changes lightness, so your hue stays the hue you picked.&lt;/p&gt;

&lt;p&gt;The accent is the one exception: it's used for things like the status bar and buttons, not for text, so it's never flagged.&lt;/p&gt;

&lt;p&gt;There's also a check that syntax colors stay far enough apart from each other, and from the error color, so a string never looks like a squiggle.&lt;/p&gt;

&lt;h2&gt;
  
  
  One theme, every editor
&lt;/h2&gt;

&lt;p&gt;VS Code was where I started, but I wanted one theme to follow me everywhere. Since everything comes from the same 15 roles, SyntaxHue can export the same theme for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Editors:&lt;/strong&gt; Zed, Sublime Text, Neovim, JetBrains IDEs, plus a plain palette JSON&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Terminals:&lt;/strong&gt; Windows Terminal, iTerm2, Ghostty, Alacritty, Kitty, WezTerm, Warp and macOS Terminal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each port is tested for the same contrast minimums in its own color mapping.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other bits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Import&lt;/strong&gt; an existing VS Code theme and use it as a starting point.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Library:&lt;/strong&gt; save themes in your browser, rename, duplicate, delete (with undo instead of "are you sure?").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Share as a link.&lt;/strong&gt; The whole theme lives in the URL hash, so nothing is stored on a server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Private.&lt;/strong&gt; It runs in your browser, with no account and nothing uploaded. The one exception is opt-in: a share link with a preview image for chat apps sends the theme to the server to draw that image.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Under the hood
&lt;/h2&gt;

&lt;p&gt;For the curious: it's React and TypeScript, built with Vite. The core is a pure TypeScript engine with no React in it: color math (OKLCH, WCAG), theme generation, deriving VS Code keys from roles, and one file per export target behind a shared interface. A theme is just 15 roles plus four vibe sliders; every output is derived from that, so a fix in the engine reaches every export.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;.vsix&lt;/code&gt; is built in the browser too (it's a zip with a manifest), and CI compares it with the output of Microsoft's official &lt;code&gt;vsce&lt;/code&gt; packager to make sure VS Code accepts it.&lt;/p&gt;

&lt;p&gt;The code is MIT-licensed on &lt;a href="https://github.com/nathaliem/syntaxhue" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;, and contributions are welcome. New export targets and language samples are good first ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://syntaxhue.dev" rel="noopener noreferrer"&gt;syntaxhue.dev&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you make a theme, drop the share link in the comments. I'd love to see what you come up with.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;SyntaxHue isn't affiliated with Microsoft or Visual Studio Code.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>vscode</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
