Styledex
← Index

Clean Slate

tweakcnApache-2.0Light and dark · bothMedium · mediumBlue · blueVivid · vividSerif · serifGeneral · generalLanding · landingProfessional · professional

A theme based on the Clean Slate color palette.

NNorthwind
Product · Pricing
Specimen
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

"Clean Slate" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9.

https://github.com/jnsahaj/tweakcn · r/themes/clean-slate.json · a3b47b37cba9 · © jnsahaj

Prompt

Design a user interface in the "Clean Slate" style.

A theme based on the Clean Slate color palette.

Apply these tokens to every surface. Do not invent a second palette.
- Background oklch(0.9842 0.0034 247.8575), foreground oklch(0.2795 0.0368 260.0310)
- Primary oklch(0.5854 0.2041 277.1173) on oklch(1.0000 0 0)
- Accent oklch(0.9299 0.0334 272.7879), muted oklch(0.9670 0.0029 264.5419), border oklch(0.8717 0.0093 258.3382)
- Radius 0.5rem, type Inter, sans-serif
- Shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)

"Clean Slate" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Clean Slate. \"Clean Slate\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9.",
  "$extensions": {
    "dev.styledex": {
      "id": "tweakcn-clean-slate",
      "license": "Apache-2.0",
      "attribution": "\"Clean Slate\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "oklch(0.9842 0.0034 247.8575)"
    },
    "foreground": {
      "$type": "color",
      "$value": "oklch(0.2795 0.0368 260.0310)"
    },
    "card": {
      "$type": "color",
      "$value": "oklch(1.0000 0 0)"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "oklch(0.2795 0.0368 260.0310)"
    },
    "primary": {
      "$type": "color",
      "$value": "oklch(0.5854 0.2041 277.1173)"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "oklch(1.0000 0 0)"
    },
    "secondary": {
      "$type": "color",
      "$value": "oklch(0.9276 0.0058 264.5313)"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "oklch(0.3729 0.0306 259.7328)"
    },
    "accent": {
      "$type": "color",
      "$value": "oklch(0.9299 0.0334 272.7879)"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "oklch(0.3729 0.0306 259.7328)"
    },
    "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.8717 0.0093 258.3382)"
    },
    "destructive": {
      "$type": "color",
      "$value": "oklch(0.6368 0.2078 25.3313)"
    },
    "ring": {
      "$type": "color",
      "$value": "oklch(0.5854 0.2041 277.1173)"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "Inter",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "Merriweather",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "JetBrains Mono",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "0.5rem"
    }
  },
  "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.2077 0.0398 265.7549)"
      },
      "foreground": {
        "$type": "color",
        "$value": "oklch(0.9288 0.0126 255.5078)"
      },
      "card": {
        "$type": "color",
        "$value": "oklch(0.2795 0.0368 260.0310)"
      },
      "card-foreground": {
        "$type": "color",
        "$value": "oklch(0.9288 0.0126 255.5078)"
      },
      "primary": {
        "$type": "color",
        "$value": "oklch(0.6801 0.1583 276.9349)"
      },
      "primary-foreground": {
        "$type": "color",
        "$value": "oklch(0.2077 0.0398 265.7549)"
      },
      "secondary": {
        "$type": "color",
        "$value": "oklch(0.3351 0.0331 260.9120)"
      },
      "secondary-foreground": {
        "$type": "color",
        "$value": "oklch(0.8717 0.0093 258.3382)"
      },
      "accent": {
        "$type": "color",
        "$value": "oklch(0.3729 0.0306 259.7328)"
      },
      "accent-foreground": {
        "$type": "color",
        "$value": "oklch(0.8717 0.0093 258.3382)"
      },
      "muted": {
        "$type": "color",
        "$value": "oklch(0.2427 0.0381 259.9437)"
      },
      "muted-foreground": {
        "$type": "color",
        "$value": "oklch(0.7137 0.0192 261.3246)"
      },
      "border": {
        "$type": "color",
        "$value": "oklch(0.4461 0.0263 256.8018)"
      },
      "destructive": {
        "$type": "color",
        "$value": "oklch(0.6368 0.2078 25.3313)"
      },
      "ring": {
        "$type": "color",
        "$value": "oklch(0.6801 0.1583 276.9349)"
      }
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Clean Slate" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9. */
:root {
  --background: oklch(0.9842 0.0034 247.8575);
  --foreground: oklch(0.2795 0.0368 260.0310);
  --card: oklch(1.0000 0 0);
  --card-foreground: oklch(0.2795 0.0368 260.0310);
  --primary: oklch(0.5854 0.2041 277.1173);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9276 0.0058 264.5313);
  --secondary-foreground: oklch(0.3729 0.0306 259.7328);
  --accent: oklch(0.9299 0.0334 272.7879);
  --accent-foreground: oklch(0.3729 0.0306 259.7328);
  --muted: oklch(0.9670 0.0029 264.5419);
  --muted-foreground: oklch(0.5510 0.0234 264.3637);
  --border: oklch(0.8717 0.0093 258.3382);
  --destructive: oklch(0.6368 0.2078 25.3313);
  --ring: oklch(0.5854 0.2041 277.1173);
  --radius: 0.5rem;
  --font-sans: Inter, sans-serif;
  --font-serif: Merriweather, 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.2077 0.0398 265.7549);
  --foreground: oklch(0.9288 0.0126 255.5078);
  --card: oklch(0.2795 0.0368 260.0310);
  --card-foreground: oklch(0.9288 0.0126 255.5078);
  --primary: oklch(0.6801 0.1583 276.9349);
  --primary-foreground: oklch(0.2077 0.0398 265.7549);
  --secondary: oklch(0.3351 0.0331 260.9120);
  --secondary-foreground: oklch(0.8717 0.0093 258.3382);
  --accent: oklch(0.3729 0.0306 259.7328);
  --accent-foreground: oklch(0.8717 0.0093 258.3382);
  --muted: oklch(0.2427 0.0381 259.9437);
  --muted-foreground: oklch(0.7137 0.0192 261.3246);
  --border: oklch(0.4461 0.0263 256.8018);
  --destructive: oklch(0.6368 0.2078 25.3313);
  --ring: oklch(0.6801 0.1583 276.9349);
  --radius: 0.5rem;
  --font-sans: Inter, sans-serif;
  --font-serif: Merriweather, 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 */
/* "Clean Slate" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9. */
/** Tailwind theme extend for Clean Slate (tweakcn-clean-slate) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "oklch(0.9842 0.0034 247.8575)",
        "foreground": "oklch(0.2795 0.0368 260.0310)",
        "card": "oklch(1.0000 0 0)",
        "primary": "oklch(0.5854 0.2041 277.1173)",
        "primary-foreground": "oklch(1.0000 0 0)",
        "secondary": "oklch(0.9276 0.0058 264.5313)",
        "accent": "oklch(0.9299 0.0334 272.7879)",
        "muted": "oklch(0.9670 0.0029 264.5419)",
        "border": "oklch(0.8717 0.0093 258.3382)",
        "destructive": "oklch(0.6368 0.2078 25.3313)",
        "ring": "oklch(0.5854 0.2041 277.1173)"
      },
      "borderRadius": {
        "lg": "0.5rem"
      },
      "fontFamily": {
        "sans": [
          "Inter",
          "sans-serif"
        ],
        "serif": [
          "Merriweather",
          "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 */
/* "Clean Slate" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/clean-slate.json @ a3b47b37cba9. */
@layer base {
:root {
  --background: oklch(0.9842 0.0034 247.8575);
  --foreground: oklch(0.2795 0.0368 260.0310);
  --card: oklch(1.0000 0 0);
  --card-foreground: oklch(0.2795 0.0368 260.0310);
  --primary: oklch(0.5854 0.2041 277.1173);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9276 0.0058 264.5313);
  --secondary-foreground: oklch(0.3729 0.0306 259.7328);
  --accent: oklch(0.9299 0.0334 272.7879);
  --accent-foreground: oklch(0.3729 0.0306 259.7328);
  --muted: oklch(0.9670 0.0029 264.5419);
  --muted-foreground: oklch(0.5510 0.0234 264.3637);
  --border: oklch(0.8717 0.0093 258.3382);
  --destructive: oklch(0.6368 0.2078 25.3313);
  --ring: oklch(0.5854 0.2041 277.1173);
  --radius: 0.5rem;
  --font-sans: Inter, sans-serif;
  --font-serif: Merriweather, 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.2077 0.0398 265.7549);
  --foreground: oklch(0.9288 0.0126 255.5078);
  --card: oklch(0.2795 0.0368 260.0310);
  --card-foreground: oklch(0.9288 0.0126 255.5078);
  --primary: oklch(0.6801 0.1583 276.9349);
  --primary-foreground: oklch(0.2077 0.0398 265.7549);
  --secondary: oklch(0.3351 0.0331 260.9120);
  --secondary-foreground: oklch(0.8717 0.0093 258.3382);
  --accent: oklch(0.3729 0.0306 259.7328);
  --accent-foreground: oklch(0.8717 0.0093 258.3382);
  --muted: oklch(0.2427 0.0381 259.9437);
  --muted-foreground: oklch(0.7137 0.0192 261.3246);
  --border: oklch(0.4461 0.0263 256.8018);
  --destructive: oklch(0.6368 0.2078 25.3313);
  --ring: oklch(0.6801 0.1583 276.9349);
  --radius: 0.5rem;
  --font-sans: Inter, sans-serif;
  --font-serif: Merriweather, 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);
}
}