Make Onboarding Compatible With All Themes (#3604) #4196
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Description
Updated the styles in
app/assets/stylesheets/preact/onboarding-modal.scss
to support all themes. I tried to keep all of the default colors intact, so if the default theme is selected, it looks pretty much the same as it used to.A couple of things I ran into:
input[type='checkbox']:checked
background used to be set to--theme-top-bar-write-background
, but the minimal light theme uses white for that variable, so I changed it to use--theme-anchor-color
instead./assets/mobile-onboarding-background.png
background image for the mobile view has a slightly transparent white background on it, which makes it difficult to read white text even when the background is dark (see the dark mobile theme screenshot below), so I've set the text color for that part to use$black
for mobile regardless of theme.Related Tickets & Documents
#3604 - Make Onboarding Compatible With All Themes
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Added to documentation?