Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Nov 20, 2019

This was only used by vector/index.js, in the code removed by
element-hq/element-web#11445

React SDK does a very similar thing in setTheme but also gets the
rest of the custom theme name.

Requires element-hq/element-web#11445

dbkr added 5 commits November 20, 2019 13:41
Uses CSS `prefers-color-scheme` to get the user's preferred colour scheme. Also bundles up some theme logic into its own class.
This was only used by vector/index.js, in the code removed by element-hq/element-web#11445 React SDK does a very similar thing in setTheme but also gets the rest of the custom theme name. Requires element-hq/element-web#11445
@dbkr dbkr requested a review from a team November 20, 2019 15:47
@bwindels bwindels requested review from bwindels and removed request for a team November 20, 2019 17:06
Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like theming stuff

@dbkr dbkr merged commit 04641a0 into develop Nov 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants