Skip to content

Migrate UI from Angular Material to DaisyUI#52

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/upgrade-ui-to-daisyui
Draft

Migrate UI from Angular Material to DaisyUI#52
Copilot wants to merge 2 commits intomainfrom
copilot/upgrade-ui-to-daisyui

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

Replaces Angular Material with DaisyUI v5 on top of the existing Tailwind CSS v4 stack. Removes @angular/material and @angular/cdk as dependencies entirely.

Component mapping

Before (Material) After (DaisyUI)
mat-toolbar navbar
mat-card card / card-body
mat-form-field + matInput form-control + input input-bordered
mat-autocomplete Native <datalist>
mat-raised-button / mat-button btn btn-primary / btn btn-ghost
mat-list / mat-list-item list / list-row
mat-progress-bar progress progress-primary
MatDialog service Native <dialog> + DaisyUI modal

Style changes

  • styles.css: replaced split Tailwind layer imports (workaround for Material base reset) with @import "tailwindcss" + @plugin "daisyui"
  • themes.scss: removed all @use "@angular/material" / @include mat.theme() blocks
  • Removed unused theme property from all environment*.ts files (was only used to apply a Material theme class to <body>)

Dialog

Replaced MatDialog service injection + TemplateRef with the native HTMLDialogElement API:

openDialog(): void {
  (this.#document.getElementById('app-info-modal') as HTMLDialogElement)?.showModal();
}
<dialog id="app-info-modal" class="modal">
  <div class="modal-box max-w-2xl"></div>
  <form method="dialog" class="modal-backdrop"><button>close</button></form>
</dialog>

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: inpercima <10551931+inpercima@users.noreply.github.com>
Agent-Logs-Url: https://github.com/inpercima/explore-tmdb/sessions/cdceb5df-9a5c-41ca-bee2-41a45773567e
Copilot AI changed the title [WIP] Update UI from Material to DaisyUI Migrate UI from Angular Material to DaisyUI Mar 26, 2026
Copilot AI requested a review from inpercima March 26, 2026 12:55
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