[PR #4729] [MERGED] chore(demo): properly pass colors to variables #22453

Closed
opened 2026-04-15 21:03:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

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


📝 Commits (2)

  • 47255a9 chore(demo): properly pass colors to variables
  • 8f2180b chore: fix linting

📊 Changes

1 file changed (+48 additions, -48 deletions)

View changed files

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

📄 Description

Fixes: #4725

I forgot to add hsl() to colors.

Alternatively we could migrate to oklch() like tailwind did from v3 to v4


Summary by cubic

Wrapped all theme color variables in hsl() in demo/nextjs/app/globals.css so custom properties resolve as valid colors in light and dark modes. Fixes #4725 by restoring correct colors across the demo (backgrounds, text, borders, charts).


🔄 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/4729 **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:** `chore-demo/fix-globals-css` --- ### 📝 Commits (2) - [`47255a9`](https://github.com/better-auth/better-auth/commit/47255a9a104ac9d1d2b065aca56671e1af70987b) chore(demo): properly pass colors to variables - [`8f2180b`](https://github.com/better-auth/better-auth/commit/8f2180b32f065d5c4bd37f008009a11b4ae75544) chore: fix linting ### 📊 Changes **1 file changed** (+48 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/app/globals.css` (+48 -48) </details> ### 📄 Description Fixes: #4725 I forgot to add `hsl()` to colors. Alternatively we could migrate to `oklch()` like tailwind did from v3 to v4 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Wrapped all theme color variables in hsl() in demo/nextjs/app/globals.css so custom properties resolve as valid colors in light and dark modes. Fixes #4725 by restoring correct colors across the demo (backgrounds, text, borders, charts). <!-- 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-04-15 21:03:35 -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#22453