9001 / 9001/copyparty

Theme change not applied to README.md preview

Open
#1,129 2 comments 0 reactions 1 assignee Claimed by @9001 View on GitHub
bug
Dominant language
Python
Stars
46.6k
Forks
1.9k
Avg merge
10d 16h
Merged PRs (30d)
5

Description

### Describe the bug
Hey, I found a minor bug in the UI when changing themes from a page with `README.md`/`PREADME.md`.
The new theme will be applied everywhere except in the README preview.
Simply reloading the page will fix the problem.

It's really a minor bug. I don't really expect it to be fixed, but I wanted you to be aware of it :)

### To Reproduce
To see it, go to a page with `README.md`, then change the theme.

### Expected behavior
Apply the theme to the preview.

### Screenshots

Image

### Server details (if you're NOT using docker/podman)
* run copyparty with `--version` and grab the last 3 lines (they start with `copyparty`, `CPython`, `sqlite`) and paste them below this line:
copyparty v1.19.23 "usernames" (2025-12-17)
CPython v3.13.9 on Linux64 [GCC 14.3.0]
sqlite 3.50.4*1 | jinja 3.1.6 | pyftpd 2.0.1 | tftp (None)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.