Skip to content

.mx_MessagePanel_myReadMarker has invalid css #27482

Closed
matrix-org/matrix-react-sdk
#12772
@IceMinePenguin

Description

@IceMinePenguin

Steps to reproduce

I was creating a custom theme for element web. I noticed the unread bar that appears when you go into a room with unread messages wasn't themed correctly. I opened the inspector and found the css. it is trying to set the color to "--accent" which doesn't exist, so it falls back to green.

image

Outcome

What did you expect?

I would expect the element to either use --accent-color or for --accent to exist and the style to not fall back to the default green.

What happened instead?

It is referencing a variable that does not exist.

Operating system

Arch Linux

Browser information

Firefox 125.0.3-2

URL for webapp

Private self hosted instance,

Application version

Version 1.11.60

Homeserver

Private homeserver, Synapse, 1.102.0

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-Read-MarkerGreen line showing how far _you_ have readA-Themes-CustomCustom theme variables or supportO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-Labs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions