Darkmatter
tweakcnApache-2.0Light and dark · bothMedium · mediumOrange · orangeVivid · vividMono · monoGeneral · generalLanding · landingProfessional · professional
A theme based on the Darkmatter color palette.
NNorthwind
Product · PricingSpecimen
Make the work feel finished
One interface, dressed in this style. Compare type, color, radius, and density.
128
Active
4.8
Score
12ms
Edge
Attribution
"Darkmatter" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9.
https://github.com/jnsahaj/tweakcn · r/themes/darkmatter.json · a3b47b37cba9 · © jnsahaj
Prompt
Design a user interface in the "Darkmatter" style. A theme based on the Darkmatter color palette. Apply these tokens to every surface. Do not invent a second palette. - Background oklch(1.0000 0 0), foreground oklch(0.2101 0.0318 264.6645) - Primary oklch(0.6716 0.1368 48.5130) on oklch(1.0000 0 0) - Accent oklch(0.9491 0 0), muted oklch(0.9670 0.0029 264.5419), border oklch(0.9276 0.0058 264.5313) - Radius 0.75rem, type Geist Mono, ui-monospace, monospace - Shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04) "Darkmatter" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9. powered by Styledex — https://styledex.dev
Tokens
DTCG
{
"$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
"$description": "Darkmatter. \"Darkmatter\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9.",
"$extensions": {
"dev.styledex": {
"id": "tweakcn-darkmatter",
"license": "Apache-2.0",
"attribution": "\"Darkmatter\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9.",
"banner": "powered by Styledex — https://styledex.dev"
}
},
"color": {
"background": {
"$type": "color",
"$value": "oklch(1.0000 0 0)"
},
"foreground": {
"$type": "color",
"$value": "oklch(0.2101 0.0318 264.6645)"
},
"card": {
"$type": "color",
"$value": "oklch(1.0000 0 0)"
},
"card-foreground": {
"$type": "color",
"$value": "oklch(0.2101 0.0318 264.6645)"
},
"primary": {
"$type": "color",
"$value": "oklch(0.6716 0.1368 48.5130)"
},
"primary-foreground": {
"$type": "color",
"$value": "oklch(1.0000 0 0)"
},
"secondary": {
"$type": "color",
"$value": "oklch(0.5360 0.0398 196.0280)"
},
"secondary-foreground": {
"$type": "color",
"$value": "oklch(1.0000 0 0)"
},
"accent": {
"$type": "color",
"$value": "oklch(0.9491 0 0)"
},
"accent-foreground": {
"$type": "color",
"$value": "oklch(0.2101 0.0318 264.6645)"
},
"muted": {
"$type": "color",
"$value": "oklch(0.9670 0.0029 264.5419)"
},
"muted-foreground": {
"$type": "color",
"$value": "oklch(0.5510 0.0234 264.3637)"
},
"border": {
"$type": "color",
"$value": "oklch(0.9276 0.0058 264.5313)"
},
"destructive": {
"$type": "color",
"$value": "oklch(0.6368 0.2078 25.3313)"
},
"ring": {
"$type": "color",
"$value": "oklch(0.6716 0.1368 48.5130)"
}
},
"font": {
"sans": {
"$type": "fontFamily",
"$value": [
"Geist Mono",
"ui-monospace",
"monospace"
]
},
"serif": {
"$type": "fontFamily",
"$value": [
"serif"
]
},
"mono": {
"$type": "fontFamily",
"$value": [
"JetBrains Mono",
"monospace"
]
}
},
"radius": {
"base": {
"$type": "dimension",
"$value": "0.75rem"
}
},
"spacing": {
"base": {
"$type": "dimension",
"$value": "0.25rem"
}
},
"shadow": {
"base": {
"$type": "shadow",
"$value": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
}
},
"dark": {
"color": {
"background": {
"$type": "color",
"$value": "oklch(0.1797 0.0043 308.1928)"
},
"foreground": {
"$type": "color",
"$value": "oklch(0.8109 0 0)"
},
"card": {
"$type": "color",
"$value": "oklch(0.1822 0 0)"
},
"card-foreground": {
"$type": "color",
"$value": "oklch(0.8109 0 0)"
},
"primary": {
"$type": "color",
"$value": "oklch(0.7214 0.1337 49.9802)"
},
"primary-foreground": {
"$type": "color",
"$value": "oklch(0.1797 0.0043 308.1928)"
},
"secondary": {
"$type": "color",
"$value": "oklch(0.5940 0.0443 196.0233)"
},
"secondary-foreground": {
"$type": "color",
"$value": "oklch(0.1797 0.0043 308.1928)"
},
"accent": {
"$type": "color",
"$value": "oklch(0.3211 0 0)"
},
"accent-foreground": {
"$type": "color",
"$value": "oklch(0.8109 0 0)"
},
"muted": {
"$type": "color",
"$value": "oklch(0.2520 0 0)"
},
"muted-foreground": {
"$type": "color",
"$value": "oklch(0.6268 0 0)"
},
"border": {
"$type": "color",
"$value": "oklch(0.2520 0 0)"
},
"destructive": {
"$type": "color",
"$value": "oklch(0.5940 0.0443 196.0233)"
},
"ring": {
"$type": "color",
"$value": "oklch(0.7214 0.1337 49.9802)"
}
}
}
}
CSS
/* powered by Styledex — https://styledex.dev */
/* "Darkmatter" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9. */
:root {
--background: oklch(1.0000 0 0);
--foreground: oklch(0.2101 0.0318 264.6645);
--card: oklch(1.0000 0 0);
--card-foreground: oklch(0.2101 0.0318 264.6645);
--primary: oklch(0.6716 0.1368 48.5130);
--primary-foreground: oklch(1.0000 0 0);
--secondary: oklch(0.5360 0.0398 196.0280);
--secondary-foreground: oklch(1.0000 0 0);
--accent: oklch(0.9491 0 0);
--accent-foreground: oklch(0.2101 0.0318 264.6645);
--muted: oklch(0.9670 0.0029 264.5419);
--muted-foreground: oklch(0.5510 0.0234 264.3637);
--border: oklch(0.9276 0.0058 264.5313);
--destructive: oklch(0.6368 0.2078 25.3313);
--ring: oklch(0.6716 0.1368 48.5130);
--radius: 0.75rem;
--font-sans: Geist Mono, ui-monospace, monospace;
--font-serif: serif;
--font-mono: JetBrains Mono, monospace;
--spacing: 0.25rem;
--shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
.dark {
--background: oklch(0.1797 0.0043 308.1928);
--foreground: oklch(0.8109 0 0);
--card: oklch(0.1822 0 0);
--card-foreground: oklch(0.8109 0 0);
--primary: oklch(0.7214 0.1337 49.9802);
--primary-foreground: oklch(0.1797 0.0043 308.1928);
--secondary: oklch(0.5940 0.0443 196.0233);
--secondary-foreground: oklch(0.1797 0.0043 308.1928);
--accent: oklch(0.3211 0 0);
--accent-foreground: oklch(0.8109 0 0);
--muted: oklch(0.2520 0 0);
--muted-foreground: oklch(0.6268 0 0);
--border: oklch(0.2520 0 0);
--destructive: oklch(0.5940 0.0443 196.0233);
--ring: oklch(0.7214 0.1337 49.9802);
--radius: 0.75rem;
--font-sans: Geist Mono, ui-monospace, monospace;
--font-serif: serif;
--font-mono: JetBrains Mono, monospace;
--spacing: 0.25rem;
--shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
Tailwind
/* powered by Styledex — https://styledex.dev */
/* "Darkmatter" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9. */
/** Tailwind theme extend for Darkmatter (tweakcn-darkmatter) */
module.exports = {
"theme": {
"extend": {
"colors": {
"background": "oklch(1.0000 0 0)",
"foreground": "oklch(0.2101 0.0318 264.6645)",
"card": "oklch(1.0000 0 0)",
"primary": "oklch(0.6716 0.1368 48.5130)",
"primary-foreground": "oklch(1.0000 0 0)",
"secondary": "oklch(0.5360 0.0398 196.0280)",
"accent": "oklch(0.9491 0 0)",
"muted": "oklch(0.9670 0.0029 264.5419)",
"border": "oklch(0.9276 0.0058 264.5313)",
"destructive": "oklch(0.6368 0.2078 25.3313)",
"ring": "oklch(0.6716 0.1368 48.5130)"
},
"borderRadius": {
"lg": "0.75rem"
},
"fontFamily": {
"sans": [
"Geist Mono",
"ui-monospace",
"monospace"
],
"serif": [
"serif"
],
"mono": [
"JetBrains Mono",
"monospace"
]
},
"boxShadow": {
"styledex": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
}
}
}
};
shadcn
/* powered by Styledex — https://styledex.dev */
/* "Darkmatter" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/darkmatter.json @ a3b47b37cba9. */
@layer base {
:root {
--background: oklch(1.0000 0 0);
--foreground: oklch(0.2101 0.0318 264.6645);
--card: oklch(1.0000 0 0);
--card-foreground: oklch(0.2101 0.0318 264.6645);
--primary: oklch(0.6716 0.1368 48.5130);
--primary-foreground: oklch(1.0000 0 0);
--secondary: oklch(0.5360 0.0398 196.0280);
--secondary-foreground: oklch(1.0000 0 0);
--accent: oklch(0.9491 0 0);
--accent-foreground: oklch(0.2101 0.0318 264.6645);
--muted: oklch(0.9670 0.0029 264.5419);
--muted-foreground: oklch(0.5510 0.0234 264.3637);
--border: oklch(0.9276 0.0058 264.5313);
--destructive: oklch(0.6368 0.2078 25.3313);
--ring: oklch(0.6716 0.1368 48.5130);
--radius: 0.75rem;
--font-sans: Geist Mono, ui-monospace, monospace;
--font-serif: serif;
--font-mono: JetBrains Mono, monospace;
--spacing: 0.25rem;
--shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
.dark {
--background: oklch(0.1797 0.0043 308.1928);
--foreground: oklch(0.8109 0 0);
--card: oklch(0.1822 0 0);
--card-foreground: oklch(0.8109 0 0);
--primary: oklch(0.7214 0.1337 49.9802);
--primary-foreground: oklch(0.1797 0.0043 308.1928);
--secondary: oklch(0.5940 0.0443 196.0233);
--secondary-foreground: oklch(0.1797 0.0043 308.1928);
--accent: oklch(0.3211 0 0);
--accent-foreground: oklch(0.8109 0 0);
--muted: oklch(0.2520 0 0);
--muted-foreground: oklch(0.6268 0 0);
--border: oklch(0.2520 0 0);
--destructive: oklch(0.5940 0.0443 196.0233);
--ring: oklch(0.7214 0.1337 49.9802);
--radius: 0.75rem;
--font-sans: Geist Mono, ui-monospace, monospace;
--font-serif: serif;
--font-mono: JetBrains Mono, monospace;
--spacing: 0.25rem;
--shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}