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

Card enhancements #1750

Open
laugerud opened this issue Sep 17, 2021 · 0 comments
Open

Card enhancements #1750

laugerud opened this issue Sep 17, 2021 · 0 comments
Labels
BREAKING CHANGE enhancement Extend or improve possibilities in an existing component or feature

Comments

@laugerud
Copy link
Contributor

Extend the options to Card to support the needs of the components that are very similar to Card, Entrance box and CTA Box.

  • Cards can have a CTA thats either a Link or a Button
    • If CTA is present the card itself is not clickable
  • Add an arrow icon at the bottom if card description is present and the card itself is a link (clickable)
  • Card suface can be transparent. If so it must have a CTA and padding on the surface is compressed by defualt.
  • Add a modifier (or something else) that marks a Card as "Featured" - making it look like CTA Box.
    • Image on right or left side
    • Background colors can be lighter, dark or darker. Text color adapts accordingly.
    • Om mobile it looks like any other card, but retains its background color
@laugerud laugerud added the enhancement Extend or improve possibilities in an existing component or feature label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGE enhancement Extend or improve possibilities in an existing component or feature
Projects
None yet
Development

No branches or pull requests

1 participant