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

feat(theme): implement global theme bridging between DaisyUI and Shadcn#1

Merged
christoph2806 merged 1 commit intomainfrom
feature/1.3-theme
May 20, 2025
Merged

feat(theme): implement global theme bridging between DaisyUI and Shadcn#1
christoph2806 merged 1 commit intomainfrom
feature/1.3-theme

Conversation

@christoph2806
Copy link
Copy Markdown
Member

@christoph2806 christoph2806 commented May 19, 2025

Description

Implements task 1.3: Add global theme bridging between DaisyUI HSL tokens and Shadcn UI variables.

Changes

  • Create comprehensive theme.css with DaisyUI to Shadcn variable mappings
  • Implement theme toggle and initialization utilities in theme/index.ts
  • Update Tailwind config to support theme variables
  • Add theme variables documentation in DESIGN_TOKENS.md
  • Configure Cypress for visual regression testing in light/dark modes
  • Fix CSS import ordering in globals.css

Testing

  • Added Cypress tests that generate screenshots in both light and dark mode
  • Screenshots serve as golden images for visual regression testing
  • Theme toggle and initialization functionality verified

Closes task 1.3 in project_plan.md

@christoph2806 christoph2806 merged commit 1f6c105 into main May 20, 2025
5 checks passed
@christoph2806 christoph2806 deleted the feature/1.3-theme branch May 20, 2025 08:17
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