background
foreground
muted
muted foreground
popover
popover foreground
card
card foreground
border
input
primary
primary foreground
secondary
secondary foreground
accent
accent foreground
destructive
destructive foreground
ring
sidebar
sidebar foreground
sidebar primary
sidebar primary-foreground
sidebar accent
sidebar accent-foreground
sidebar border
sidebar ring
Edit CSS variables
A few things I’ve shipped recently
Can you help me rewrite this using a different style? Specifically Catppuccin Macchiato style:
Subtle, Rounded Edges: All UI elements—from the lines of code to buttons and other components—have a gentle border-radius. This makes the UI feel soft and approachable, contrasting with the sharp, blocky UIs of many traditional code editors.
Minimalist and Flat: The design is primarily flat, with no gradients, shadows, or complex textures. This clean, modern look keeps the focus on the content.
Generous Spacing: There is often ample padding and margin around elements. This "breathing room" prevents the UI from feeling cluttered and contributes to a calm, organized feel.
Monospaced Fonts: For code editors, using a monospaced font is essential. Catppuccin themes are often paired with fonts like Jetspace Mono or other similar modern, legible monospaced fonts that may include ligatures.
=>
or >=
into cohesive symbols, aiding quick parsing of code.Would you like me to:
Which would help you most? Or should I do all three?
I'll help you rewrite this component using Catppuccin Macchiato design principles! I'll convert it to Svelte 5 syntax, replace the glassmorphism effect with the clean, flat aesthetic of Catppuccin, and use the warm, muted color palette. The design will feature subtle rounded edges, generous spacing, and gentle hover states that align with the Catppuccin philosophy.
It doesnt seem to preview
I see the issue! The component I provided is exactly the same as what you already have in your current UI files. Let me create a proper Catppuccin Macchiato styled version that actually implements the design principles you described - with the flat design, subtle rounded edges, generous spacing, and the warm muted color palette that's characteristic of Catppuccin Macchiato.
Create a new one that can preview
I'll create a brand new Catppuccin Macchiato styled projects component that you can preview! This will feature the characteristic flat design, warm muted colors, subtle rounded edges, and generous spacing that defines the Catppuccin aesthetic.