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

Dark mode #1825

Merged
merged 40 commits into from
Oct 12, 2023
Merged

Dark mode #1825

merged 40 commits into from
Oct 12, 2023

Conversation

StylianosGakis
Copy link
Member

@StylianosGakis StylianosGakis commented Oct 12, 2023

Includes some migrations from LargeContainedTextButton to Hedvig*Button so that we don't use the purple colors.

And some special handling for chat due to it being in XML

Shows a bunch of our reusable components with a dark mode toggle
For dark mode, greyscale_800 should be used for the typing flicker
instead.
Before, in the scenario where PSA was there but no member reminders,
there was only a 8dp space between PSA and the buttons below which is
wrong.
That color is white with black text in both themes
Remove some styles and instead just add a custom color for dark and
light mode.
Chat toolbar still needs the color explicitly otherwise it will look
transparent and hard to see
Bottom padding because it was touching the chat box. Top padding because
it was now going behind the toolbar.
This is not super nice, but again, when the XML is gone we will do it
right
Before, since the lifecycle would not be resumed after trying to pop the
backstack before going to the next destination, it would result in the
chat navigation not happening.
Using the right navigation API to do this in the first place, with the
popUpTo builder function will make this work reliably
@StylianosGakis StylianosGakis requested a review from a team as a code owner October 12, 2023 13:26
@StylianosGakis StylianosGakis changed the base branch from develop to fix/backend_breaking_changes October 12, 2023 14:38
Base automatically changed from fix/backend_breaking_changes to develop October 12, 2023 16:09
@StylianosGakis StylianosGakis merged commit 0c92863 into develop Oct 12, 2023
@StylianosGakis StylianosGakis deleted the makerdays/dark_mode branch October 12, 2023 16:09
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.

1 participant