0.6.0 • Published 1 year ago

@dpa-id-components/tailwind v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@dpa-id-components/tailwind

Common tailwind configuration file. This package also provides @tailwindcss/ui and @tailwindcss/typography plugins.

Installation

yarn add @dpa-id-components/tailwind

Note: You need to install and configure tailwindcss in your project on your own, tailwindcss is not provided by this package.

Usage

After installing the package, the tailwind configuration can be included in your original tailwind.config.js using the following example:

const dpaTailwindConfig = require('@dpa-id-components/tailwind');

module.exports = {
    ...dpaTailwindConfig,
    theme: {
        extend: {
            //...
        }
    }
}

To include the utilities used in this project, import the @dpa-id-components/tailwind/imports.css into your own project stylesheet or entrypoint, e.g.:

// main.js
import "@dpa-id-components/tailwind/imports.css";
// Other shared styles are declared in main.css
import "@dpa-id-components/tailwind/main.css";

Alternatively base, components and utilities can be imported from Tailwind directly in the host project.

0.6.0

1 year ago

0.3.15

2 years ago

0.3.14

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.13

2 years ago

0.3.12

2 years ago

0.3.10

2 years ago

0.3.9

2 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.2

3 years ago

0.3.3

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago