@hitachivantara/uikit-uno-preset v0.2.65
@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-presetAdd 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:
6 months ago
7 months ago
7 months ago
7 months ago
6 months ago
6 months ago
9 months ago
9 months ago
10 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
1 year ago
1 year ago
10 months ago
10 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago