Skip to content

feat(ui): Implement UI Foundation with Tailwind CSS and shadcn/ui#106

Merged
coopeverything merged 1 commit intoclaude-yolofrom
feature/ui-foundation
Oct 29, 2025
Merged

feat(ui): Implement UI Foundation with Tailwind CSS and shadcn/ui#106
coopeverything merged 1 commit intoclaude-yolofrom
feature/ui-foundation

Conversation

@coopeverything
Copy link
Copy Markdown
Owner

Summary

Implements the UI foundation system for TogetherOS with Tailwind CSS and shadcn/ui components, following the Warm Minimalism design system.

Key Changes

  • Tailwind CSS Integration: Complete setup with PostCSS and design tokens
  • Design System: Configured Cooperative Green (brand) and Apricot (joy) color palette with CSS variables
  • Base Components: Button, Input, and Card components with TypeScript types and variants
  • Utilities: Shared cn() helper for className merging in root lib/ directory
  • Path Aliases: Updated tsconfig with @/lib/* and @/components/* mappings
  • Dark Mode: CSS variable-based theme switching support

Technical Details

Components Created:

  • Button: 6 variants (default, secondary, ghost, link, joy, danger) with 4 sizes
  • Input: Accessible form input with focus states and disabled styling
  • Card: Flexible card container with Header, Title, Description, Content, and Footer subcomponents

Dependencies Added:

  • tailwindcss, postcss, autoprefixer - Core styling
  • class-variance-authority - Type-safe variant management
  • tailwind-merge, clsx - Class name utilities
  • tailwindcss-animate - Animation utilities
  • @radix-ui/react-slot - Composition primitives

Files Modified:

  • apps/web/app/globals.css - Added Tailwind directives
  • apps/web/package.json - Added UI dependencies
  • apps/web/tsconfig.json - Added path aliases
  • package-lock.json - Locked dependency versions

Files Created:

  • apps/web/tailwind.config.js - Tailwind configuration with design tokens
  • apps/web/postcss.config.js - PostCSS configuration
  • apps/web/components/ui/button.tsx - Button component
  • apps/web/components/ui/input.tsx - Input component
  • apps/web/components/ui/card.tsx - Card components
  • lib/utils.ts - Shared utilities

Test Plan

  • All components compile successfully
  • Build completes without errors
  • TypeScript types resolve correctly
  • Path aliases work as expected
  • Deployed and tested on VPS (coopeverything.org)

Deployment

Already deployed to VPS - Changes are live at https://coopeverything.org

Progress

progress:ui=+30 - Increases UI module from 20% to 50%

🤖 Generated with Claude Code

…ponents

Add comprehensive UI system foundation with Tailwind CSS integration and base shadcn/ui components following the TogetherOS Warm Minimalism design system.

Key additions:
- Tailwind CSS configuration with design tokens (Cooperative Green, Apricot)
- PostCSS configuration for Tailwind processing
- Base UI components: Button, Input, Card with proper TypeScript types
- Shared utilities (cn helper) in root lib directory
- Path aliases for clean imports (@/lib/*, @/components/*)

Technical improvements:
- Integrated class-variance-authority for component variants
- Added Radix UI primitives for accessible base components
- Configured dark mode support with CSS variables
- All components tested and building successfully

progress:ui=+30

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Proof-lines missing in PR description.

Please paste these two lines from CI logs:

VALIDATORS=GREEN
LINT=OK

Once added, re-run checks if needed.

@coopeverything coopeverything merged commit 3e37776 into claude-yolo Oct 29, 2025
2 of 3 checks passed
@coopeverything coopeverything deleted the feature/ui-foundation branch October 29, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants