Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/stevebauman/curlwind

Generate Tailwind utility stylesheets on demand.
https://github.com/stevebauman/curlwind

css generator laravel tailwind tailwindcss

Last synced: about 22 hours ago
JSON representation

Generate Tailwind utility stylesheets on demand.

Awesome Lists containing this project

README

        

Curlwind Logo Logo


Dynamically generate Tailwind CSS utility stylesheets.




## Usage

### Insert Tag

Add the stylesheet tag to your site's head tag:

```html





```

### Attach Classes

Attach the `classes` query parameter to URL receive a stylesheet with only the classes you need.

Use commas and wildcards to match multiple classes:

```html

```

### Receive Stylesheet

The generated stylesheet will contain only the classes you need:

```css
/* output.css */

.p-0 {
padding: 0px;
}

.p-1 {
padding: 0.25rem;
}

/* ... */

.m-0 {
margin: 0px;
}

.m-1 {
margin: 0.25rem;
}

/* ... */
```

### Options

### Generate Variants

Insert a colon (:) after the class name to generate variants:

```html

```

### Exclude Preflight

Generate stylesheets without Tailwind's Preflight CSS:

```html

```

### Prefixed Utilities

Generate utility classes with a prefix:

```html

```

### Unminified CSS

Generate stylesheets unminified:

```html

```

### Enable Plugins

Generate stylesheets with built-in Tailwind plugins enabled.

```html

```