Commit Graph

3 Commits

Author SHA1 Message Date
xiaomai
c6f2feed14 feat(ui): integrate Shadcn UI
This commit integrates the Shadcn UI component library to provide a foundational set of components for the application's
user interface.

Key changes include:
- Added necessary dependencies like `class-variance-authority`, `clsx`, and `tailwind-merge`.
- Initialized Shadcn via its CLI, creating the `components.json` configuration file.
- Configured TypeScript path aliases in `tsconfig.json` and `tsconfig.app.json` to support `@/*` imports.
- Implemented CSS variables for theming, supporting both light and dark modes, in `main.css`.
- Added the standard `cn` utility function for merging Tailwind CSS classes.
- Updated `README.md` with detailed setup instructions for Shadcn UI.
2025-09-17 23:32:29 +08:00
xiaomai
3acd1be341 feat(ui): add comprehensive Tailwind CSS v4 demo page
This commit replaces the basic placeholder with a full-featured demo page showcasing Tailwind CSS v4 capabilities.

- Implements a modern, responsive landing page layout in `TailwindcssDemo.vue`.
- Defines a custom primary color palette and a float animation using the new `@theme` at-rule in `main.css`.
- Adds a custom `.text-gradient` utility class.
- Updates the router to nest the demo page, improving scalability for future routes.
2025-09-17 22:42:07 +08:00
xiaomai
782d1d8cbc feat(build): integrate Tailwind CSS
This commit integrates Tailwind CSS into the project for utility-first styling.

- Adds `tailwindcss` and `@tailwindcss/vite` as dependencies.
- Configures the Vite build process to use the Tailwind plugin.
- Sets up the main CSS entry point to import Tailwind styles.
- Adds a new route and a `TailwindcssDemo` component to verify the setup.
2025-09-17 21:39:24 +08:00