Styledex
← Index

Nature

tweakcnApache-2.0Light and dark · bothMedium · mediumGreen · greenVivid · vividSerif · serifGeneral · generalLanding · landingProfessional · professional

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

"Nature" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/nature.json @ a3b47b37cba9.

https://github.com/jnsahaj/tweakcn · r/themes/nature.json · a3b47b37cba9 · © jnsahaj

Prompt

Design a user interface in the "Nature" style.

A theme based on the Nature color palette.

Apply these tokens to every surface. Do not invent a second palette.
- Background oklch(0.9711 0.0074 80.7211), foreground oklch(0.3000 0.0358 30.2042)
- Primary oklch(0.5234 0.1347 144.1672) on oklch(1.0000 0 0)
- Accent oklch(0.8952 0.0504 146.0366), muted oklch(0.9370 0.0142 74.4218), border oklch(0.8805 0.0208 74.6428)
- Radius 0.5rem, type Montserrat, sans-serif
- Shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Nature. \"Nature\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/nature.json @ a3b47b37cba9.",
  "$extensions": {
    "dev.styledex": {
      "id": "tweakcn-nature",
      "license": "Apache-2.0",
      "attribution": "\"Nature\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/nature.json @ a3b47b37cba9.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "oklch(0.9711 0.0074 80.7211)"
    },
    "foreground": {
      "$type": "color",
      "$value": "oklch(0.3000 0.0358 30.2042)"
    },
    "card": {
      "$type": "color",
      "$value": "oklch(0.9711 0.0074 80.7211)"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "oklch(0.3000 0.0358 30.2042)"
    },
    "primary": {
      "$type": "color",
      "$value": "oklch(0.5234 0.1347 144.1672)"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "oklch(1.0000 0 0)"
    },
    "secondary": {
      "$type": "color",
      "$value": "oklch(0.9571 0.0210 147.6360)"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "oklch(0.4254 0.1159 144.3078)"
    },
    "accent": {
      "$type": "color",
      "$value": "oklch(0.8952 0.0504 146.0366)"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "oklch(0.4254 0.1159 144.3078)"
    },
    "muted": {
      "$type": "color",
      "$value": "oklch(0.9370 0.0142 74.4218)"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "oklch(0.4495 0.0486 39.2110)"
    },
    "border": {
      "$type": "color",
      "$value": "oklch(0.8805 0.0208 74.6428)"
    },
    "destructive": {
      "$type": "color",
      "$value": "oklch(0.5386 0.1937 26.7249)"
    },
    "ring": {
      "$type": "color",
      "$value": "oklch(0.5234 0.1347 144.1672)"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "Montserrat",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "Merriweather",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "Source Code Pro",
        "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.2683 0.0279 150.7681)"
      },
      "foreground": {
        "$type": "color",
        "$value": "oklch(0.9423 0.0097 72.6595)"
      },
      "card": {
        "$type": "color",
        "$value": "oklch(0.3327 0.0271 146.9867)"
      },
      "card-foreground": {
        "$type": "color",
        "$value": "oklch(0.9423 0.0097 72.6595)"
      },
      "primary": {
        "$type": "color",
        "$value": "oklch(0.6731 0.1624 144.2083)"
      },
      "primary-foreground": {
        "$type": "color",
        "$value": "oklch(0.2157 0.0453 145.7256)"
      },
      "secondary": {
        "$type": "color",
        "$value": "oklch(0.3942 0.0265 142.9926)"
      },
      "secondary-foreground": {
        "$type": "color",
        "$value": "oklch(0.8970 0.0166 142.5518)"
      },
      "accent": {
        "$type": "color",
        "$value": "oklch(0.5752 0.1446 144.1813)"
      },
      "accent-foreground": {
        "$type": "color",
        "$value": "oklch(0.9423 0.0097 72.6595)"
      },
      "muted": {
        "$type": "color",
        "$value": "oklch(0.2926 0.0212 147.7496)"
      },
      "muted-foreground": {
        "$type": "color",
        "$value": "oklch(0.8579 0.0174 76.0955)"
      },
      "border": {
        "$type": "color",
        "$value": "oklch(0.3942 0.0265 142.9926)"
      },
      "destructive": {
        "$type": "color",
        "$value": "oklch(0.5386 0.1937 26.7249)"
      },
      "ring": {
        "$type": "color",
        "$value": "oklch(0.6731 0.1624 144.2083)"
      }
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Nature" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/nature.json @ a3b47b37cba9. */
:root {
  --background: oklch(0.9711 0.0074 80.7211);
  --foreground: oklch(0.3000 0.0358 30.2042);
  --card: oklch(0.9711 0.0074 80.7211);
  --card-foreground: oklch(0.3000 0.0358 30.2042);
  --primary: oklch(0.5234 0.1347 144.1672);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9571 0.0210 147.6360);
  --secondary-foreground: oklch(0.4254 0.1159 144.3078);
  --accent: oklch(0.8952 0.0504 146.0366);
  --accent-foreground: oklch(0.4254 0.1159 144.3078);
  --muted: oklch(0.9370 0.0142 74.4218);
  --muted-foreground: oklch(0.4495 0.0486 39.2110);
  --border: oklch(0.8805 0.0208 74.6428);
  --destructive: oklch(0.5386 0.1937 26.7249);
  --ring: oklch(0.5234 0.1347 144.1672);
  --radius: 0.5rem;
  --font-sans: Montserrat, sans-serif;
  --font-serif: Merriweather, serif;
  --font-mono: Source Code Pro, 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.2683 0.0279 150.7681);
  --foreground: oklch(0.9423 0.0097 72.6595);
  --card: oklch(0.3327 0.0271 146.9867);
  --card-foreground: oklch(0.9423 0.0097 72.6595);
  --primary: oklch(0.6731 0.1624 144.2083);
  --primary-foreground: oklch(0.2157 0.0453 145.7256);
  --secondary: oklch(0.3942 0.0265 142.9926);
  --secondary-foreground: oklch(0.8970 0.0166 142.5518);
  --accent: oklch(0.5752 0.1446 144.1813);
  --accent-foreground: oklch(0.9423 0.0097 72.6595);
  --muted: oklch(0.2926 0.0212 147.7496);
  --muted-foreground: oklch(0.8579 0.0174 76.0955);
  --border: oklch(0.3942 0.0265 142.9926);
  --destructive: oklch(0.5386 0.1937 26.7249);
  --ring: oklch(0.6731 0.1624 144.2083);
  --radius: 0.5rem;
  --font-sans: Montserrat, sans-serif;
  --font-serif: Merriweather, serif;
  --font-mono: Source Code Pro, 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 */
/* "Nature" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/nature.json @ a3b47b37cba9. */
/** Tailwind theme extend for Nature (tweakcn-nature) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "oklch(0.9711 0.0074 80.7211)",
        "foreground": "oklch(0.3000 0.0358 30.2042)",
        "card": "oklch(0.9711 0.0074 80.7211)",
        "primary": "oklch(0.5234 0.1347 144.1672)",
        "primary-foreground": "oklch(1.0000 0 0)",
        "secondary": "oklch(0.9571 0.0210 147.6360)",
        "accent": "oklch(0.8952 0.0504 146.0366)",
        "muted": "oklch(0.9370 0.0142 74.4218)",
        "border": "oklch(0.8805 0.0208 74.6428)",
        "destructive": "oklch(0.5386 0.1937 26.7249)",
        "ring": "oklch(0.5234 0.1347 144.1672)"
      },
      "borderRadius": {
        "lg": "0.5rem"
      },
      "fontFamily": {
        "sans": [
          "Montserrat",
          "sans-serif"
        ],
        "serif": [
          "Merriweather",
          "serif"
        ],
        "mono": [
          "Source Code Pro",
          "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 */
/* "Nature" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/nature.json @ a3b47b37cba9. */
@layer base {
:root {
  --background: oklch(0.9711 0.0074 80.7211);
  --foreground: oklch(0.3000 0.0358 30.2042);
  --card: oklch(0.9711 0.0074 80.7211);
  --card-foreground: oklch(0.3000 0.0358 30.2042);
  --primary: oklch(0.5234 0.1347 144.1672);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.9571 0.0210 147.6360);
  --secondary-foreground: oklch(0.4254 0.1159 144.3078);
  --accent: oklch(0.8952 0.0504 146.0366);
  --accent-foreground: oklch(0.4254 0.1159 144.3078);
  --muted: oklch(0.9370 0.0142 74.4218);
  --muted-foreground: oklch(0.4495 0.0486 39.2110);
  --border: oklch(0.8805 0.0208 74.6428);
  --destructive: oklch(0.5386 0.1937 26.7249);
  --ring: oklch(0.5234 0.1347 144.1672);
  --radius: 0.5rem;
  --font-sans: Montserrat, sans-serif;
  --font-serif: Merriweather, serif;
  --font-mono: Source Code Pro, 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.2683 0.0279 150.7681);
  --foreground: oklch(0.9423 0.0097 72.6595);
  --card: oklch(0.3327 0.0271 146.9867);
  --card-foreground: oklch(0.9423 0.0097 72.6595);
  --primary: oklch(0.6731 0.1624 144.2083);
  --primary-foreground: oklch(0.2157 0.0453 145.7256);
  --secondary: oklch(0.3942 0.0265 142.9926);
  --secondary-foreground: oklch(0.8970 0.0166 142.5518);
  --accent: oklch(0.5752 0.1446 144.1813);
  --accent-foreground: oklch(0.9423 0.0097 72.6595);
  --muted: oklch(0.2926 0.0212 147.7496);
  --muted-foreground: oklch(0.8579 0.0174 76.0955);
  --border: oklch(0.3942 0.0265 142.9926);
  --destructive: oklch(0.5386 0.1937 26.7249);
  --ring: oklch(0.6731 0.1624 144.2083);
  --radius: 0.5rem;
  --font-sans: Montserrat, sans-serif;
  --font-serif: Merriweather, serif;
  --font-mono: Source Code Pro, monospace;
  --spacing: 0.25rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}