Styledex
← Index

Pastel Dreams

tweakcnApache-2.0Light and dark · bothLow (display) · lowPurple · purpleVivid · vividSerif · serifGeneral · generalLanding · landingProfessional · professional

A theme based on the Pastel Dreams 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

"Pastel Dreams" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9.

https://github.com/jnsahaj/tweakcn · r/themes/pastel-dreams.json · a3b47b37cba9 · © jnsahaj

Prompt

Design a user interface in the "Pastel Dreams" style.

A theme based on the Pastel Dreams color palette.

Apply these tokens to every surface. Do not invent a second palette.
- Background oklch(0.9689 0.0090 314.7819), foreground oklch(0.3729 0.0306 259.7328)
- Primary oklch(0.7090 0.1592 293.5412) on oklch(1.0000 0 0)
- Accent oklch(0.9376 0.0260 321.9388), muted oklch(0.9464 0.0327 307.1745), border oklch(0.9073 0.0530 306.0902)
- Radius 1.5rem, type Open Sans, sans-serif
- Shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)

"Pastel Dreams" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Pastel Dreams. \"Pastel Dreams\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9.",
  "$extensions": {
    "dev.styledex": {
      "id": "tweakcn-pastel-dreams",
      "license": "Apache-2.0",
      "attribution": "\"Pastel Dreams\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "oklch(0.9689 0.0090 314.7819)"
    },
    "foreground": {
      "$type": "color",
      "$value": "oklch(0.3729 0.0306 259.7328)"
    },
    "card": {
      "$type": "color",
      "$value": "oklch(1.0000 0 0)"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "oklch(0.3729 0.0306 259.7328)"
    },
    "primary": {
      "$type": "color",
      "$value": "oklch(0.7090 0.1592 293.5412)"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "oklch(1.0000 0 0)"
    },
    "secondary": {
      "$type": "color",
      "$value": "oklch(0.9073 0.0530 306.0902)"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "oklch(0.4461 0.0263 256.8018)"
    },
    "accent": {
      "$type": "color",
      "$value": "oklch(0.9376 0.0260 321.9388)"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "oklch(0.3729 0.0306 259.7328)"
    },
    "muted": {
      "$type": "color",
      "$value": "oklch(0.9464 0.0327 307.1745)"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "oklch(0.5510 0.0234 264.3637)"
    },
    "border": {
      "$type": "color",
      "$value": "oklch(0.9073 0.0530 306.0902)"
    },
    "destructive": {
      "$type": "color",
      "$value": "oklch(0.8077 0.1035 19.5706)"
    },
    "ring": {
      "$type": "color",
      "$value": "oklch(0.7090 0.1592 293.5412)"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "Open Sans",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "Source Serif 4",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "IBM Plex Mono",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "1.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.2161 0.0061 56.0434)"
      },
      "foreground": {
        "$type": "color",
        "$value": "oklch(0.9299 0.0334 272.7879)"
      },
      "card": {
        "$type": "color",
        "$value": "oklch(0.2805 0.0309 307.2326)"
      },
      "card-foreground": {
        "$type": "color",
        "$value": "oklch(0.9299 0.0334 272.7879)"
      },
      "primary": {
        "$type": "color",
        "$value": "oklch(0.7874 0.1179 295.7538)"
      },
      "primary-foreground": {
        "$type": "color",
        "$value": "oklch(0.2161 0.0061 56.0434)"
      },
      "secondary": {
        "$type": "color",
        "$value": "oklch(0.3416 0.0444 308.8496)"
      },
      "secondary-foreground": {
        "$type": "color",
        "$value": "oklch(0.8717 0.0093 258.3382)"
      },
      "accent": {
        "$type": "color",
        "$value": "oklch(0.3858 0.0509 304.6383)"
      },
      "accent-foreground": {
        "$type": "color",
        "$value": "oklch(0.8717 0.0093 258.3382)"
      },
      "muted": {
        "$type": "color",
        "$value": "oklch(0.2283 0.0375 302.9006)"
      },
      "muted-foreground": {
        "$type": "color",
        "$value": "oklch(0.7137 0.0192 261.3246)"
      },
      "border": {
        "$type": "color",
        "$value": "oklch(0.3416 0.0444 308.8496)"
      },
      "destructive": {
        "$type": "color",
        "$value": "oklch(0.8077 0.1035 19.5706)"
      },
      "ring": {
        "$type": "color",
        "$value": "oklch(0.7874 0.1179 295.7538)"
      }
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Pastel Dreams" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9. */
:root {
  --background: oklch(0.9689 0.0090 314.7819);
  --foreground: oklch(0.3729 0.0306 259.7328);
  --card: oklch(1.0000 0 0);
  --card-foreground: oklch(0.3729 0.0306 259.7328);
  --primary: oklch(0.7090 0.1592 293.5412);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9073 0.0530 306.0902);
  --secondary-foreground: oklch(0.4461 0.0263 256.8018);
  --accent: oklch(0.9376 0.0260 321.9388);
  --accent-foreground: oklch(0.3729 0.0306 259.7328);
  --muted: oklch(0.9464 0.0327 307.1745);
  --muted-foreground: oklch(0.5510 0.0234 264.3637);
  --border: oklch(0.9073 0.0530 306.0902);
  --destructive: oklch(0.8077 0.1035 19.5706);
  --ring: oklch(0.7090 0.1592 293.5412);
  --radius: 1.5rem;
  --font-sans: Open Sans, sans-serif;
  --font-serif: Source Serif 4, serif;
  --font-mono: IBM Plex 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.2161 0.0061 56.0434);
  --foreground: oklch(0.9299 0.0334 272.7879);
  --card: oklch(0.2805 0.0309 307.2326);
  --card-foreground: oklch(0.9299 0.0334 272.7879);
  --primary: oklch(0.7874 0.1179 295.7538);
  --primary-foreground: oklch(0.2161 0.0061 56.0434);
  --secondary: oklch(0.3416 0.0444 308.8496);
  --secondary-foreground: oklch(0.8717 0.0093 258.3382);
  --accent: oklch(0.3858 0.0509 304.6383);
  --accent-foreground: oklch(0.8717 0.0093 258.3382);
  --muted: oklch(0.2283 0.0375 302.9006);
  --muted-foreground: oklch(0.7137 0.0192 261.3246);
  --border: oklch(0.3416 0.0444 308.8496);
  --destructive: oklch(0.8077 0.1035 19.5706);
  --ring: oklch(0.7874 0.1179 295.7538);
  --radius: 1.5rem;
  --font-sans: Open Sans, sans-serif;
  --font-serif: Source Serif 4, serif;
  --font-mono: IBM Plex 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 */
/* "Pastel Dreams" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9. */
/** Tailwind theme extend for Pastel Dreams (tweakcn-pastel-dreams) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "oklch(0.9689 0.0090 314.7819)",
        "foreground": "oklch(0.3729 0.0306 259.7328)",
        "card": "oklch(1.0000 0 0)",
        "primary": "oklch(0.7090 0.1592 293.5412)",
        "primary-foreground": "oklch(1.0000 0 0)",
        "secondary": "oklch(0.9073 0.0530 306.0902)",
        "accent": "oklch(0.9376 0.0260 321.9388)",
        "muted": "oklch(0.9464 0.0327 307.1745)",
        "border": "oklch(0.9073 0.0530 306.0902)",
        "destructive": "oklch(0.8077 0.1035 19.5706)",
        "ring": "oklch(0.7090 0.1592 293.5412)"
      },
      "borderRadius": {
        "lg": "1.5rem"
      },
      "fontFamily": {
        "sans": [
          "Open Sans",
          "sans-serif"
        ],
        "serif": [
          "Source Serif 4",
          "serif"
        ],
        "mono": [
          "IBM Plex 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 */
/* "Pastel Dreams" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/pastel-dreams.json @ a3b47b37cba9. */
@layer base {
:root {
  --background: oklch(0.9689 0.0090 314.7819);
  --foreground: oklch(0.3729 0.0306 259.7328);
  --card: oklch(1.0000 0 0);
  --card-foreground: oklch(0.3729 0.0306 259.7328);
  --primary: oklch(0.7090 0.1592 293.5412);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9073 0.0530 306.0902);
  --secondary-foreground: oklch(0.4461 0.0263 256.8018);
  --accent: oklch(0.9376 0.0260 321.9388);
  --accent-foreground: oklch(0.3729 0.0306 259.7328);
  --muted: oklch(0.9464 0.0327 307.1745);
  --muted-foreground: oklch(0.5510 0.0234 264.3637);
  --border: oklch(0.9073 0.0530 306.0902);
  --destructive: oklch(0.8077 0.1035 19.5706);
  --ring: oklch(0.7090 0.1592 293.5412);
  --radius: 1.5rem;
  --font-sans: Open Sans, sans-serif;
  --font-serif: Source Serif 4, serif;
  --font-mono: IBM Plex 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.2161 0.0061 56.0434);
  --foreground: oklch(0.9299 0.0334 272.7879);
  --card: oklch(0.2805 0.0309 307.2326);
  --card-foreground: oklch(0.9299 0.0334 272.7879);
  --primary: oklch(0.7874 0.1179 295.7538);
  --primary-foreground: oklch(0.2161 0.0061 56.0434);
  --secondary: oklch(0.3416 0.0444 308.8496);
  --secondary-foreground: oklch(0.8717 0.0093 258.3382);
  --accent: oklch(0.3858 0.0509 304.6383);
  --accent-foreground: oklch(0.8717 0.0093 258.3382);
  --muted: oklch(0.2283 0.0375 302.9006);
  --muted-foreground: oklch(0.7137 0.0192 261.3246);
  --border: oklch(0.3416 0.0444 308.8496);
  --destructive: oklch(0.8077 0.1035 19.5706);
  --ring: oklch(0.7874 0.1179 295.7538);
  --radius: 1.5rem;
  --font-sans: Open Sans, sans-serif;
  --font-serif: Source Serif 4, serif;
  --font-mono: IBM Plex Mono, monospace;
  --spacing: 0.25rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}