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

Extract card component and improve card styling #220

Merged
merged 8 commits into from
Aug 9, 2024

Conversation

chrislo
Copy link
Member

@chrislo chrislo commented Aug 9, 2024

In his design review Chad suggested increasing the size and weight of the album card text and adding a light shadow as a hover state.

This PR makes those changes by first extracting a ViewComponent for the card and then applying the changes in a single place.

Old

Screenshot 2024-08-09 at 15 36 27

New

Screenshot 2024-08-09 at 15 36 12

chrislo added 8 commits August 9, 2024 12:58
And put it in to the preview template. A card expands to fill the
container (e.g. grid cell) it's placed in.
I decided to use the (otherwise empty) `subtitle` field of the
component to display the publication status, rather than implement
logic to preserve the exisiting behaviour.
In Chad's figma designs he suggested that the size and weight of the
album title and subtitle should be increased.
@chrislo chrislo force-pushed the extract-card-component branch from 8670bea to 00bfcc8 Compare August 9, 2024 14:34
@chrislo chrislo merged commit adbc4e4 into main Aug 9, 2024
2 checks passed
@chrislo chrislo deleted the extract-card-component branch August 9, 2024 14:41
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