[PR #2340] [MERGED] fix: stop theme flashes with cloudflare rocket loader #2075

Closed
opened 2026-03-02 12:00:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2340
Author: @sweepies
Created: 1/3/2026
Status: Merged
Merged: 1/3/2026
Merged by: @MohamedBassem

Base: mainHead: fix-theme-flash


📝 Commits (1)

  • efce732 fix: stop theme flashes with cloudflare rocket loader

📊 Changes

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

View changed files

📝 apps/web/components/theme-provider.tsx (+5 -1)

📄 Description

Fixes light mode flashes on page load when using Cloudflare Rocket Loader as per the next-theme docs: https://github.com/pacocoursey/next-themes#using-with-cloudflare-rocket-loader


🔄 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/karakeep-app/karakeep/pull/2340 **Author:** [@sweepies](https://github.com/sweepies) **Created:** 1/3/2026 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `fix-theme-flash` --- ### 📝 Commits (1) - [`efce732`](https://github.com/karakeep-app/karakeep/commit/efce732b5a3866cb2b07eef9471df5bddf985d48) fix: stop theme flashes with cloudflare rocket loader ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/theme-provider.tsx` (+5 -1) </details> ### 📄 Description Fixes light mode flashes on page load when using Cloudflare Rocket Loader as per the next-theme docs: https://github.com/pacocoursey/next-themes#using-with-cloudflare-rocket-loader --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:00:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#2075
No description provided.