An open API service indexing awesome lists of open source software.

https://github.com/corellium/tailwind-config

Our very own Tailwind configuration!
https://github.com/corellium/tailwind-config

Last synced: over 1 year ago
JSON representation

Our very own Tailwind configuration!

Awesome Lists containing this project

README

          

[![Release](https://github.com/corellium/tailwind-config/actions/workflows/push.yaml/badge.svg)](https://github.com/corellium/tailwind-config/actions/workflows/push.yaml)

# Tailwind Config Corellium

## Installation

Run the command below to install our Tailwind Config:

```sh
yarn add -D @corellium/tailwind-config
```

Make sure that in target project you have [latest version of tailwind](https://github.com/tailwindlabs/tailwindcss/releases) installed.

```sh
yarn add -D tailwindcss
```

## Usage

In your project root create `tailwind.config.js` file and add theme to the config.

```js
const {
config: { theme, plugins },
} = require('@corellium/tailwind-config');

module.exports = {
// By this `theme` filed assingment you will have corellium theme enabled by default
// https://tailwindcss.com/docs/theme#overriding-the-default-theme
theme,
content: [
// https://tailwindcss.com/docs/content-configuration
],
// https://tailwindcss.com/docs/configuration#plugins
plugins,
// Rest of your configuration:
// https://tailwindcss.com/docs/configuration
};
```