DEV Community

Martin Ruiz
Martin Ruiz

Posted on

I built a visual theme editor for Nuxt UI (stop editing CSS variables by hand)

๐Ÿšง The problem

If you've ever customized themes in Nuxt UI, you probably ended up doing something like this:

:root {
  --ui-primary: #ff5a1f;
  --ui-secondary: #00b8d9;
}
Enter fullscreen mode Exit fullscreen mode

It worksโ€ฆ but let's be honest:

  • โŒ Itโ€™s slow
  • โŒ Itโ€™s not visual
  • โŒ You have to constantly refresh to see changes
  • โŒ Hard to experiment with colors

I found myself tweaking values again and again just to get something that looks right.


๐Ÿ’ก The idea

I wanted a way to:

  • ๐ŸŽจ Change colors visually
  • โšก See updates instantly
  • ๐Ÿงฉ Work with tokens that map to CSS variables
  • ๐Ÿ“ฆ Export something usable in real projects

So I built a small tool for it.


๐Ÿš€ The solution

๐Ÿ‘‰ https://nuxtthemes.dev

A visual theme editor for Nuxt UI

What it does:

  • Live preview while editing tokens
  • Supports light & dark modes
  • Generates theme tokens you can map to CSS variables
  • No setup needed

๐Ÿงฉ How it fits with Nuxt UI

Nuxt UI themes are based on CSS variables.

This tool helps you visually define your color tokens, which you can then map to your CSS variables in your project.

So instead of guessing values manually, you can design them visually and plug them into your existing setup.

๐Ÿ‘‰ Design your theme visually, then plug it into your CSS variables.


๐ŸŽฌ Quick demo

Suggested flow:

  1. Change primary color
  2. UI updates instantly
  3. Copy/export tokens

๐Ÿง  Why I built it

Iโ€™m working a lot with Nuxt and component systems, and I realized that:

Most theme systems are powerfulโ€ฆ but not ergonomic.

Weโ€™re still editing raw CSS variables for something that is inherently visual.

This tool is my attempt to bridge that gap.


โš™๏ธ Tech stack

  • Nuxt 3
  • Nuxt UI
  • AI palette generation (powered by Gemini)

๐Ÿ”ฅ Whatโ€™s next

Iโ€™m thinking about adding:

  • Export as CSS variables
  • Shareable theme links
  • Community gallery
  • Nuxt module integration (nuxi module add ...)
  • More advanced token control

๐Ÿ™Œ Feedback welcome

This is still an early version, so Iโ€™d love to hear:

  • Whatโ€™s missing?
  • What feels confusing?
  • What would make this part of your workflow?

๐Ÿ‘‰ Try it

https://nuxtthemes.dev

If you find it useful, let me know ๐Ÿ™Œ

Top comments (0)