Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Cap-go/tailwind-capacitor

Tailwind plugin for capacitor apps
https://github.com/Cap-go/tailwind-capacitor

Last synced: about 1 month ago
JSON representation

Tailwind plugin for capacitor apps

Awesome Lists containing this project

README

        

# tailwind-capacitor
Capgo - Instant updates for capacitor


Check out: Capgo — live updates for capacitor


Tailwind plugin for capacitor apps

How to use
----------

1. Add the plugin to your project
```bash
npm install --save-dev tailwind-capacitor
```

2. Add the plugin to your tailwind config
```js
// tailwind.config.js
module.exports = {
plugins: [
require('tailwind-capacitor').safeAreas,
require('tailwind-capacitor').colors,
require('tailwind-capacitor').hairlines,
require('tailwind-capacitor').touchRipple,
require('tailwind-capacitor').iosMaterial,
require('tailwind-capacitor').lineClamp,
require('tailwind-capacitor').translucent,
require('tailwind-capacitor').range,
require('tailwind-capacitor').touch,
require('tailwind-capacitor').noScrollbar,
],
}
```

Documentation for each plugin can be found here:
- [Safe Areas](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/safe-areas.md)
- [Colors](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/colors.md)
- [Hairlines](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/hairlines.md)
- [Touch Ripple](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/touch-ripple.md)
- [iOS Material](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/ios-material.md)
- [Line Clamp](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/line-clamp.md)
- [Translucent](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/translucent.md)
- [Range](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/range.md)
- [Touch](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/touch.md)
- [No Scrollbar](https://github.com/Cap-go/tailwind-capacitor/blob/main/docs/no-scrollbar.md)

# Credits

Tailwind Capacitor is a fork of [Konsta UI](https://github.com/konstaui/konstaui) and [Tailwind CSS](https://tailwindcss.com/).