solid-design-system / solid

Monorepo for Union Investment's Solid Design System.
https://solid-design-system.fe.union-investment.de/x.x.x/storybook/
Other
19 stars 3 forks source link

fix: 🤔 Default selection for sd-flipcard #1310

Closed auroraVasconcelos closed 3 days ago

auroraVasconcelos commented 1 month ago

Current behavior

Currently, the default variant for Flipcard in the code is the empty variant. If a user selects and uses an image, low contrast may occur, potentially creating an accessibility issue.

Expected behavior

Set a different default value to prevent using the component with an image background without considering the contrast. In Figma, the default variant is primary, which would be a good approach to implement in the code as well.

Steps to reproduce

Technical Information

DoR

DoD