Skip to content

RocketCommunicationsInc/astro-tailwind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro Tailwind Config

NOTE: This package is experimental and is subject to change.

Installation

  • Install
npm i @astrouxds/tailwind
  • If you're not using the Astro Web Components, you'll need to Install Astro Design Tokens
    • npm i @astrouxds/tokens
    • In your project root: import '@astrouxds/tokens/dist/css/index.css'
  • Install Tailwind in your project.
  • Add the Astro Tailwind plugin
//tailwind.config.js
...
 plugins: [require('@astrouxds/tailwind')]
...

Usage

Reference Demo Site for a list of available colors and utilities.

For more detailed information, see our Design Token Documentation

Recommended Plugins

Tailwind doesn't support shadow parts out of the box so we highly recommend also installing this Tailwind Custom Elements Plugin

About

Tailwind configuration for AstroUXDS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published