Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new theme API in react-sdk #11442

Merged
merged 1 commit into from Nov 20, 2019
Merged

Use new theme API in react-sdk #11442

merged 1 commit into from Nov 20, 2019

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Nov 20, 2019

A thesis presented in two parts. This part has the absolute minimum
logic changes to the themeing code in vector/index.js because I know
how subtle and fragile this code is. However, it also looks like it's
completely duplicated from react-sdk, so in the next part I'm going
to remove that logic and make it use the logic in react-sdk, then we
can see what breaks.

Requires matrix-org/matrix-react-sdk#3637

A thesis presented in two parts. This part has the absolute minimum
logic changes to the themeing code in vector/index.js because I know
how subtle and fragile this code is. However, it also looks like it's
completely duplicated from react-sdk, so in the next part I'm going
to remove that logic and make it use the logic in react-sdk, then we
can see what breaks.

Requires matrix-org/matrix-react-sdk#3637
@dbkr dbkr requested a review from a team November 20, 2019 14:11
@dbkr dbkr mentioned this pull request Nov 20, 2019
@bwindels bwindels requested review from bwindels and removed request for a team November 20, 2019 15:48
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.

lgtm, code doesn't look duplicated though as mentioned in the description?

@dbkr
Copy link
Member Author

dbkr commented Nov 20, 2019

Well, duplicated code was already there - see #11445

@dbkr dbkr merged commit 135d5f4 into develop Nov 20, 2019
@t3chguy t3chguy deleted the dbkr/system_dark_mode branch May 12, 2022 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants