8000 GitHub - rose-pine/tailwind-css: Soho vibes for Tailwind CSS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rose-pine/tailwind-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Rosé Pine for Tailwind CSS

All natural pine, faux fur and a bit of soho vibes for the classy minimalist

Usage

Tailwind 4

  1. Open your app that already have tailwind installed & editor correctly setup.

  2. Copy folder rose-pine-tailwind-v4 to your project's stylesheet folder.

  3. Update your main stylesheet with one of the Rosé Pine variants:

@import "tailwindcss";

@import "./rose-pine-tailwind-v4/rose-pine-moon.css";
/* @import "./rose-pine-tailwind-v4/rose-pine-dawn.css"; */
/* @import "./rose-pine-tailwind-v4/rose-pine-pine.css"; */
  1. You can now use the Rosé Pine colours just like any other Tailwind colors:
<div class="bg-rose-pine-base text-rose-pine-gold">
    Pretty nice
</div>

Older Tailwind version

  1. Open your app that already have tailwind installed & editor correctly setup

  2. Under tailwind.config.*, input the following code :

module.exports = {
  theme: {
    extend: {
      colors: {
        rosePine: {
          base: "#191724",
          surface: "#1f1d2e",
          overlay: "#26233a",
          muted: "#6e6a86",
          subtle: "#908caa",
          text: "#e0def4",
          love: "#eb6f92",
          gold: "#f6c177",
          rose: "#ebbcba",
          pine: "#31748f",
          foam: "#9ccfd8",
          iris: "#c4a7e7",
          highlightLow: "#21202e",
          highlightMed: "#403d52",
          highlightHigh: "#524f67",
        },
        rosePineMoon: {
          base: "#232136",
          surface: "#2a273f",
          overlay: "#393552",
          muted: "#6e6a86",
          subtle: "#908caa",
          text: "#e0def4",
          love: "#eb6f92",
          gold: "#f6c177",
          rose: "#ea9a97",
          pine: "#3e8fb0",
          foam: "#9ccfd8",
          iris: "#c4a7e7",
          highlightLow: "#2a283e",
          highlightMed: "#44415a",
          highlightHigh: "#56526e",
        },
        rosePineDawn: {
          base: "#faf4ed",
          surface: "#fffaf3",
          overlay: "#f2e9e1",
          muted: "#9893a5",
          subtle: "#797593",
          text: "#575279",
          love: "#b4637a",
          gold: "#ea9d34",
          rose: "#d7827e",
          pine: "#286983",
          foam: "#56949f",
          iris: "#907aa9",
          highlightLow: "#f4ede8",
          highlightMed: "#dfdad9",
          highlightHigh: "#cecacd",
        },
      },
    },
  },
  // (plugins, content, ...)
};

Gallery

Rose Pine

Demo rosePine

Rose Pine Moon

Demo rosePineMoon

Rose Pine Dawn

Demo rosePineDawn

Thanks to

About

Soho vibes for Tailwind CSS

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0