-
Notifications
You must be signed in to change notification settings - Fork 14
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
[component]: Teaser #4383
Labels
📦 components
Related to the @swisspost/design-system-components package
Milestone
Comments
gfellerph
added
the
📦 styles
Related to the @swisspost/design-system-styles package
label
Jan 6, 2025
sandra-post
added
📦 components
Related to the @swisspost/design-system-components package
and removed
📦 styles
Related to the @swisspost/design-system-styles package
labels
Jan 6, 2025
sandra-post
moved this from 👀 Triage
to 🎨 Design docs in review
in Design System Production Board
Jan 6, 2025
@rouvenpost Ready for docs review :-) (when done, you can tick the task "Documentation: Review" in the tasklist "Design" above) |
gfellerph
moved this from 🎨 Design docs in review
to 💡 Ready for token spec
in Design System Production Board
Jan 10, 2025
The "Text" Option seems redundant. I recommend to have the Paragraph mandatory if a Button is placed. |
@rouvenpost Fixed. |
leagrdv
moved this from 💡 Ready for token spec
to 🔮 Ready for tokenisation
in Design System Production Board
Jan 16, 2025
On hold till we decided how to implement the different palettes |
leagrdv
moved this from 🔮 Ready for tokenisation
to 🤬 Dev in Code Review
in Design System Production Board
Jan 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
A teaser card is a clickable preview that leads to detailed content, providing a convenient entry point for users to access more information. It contains maximum one interactive element (button) which links to the same location as the card.
Design
https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=3850-8203&p=f&t=C1ea6xrOkX1hTGEb-0
Tokens
DEVs proposal:
Token set name:
Components/Teaser
post-teaser-section-cards-gap
:sectionCards
gappost-teaser-section-padding-block
: Teaser section padding top and bottompost-teaser-section-gap
:sectionContent
gappost-teaser-section-top-gap
:sectionTop
gappost-teaser-section-text-gap
:sectionText
gappost-teaser-section-description-font-size
: paragraph font-size withinsectionText
post-teaser-card-sm-image-height
:cardMedia
height for small cardspost-teaser-card-lg-image-height
:cardMedia
height for large cardspost-teaser-card-elevation
: Teaser card shadowspost-teaser-card-border-radius
: Teaser card radiuspost-teaser-card-background-enabled:
Teaser card background-colorEnabled
post-teaser-card-background-hovered:
Teaser card background-colorHovered
post-teaser-card-background-selected:
Teaser card background-colorFocus
post-teaser-card-content-color-enabled:
heading and paragraph color incardContent
Enabled
post-teaser-card-content-color-hovered:
heading and paragraph color incardContent
Hovered
post-teaser-card-content-color-selected:
heading and paragraph color incardContent
Selected
post-teaser-card-sm-section-content-padding
: teaser card smallsectionContent
paddingpost-teaser-card-lg-section-content-padding
: teaser card largesectionContent
paddingpost-teaser-card-sm-section-content-gap
: teaser card smallsectionContent
gappost-teaser-card-lg-section-content-gap
: teaser card largesectionContent
gappost-teaser-card-description-font-size
: teaser cardcardContent > paragraph
font-size,post-teaser-card-sm-heading-font-size
: teaser card smallcardContent > heading
font-size,post-teaser-card-lg-heading-font-size
: teaser card largecardContent > heading
font-size,post-teaser-card-sm-content-gap
: teaser card smallcardContent
gap,post-teaser-card-lg-content-gap
: teaser card largecardContent
gap,Tasks design
🎨 Design
Tasks development
💻 Development
The text was updated successfully, but these errors were encountered: