Menu

1 / 3

I built a Theme Studio where you plug a theme into a display and watch it stream in ⚡

DEV Community: react·Muhammad Ahmad·3 days ago
#ORBcMHAj
#devtoreact#devto#dev#theme#display
Reading 0:00
15s threshold

Hey everyone 👋

My portfolio has five themes: Classic, Terminal, Notebook, Midnight and Panorama. A dropdown would have been the easy way to switch between them.

I wanted switching themes to feel like plugging a cable into a screen . So I built a Theme Studio.

What you can do 🎮

Pick a theme from the row of cards, and it slides in under the display

Watch the display : it plays that theme's real page, live, and you can scroll it

Drag the display or a card around , and the wires follow on a spring

Hit Open : light races up the wires, a progress bar fills on the screen, and the theme opens

Press Esc mid-send to pull the plug

The wires 🔌

The connection isn't one line. It's a bundle of hairline strands , gold through orange, red and magenta to violet, pinched in the middle like a cable tie.

Every strand is its own curve. Each one is a cubic bezier from a point on the card's edge to a point on the display's edge, so the bundle fans out at both ends.

Light runs down it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.