@rise8/tailwindcss-uswds-tokens
v0.14.1
Published
A TailwindCSS plugin for USWDS design tokens.
Downloads
59
Keywords
Readme
tailwindcss-uswds-tokens
A TailwindCSS preset for USWDS design tokens.
Install
npm install --save-dev @rise8/tailwindcss-uswds-tokens
# or
yarn add --dev @rise8/tailwindcss-uswds-tokens
# or
pnpm add --save-dev @rise8/tailwindcss-uswds-tokens
Update your tailwind.config.js
to use the preset:
//cjs
module.exports = {
presets: [require('@rise8/tailwindcss-uswds-tokens')],
// ...
};
//esm
import tailwindUSWDSTokenPreset from '@rise8/tailwindcss-uswds-tokens';
export default {
presets: [tailwindUSWDSTokenPreset],
// ...
};
Careers
Explore new opportunities with Rise8.