0.1.9 • Published 7 months ago

@svelte-fui/tailwindcss v0.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@svelte-fui/tailwindcss

This project's Tailwind CSS preset for the Fluent Design System makes it simple to create modern, accessible, and customizable user interfaces. This integration enables developers to construct the desired look and feel without spending hours writing code. Using Tailwind's predefined classes, developers can readily modify the application's colors, fonts, sizes, and other design elements.

Usage

First, install @svelte-fui/tailwindcss:

// pnpm
pnpm install @svelte-fui/tailwindcss

//npm
npm install @svelte-fui/tailwindcss

Then, you add it to your tailwindcss's presets array:

// tailwindcss.config.js

import { fuiPreset } from '@svelte-fui/tailwindcss';

/** @type {import('tailwindcss').Config} */
export default {
	presets: [fuiPreset],
	content: ['./src/**/*.{html,js,svelte, stories.svelte, ts}']
};
<script>
	import { App, Button } from '@svelte-fui/core';
</script>

<App>
	<div class="text-neutral-foreground-1 text-base-400" >This a simple label</div>
	<Button>Hello World!</Button>
</App>
0.1.9

7 months ago

0.1.8

9 months ago

0.1.7

1 year ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago