[PR #4725] [MERGED] chore(demo): fix globals.css #5549

Closed
opened 2026-03-13 12:26:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4725
Author: @jslno
Created: 9/17/2025
Status: Merged
Merged: 9/17/2025
Merged by: @himself65

Base: canaryHead: fix-demo/fix-globals-css


📝 Commits (2)

📊 Changes

1 file changed (+43 additions, -3 deletions)

View changed files

📝 demo/nextjs/app/globals.css (+43 -3)

📄 Description

Fixes: #4681


Summary by cubic

Update demo globals.css to Tailwind v4 syntax and add dark-mode + theme tokens to fix missing styles in the Next.js demo. Addresses #4681.

  • Refactors
    • Switch from @tailwind directives to @import "tailwindcss" and add "tw-animate-css".
    • Add @custom-variant dark and consolidate CSS vars under @layer base.
    • Introduce @theme inline to map design tokens (colors, radius, sidebar) to CSS variables.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4725 **Author:** [@jslno](https://github.com/jslno) **Created:** 9/17/2025 **Status:** ✅ Merged **Merged:** 9/17/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix-demo/fix-globals-css` --- ### 📝 Commits (2) - [`e44878e`](https://github.com/better-auth/better-auth/commit/e44878e410e8e083d7e3082019c017c5bfa35043) chore(demo): fix globals.css - [`1d26817`](https://github.com/better-auth/better-auth/commit/1d268177835741ea709b99c02b1b5373144d8a4e) chore: fix linting ### 📊 Changes **1 file changed** (+43 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/app/globals.css` (+43 -3) </details> ### 📄 Description Fixes: #4681 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update demo globals.css to Tailwind v4 syntax and add dark-mode + theme tokens to fix missing styles in the Next.js demo. Addresses #4681. - **Refactors** - Switch from @tailwind directives to @import "tailwindcss" and add "tw-animate-css". - Add @custom-variant dark and consolidate CSS vars under @layer base. - Introduce @theme inline to map design tokens (colors, radius, sidebar) to CSS variables. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:26:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5549