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

fix: add dark mode version of Settings Object cover image #3079

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

thaisguigon
Copy link
Contributor

Fixes #3078

@thaisguigon thaisguigon marked this pull request as ready for review December 19, 2023 16:28
Copy link
Member

@Weiko Weiko left a comment

Choose a reason for hiding this comment

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

LGTM!


const StyledCoverImageContainer = styled(Card)`
align-items: center;
background-image: url(${CoverImage.toString()});
background-image: ${({ theme }) =>
theme.name === 'light'
Copy link
Member

Choose a reason for hiding this comment

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

Just wondering if we should change theme.ts and align with the backend to avoid potential bugs, it seems we store ColorScheme.Light with 'Light' in DB and not 'light'.

Copy link
Member

Choose a reason for hiding this comment

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

@Weiko Weiko merged commit 235b97f into main Dec 19, 2023
14 checks passed
@Weiko Weiko deleted the fix/add-Settings-Objects-dark-mode-cover-image branch December 19, 2023 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Settings Objects - Cover image is not adapted for Dark Mode
2 participants