[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 🦊 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit/
svelte tailwindcss ui-components
0

Configure Feed

Select the types of activity you want to include in your feed.

fix cli?

Florian (Mar 29, 2025, 9:34 AM +0100) eb537560 803eccf3

+27 -4
+15 -2
README.md
··· 1 - <img width="700" alt="open-graph" src="https://github.com/user-attachments/assets/912cf6b4-16f6-4a9e-a9cf-1add9d271f76" /> 2 - 3 1 # 🦊 fox ui 4 2 5 3 > **This is a public alpha release. Expect bugs and breaking changes.** ··· 63 61 64 62 <Button onclick={() => alert('clicked')}>Click me</Button> 65 63 ``` 64 + 65 + ## Development 66 + 67 + If you want to contribute to the project, please open an issue first describing the feature you want to add. 68 + 69 + Clone the repo, install dependencies and run the dev server 70 + 71 + ```bash 72 + git clone https://github.com/flo-bit/ui-kit.git 73 + cd ui-kit 74 + npm install 75 + npm run dev 76 + ``` 77 + 78 + The ui-kit library is located in `src/lib`, the documentation is in `src/docs`.
+1 -1
package.json
··· 1 1 { 2 2 "name": "fuchs", 3 - "version": "0.0.26", 3 + "version": "0.0.27", 4 4 "type": "module", 5 5 "description": "Beautiful UI components built with Tailwind 4 and Svelte 5", 6 6 "homepage": "https://flo-bit.dev/ui-kit",
+11 -1
src/lib/cli.ts
··· 1 1 #!/usr/bin/env node 2 2 3 + /** 4 + * TODO: 5 + * 6 + * - add exports to lib/fuchs/index.ts 7 + * - add dependent components to each component 8 + * - add option to also add dependent components 9 + * - choose between importing dependent components from fuchs or from $lib/fuchs 10 + */ 11 + 3 12 import fs from 'node:fs'; 4 13 import path from 'node:path'; 5 14 import { fileURLToPath } from 'node:url'; ··· 11 20 import { Command } from 'commander'; 12 21 13 22 // @ts-expect-error - this works when used as a package (cause it will be moved to dist/cli.js) 14 - import { version } from '../package.json' with { type: 'json' }; 23 + import pkg from '../package.json' with { type: 'json' }; 24 + const version = pkg.version; 15 25 // in dev hardcode the version instead 16 26 // const version = '0.0.25'; 17 27