1.3.0 • Published 2 years ago

tailwind-nord v1.3.0

Weekly downloads
29
License
ISC
Repository
github
Last release
2 years ago

npm.io npm.io

A super tiny tailwind plugin that enables the use of the Nord color palette.

Made this mainly for myself, as I kept copying the Nord colours over manually. But hopefully it can save someone else 5 mins at the start of a project!

Installation

npm i tailwind-nord

Usage

In your tailwind.config.js:

  plugins: [
    require('tailwind-nord'),
  ],

You now have access to the Nord theme anywhere you would use normal tailwind colours.

<div class="bg-nord0">
    <p class="text-nord5">Hello, this is some text</p>
</div>

You can use the colour names set in the Nord documentation. Check that out here.

But you can also use Tailwind-like color names as shown below.

<div class="bg-nord-0">
    <p class="text-nord-5">Hello, this is some text</p>
</div>
1.3.0

2 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago