[PR #561] [CLOSED] fix(frontend): avoid night mode flickering on reload #666

Closed
opened 2026-02-25 23:35:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/561
Author: @sdvcrx
Created: 1/29/2023
Status: Closed

Base: masterHead: fix/night-mode


📝 Commits (1)

  • 1398489 fix(frontend): avoid night mode flickering on reload

📊 Changes

2 files changed (+18 additions, -7 deletions)

View changed files

📝 internal/view/content.html (+8 -3)
📝 internal/view/index.html (+10 -4)

📄 Description

Hi!

Shiori pages are flickering on refresh(or initialize), you can watch the video below.

https://user-images.githubusercontent.com/5170232/215329259-f1d02b9a-3899-480e-bb44-3038a23f3a13.mp4

This patch can fix it by moving nightMode related code to <head>


🔄 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/go-shiori/shiori/pull/561 **Author:** [@sdvcrx](https://github.com/sdvcrx) **Created:** 1/29/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/night-mode` --- ### 📝 Commits (1) - [`1398489`](https://github.com/go-shiori/shiori/commit/13984893793db294054c59f7b2b87925c563bcd9) fix(frontend): avoid night mode flickering on reload ### 📊 Changes **2 files changed** (+18 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `internal/view/content.html` (+8 -3) 📝 `internal/view/index.html` (+10 -4) </details> ### 📄 Description Hi! Shiori pages are flickering on refresh(or initialize), you can watch the video below. https://user-images.githubusercontent.com/5170232/215329259-f1d02b9a-3899-480e-bb44-3038a23f3a13.mp4 This patch can fix it by moving nightMode related code to `<head>` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:35:04 +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/shiori#666
No description provided.