Tailwind

InstallationClassNames

Orbit tailwind preset

Installation

yarn add -D @kiwicom/orbit-tailwind-preset
npm install --save-dev @kiwicom/orbit-tailwind-preset

Configuration

const orbitComponentsPreset = require("@kiwicom/orbit-tailwind-preset");
module.exports = {
content: [
// ...
"./node_modules/@kiwicom/orbit-components/**/*.js",
],
presets: [
orbitComponentsPreset({
disablePreflight: false, // default value
}),
],
};

Usage

<p class="text-blue-normal p-sm">...</p>