Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 14, 2025

After removing the DaisyUI plugin in commit a508f89, input.css.backup still referenced ~102 DaisyUI-only utilities and CSS variables (e.g., bg-base-200, text-base-content, var(--bc), badge, btn, alert) causing Tailwind compilation to fail with undefined class errors.

Changes

Utility replacements:

  • Color backgrounds: bg-base-100bg-card, bg-base-200bg-muted, bg-base-300bg-accent
  • Text colors: text-base-contenttext-foreground
  • Borders: border-base-300border-border
  • CSS variables: var(--bc)var(--foreground), var(--p)var(--primary), var(--s)var(--secondary)

Component class implementations:
Replaced DaisyUI component classes (badge, btn, alert, input) with inline implementations using Tailwind utilities and custom CSS properties.

Alert/status colors:
Added missing CSS variables to :root and dark theme:

--info: 198.6 88.7% 48.4%;
--info-foreground: 210 40% 98%;
--warning: 47.9 95.8% 53.1%;
--warning-foreground: 26 83.3% 14.1%;
--error: 0 84.2% 60.2%;
--error-foreground: 210 40% 98%;
--success: 142.1 76.2% 36.3%;
--success-foreground: 355.7 100% 97.3%;

Tailwind v4 compatibility:
Added @theme directive to expose CSS custom properties as utilities:

@theme {
  --color-muted: hsl(var(--muted));
  --color-foreground: hsl(var(--foreground));
  /* ... */
}

Updated tailwind.config.js to include info/warning/error/success color definitions.

Created active style/input.css from fixed backup and updated .gitignore to track it.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@coderabbitai
Copy link

coderabbitai bot commented Nov 14, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: Akagi201 <1207959+Akagi201@users.noreply.github.com>
Copilot AI changed the title [WIP] Update input.css for compatibility with DaisyUI utilities Replace DaisyUI utilities with Singlestage design tokens in input.css Nov 14, 2025
Copilot AI requested a review from Akagi201 November 14, 2025 02:52
@Akagi201 Akagi201 marked this pull request as ready for review November 14, 2025 02:53
@Akagi201 Akagi201 merged commit 196005b into upgrade-deps-singlestage Nov 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants