0.2.20 • Published 25 days ago
@hitachivantara/uikit-uno-preset v0.2.20
@hitachivantara/uikit-uno-preset
UI Kit UnoCSS preset with the NEXT theme.
Installation
Install the package in your project directory with:
npm install -D unocss @hitachivantara/uikit-uno-preset
Add the presetHv
to the array of presets in your vite.config.ts
or uno.config.ts
files:
// vite.config.ts
import unoCSS from "unocss/vite";
import { defineConfig } from "vite";
import { presetHv } from "@hitachivantara/uikit-uno-preset";
export default defineConfig({
plugins: [
unoCSS({
presets: [presetHv()],
}),
],
});
// uno.config.ts
import { defineConfig } from "unocss";
import { presetHv } from "@hitachivantara/uikit-uno-preset";
export default defineConfig({
presets: [presetHv()],
});
Usage
Use any of Tailwind-like default utility classes along with the NEXT UI Kit theme utilities:
0.2.20
25 days ago
0.2.19
1 month ago
0.2.18
1 month ago
0.2.17
1 month ago
0.2.16
2 months ago
0.2.15
2 months ago
0.2.14
2 months ago
0.2.13
2 months ago
0.2.12
2 months ago
0.2.11
2 months ago
0.2.10
2 months ago
0.2.9
3 months ago
0.2.8
3 months ago
0.2.7
3 months ago
0.2.6
4 months ago
0.2.5
4 months ago
0.2.4
4 months ago
0.2.3
5 months ago
0.2.2
5 months ago
0.2.1
5 months ago
0.2.0
5 months ago