r/webdev • • 24d ago

Showoff Saturday [Showoff Saturday] One Svelte codebase, four very different looks: a database client styled as a price sheet, a ledger, a drawing and a signal box

NiceDB is a desktop database client, but the part I think fits here is the styling. The interface has four styles built on the same components: a dense trading-floor price sheet, an account ledger with ruled paper, a technical drawing with a title block, and a railway signal box with enamel tiles and lamps. Each one has three palettes in light and dark.

Everything is plain CSS custom properties per style, with Svelte 5 components that don't know which style they're in. Fonts are IBM Plex and Source Serif 4.

You can switch styles in the browser demo on https://nicedb.app. Code is GPL-3.0: https://github.com/maxib0n/NiceDB

1 Upvotes

7 comments sorted by

4

u/BeautifulSelf9911 21d ago

These look nearly identical? What?

1

u/Low_Guard5883 19d ago

Fair, in thumbnails they’re close since the layout is the same on purpose. The difference is in type, rules and colour: easier to see if you switch them in the demo

4

u/african_cheetah 20d ago

Obviously vibe coded from the home page copy.

What’s your plan to maintain it long term?

-4

u/Low_Guard5883 19d ago

“Obviously” is doing a lot of work there. I use AI tools, like most people now. The design and the specs are mine, from years of working with these databases. I use it daily myself, so I keep it going with what I need.

1

u/CtrlShiftRo front-end 17d ago

So we should take “no long term plan at all” as your answer?

1

u/Low_Guard5883 17d ago

There’s a difference between having no plan and having no formal roadmap. I use it daily, and its maintenance and development naturally follow actual usage, feedback and evolving needs.