Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

feat: comprehensive UI kit upgrade (Tailwind v4, Shadcn theming, DataTable, new components)#79

Merged
christoph2806 merged 4 commits intodevelopfrom
feature/ui-kit-upgrade-2026
Feb 20, 2026
Merged

feat: comprehensive UI kit upgrade (Tailwind v4, Shadcn theming, DataTable, new components)#79
christoph2806 merged 4 commits intodevelopfrom
feature/ui-kit-upgrade-2026

Conversation

@christoph2806
Copy link
Member

Summary

Comprehensive UI kit upgrade covering all planned workstreams (WS1–WS10):

  • WS1 – Theming: Removed DaisyUI, adopted Shadcn-native CSS variable theming in globals.css with semantic tokens (success, warning, info, critical)
  • WS2/WS3 – Dark mode & Badge contrast: Dark mode via .dark class on <html>, badge colors use high-contrast semantic tokens
  • WS4 – DataTable overhaul: Added filtering, row selection, column visibility toggle, row expansion, column pinning, loading/empty states, toolbar, tree table support; fixed column resize visuals (thin border, wide grab area)
  • WS5 – Modal: New Modal and ConfirmModal components with size variants and form support
  • WS6 – Transparent backgrounds: Fixed opaque backgrounds on components including datepickers
  • WS7 – AI Agent skills: Added 5 project-level skills (add-component, add-form-field, fix-compliance, update-theme, run-tests)
  • WS8 – Compliance: Suppressed irrelevant DB rules, added dependency approval documentation
  • WS9 – New Shadcn components: Added Spinner, EmptyState, Kbd, Drawer, Resizable, Carousel
  • WS10 – Tailwind v4 + build modernization: Upgraded Tailwind v3→v4, replaced tsup with Vite library mode, fixed JSX runtime for production builds
  • Legacy cleanup: Removed deprecated Button intent prop, outline-solid variant, top-level DataTable pageSize, AppShell legacy re-exports, Sonner backward-compat hooks

Test plan

  • pnpm lint passes
  • pnpm test passes
  • pnpm build passes
  • Storybook renders correctly with light/dark theme toggle
  • Showcase app renders correctly
  • Manual review of component visual appearance in Storybook
  • Verify tweakcn.com themes can be pasted into globals.css

References

Task IDs: WS1, WS2, WS3, WS4, WS5, WS6, WS7, WS8, WS9, WS10 from docs/project_plan.md

Developer added 4 commits February 20, 2026 17:54
- WS1: Drop DaisyUI, implement Shadcn-native theming with globals.css
  as single source of truth for design tokens
- WS2: Fix dark mode via class-based toggling on <html>
- WS3: Fix badge contrast with Tailwind -600 status tokens
- WS4: DataTable overhaul: filtering, row selection, column visibility,
  row expansion, column pinning, tree tables, toolbar, loading/empty
  states, and thin resize handle with wide grab area
- WS5: Add Modal and ConfirmModal components
- WS6: Fix transparent backgrounds on inputs, textarea, select, OTP,
  and rewrite Toast to use Tailwind classes
- WS7: Create 5 AI agent skills (add-component, add-form-field,
  fix-compliance, update-theme, run-tests)
- WS8: Suppress DB compliance rules, fix API format (pageSize/sort),
  add dependency approval register
- WS9: Add Drawer, Resizable, Carousel, Spinner, EmptyState, Kbd
  components
…acy APIs

- Upgrade Tailwind CSS v3 to v4 with CSS-first @theme inline config
- Replace tsup with Vite library mode for ui-kit builds
- Remove DaisyUI tailwind.config.js and postcss.config.js files
- Fix JSX runtime (jsxDEV -> jsx) in library output
- Remove deprecated Button `intent` prop and variant mapping layer
- Standardize all `outline-solid` variants to Shadcn `outline`
- Remove deprecated top-level DataTable `pageSize` prop
- Remove legacy AppShell TopBar/SideNav/Breadcrumbs re-exports
- Remove Sonner backward-compat useSonnerToast hook
- Fix Storybook dark/light theme toggle via decorator
- Delete DataTable MIGRATION.md (migration complete)
- Brighten light-mode status tokens (success, warning, error, info)
- Increase dark-mode secondary background contrast
- Tone down dark-mode destructive from overly bright to balanced red
- Set dark-mode border/input to visible blue-grey (50% lightness)
Add documentation for --color-* and --radius-* theme aliases
required by the tokens-check CI job. Update stale token values.
@christoph2806 christoph2806 merged commit 75f9682 into develop Feb 20, 2026
9 checks passed
@christoph2806 christoph2806 deleted the feature/ui-kit-upgrade-2026 branch March 7, 2026 09:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant