tailwind-capacitor
v1.0.8
Published
Tailwind plugin for Capacitor apps
Downloads
797
Readme
tailwind-capacitor
Tailwind plugin for capacitor apps
How to use
- Add the plugin to your project
npm install --save-dev tailwind-capacitor
- Add the plugin to your tailwind config
// 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:
Credits
Tailwind Capacitor is a fork of Konsta UI and Tailwind CSS.