From e70ac7dbe8d6d068610f83df958c9dbfe7472e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Mon, 18 May 2026 19:40:04 +0200 Subject: [PATCH] Add multisegment card component example --- components/cards.html | 31 +++++++++++++++++++++++++++++++ styleguide.css | 8 ++++++++ 2 files changed, 39 insertions(+) diff --git a/components/cards.html b/components/cards.html index f56983c..ed44b04 100644 --- a/components/cards.html +++ b/components/cards.html @@ -117,6 +117,37 @@ + +
+

Component: Multisegment Card

+ +
+ +
+
+
Multisegment Card
+
+ +
+

Erstes graues Segment mit Textinhalt.

+
+ +
+

Zweites graues Segment mit Textinhalt.

+
+ +
+

Erstes weißes Segment.

+
+ +
+

Zweites weißes Segment.

+
+
+ +
+
+

Component: Transparent Card

diff --git a/styleguide.css b/styleguide.css index ce5face..637a284 100644 --- a/styleguide.css +++ b/styleguide.css @@ -1906,6 +1906,14 @@ section + section { background: var(--surface-card-header-muted); } +.sg-card-segment--gray { + background: var(--surface-card-body); +} + +.sg-card-segment--white { + background: var(--surface-object-card-lower-segment); +} + .sg-card--content-card { --surface-card-header-primary: var(--surface-content-block-card-title); --surface-card-body: var(--surface-content-block-card-content);