element-hq / element-hq/element-web

Custom theme colors don't override colors on auth pages

Open
#23,864 0 comments 0 reactions 0 assignees View on GitHub
A-Themes-Custom O-Uncommon S-Tolerable T-Defect Z-Labs
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

I have defined a custom theme inside the config.json. This works as expected inside the messenger, but not on auth pages like login for example.

Config:
![Bildschirmfoto 2022-11-29 um 15 11 49](https://user-images.githubusercontent.com/23381468/204551570-cf409f58-1965-49d3-8d02-c9c3c37465bc.png)

Login page:
![Bildschirmfoto 2022-11-29 um 15 12 49](https://user-images.githubusercontent.com/23381468/204551833-59d5641a-3fb6-448d-9143-302524624ce3.png)

As far as I understood the buttons use the $accent variable, which is correctly defined in the theme.
Am I missing something here?

### Outcome

#### What did you expect?

Buttons and links on the login page should have the defined theme color, in this case #264D7F.

#### What happened instead?

Buttons and links on the login page have the default green #0DBD8B Element color.

### Operating system

macOS

### Browser information

Google Chrome 107.0.5304.121

### URL for webapp

_No response_

### Application version

_No response_

### Homeserver

_No response_

### Will you send logs?

No

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.