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

Style MuiCard system #2890

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Style MuiCard system #2890

wants to merge 3 commits into from

Conversation

juliawegmayr
Copy link
Contributor

@juliawegmayr juliawegmayr commented Dec 5, 2024

Description

Style Card and CardHeader according to Comet DXP design

Example

  • I have verified if my change requires an example

Screenshots/screencasts

Screenshot 2024-12-05 at 17 07 25

Changeset

  • I have verified if my change requires a changeset

Related tasks and documents

https://vivid-planet.atlassian.net/browse/COM-1253

Design: https://www.figma.com/design/Swzee5YSEkPVlCXHcyL7mp/COMET-DXP-Library?node-id=4180-9193&node-type=canvas&t=D9O6qzMrvU1YIVyh-0

@juliawegmayr juliawegmayr force-pushed the style-mui-card-system branch from a7b1015 to 119bb26 Compare December 5, 2024 16:08
@juliawegmayr juliawegmayr force-pushed the style-mui-card-system branch from 119bb26 to fadfcea Compare December 5, 2024 16:20
@juliawegmayr juliawegmayr marked this pull request as ready for review December 5, 2024 16:27
@auto-assign auto-assign bot requested a review from johnnyomair December 5, 2024 16:27
Comment on lines +11 to +14
"& .MuiButtonBase-root": {
paddingTop: 0,
paddingBottom: 0,
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Simply removing the padding makes the button look weird during click/focus...

In the design it seems this is a custom button anyway, as the hover is different than in other buttons.
I will check with UX to see if this is on purpose or if we can use an existing button variant here.

Implementation Design
Screen.Recording.2024-12-05.at.17.38.20.mov
Screen.Recording.2024-12-05.at.17.33.45.mov

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.

2 participants