Add green content card variant

This commit is contained in:
2026-08-12 11:13:57 +02:00
parent 9ffe4d62f3
commit 9d5f683557
2 changed files with 31 additions and 0 deletions
+17
View File
@@ -118,6 +118,23 @@
</article> </article>
</div> </div>
<p class="sg-preview-label">Variante: Green Content Card</p>
<div class="sg-preview-area">
<article class="sg-card sg-card--content-card sg-card--content-card-green" data-component="content-card" aria-label="Green Content Card">
<div class="sg-card-segment sg-card-segment--body" data-component-part="card-body">
<div class="sg-text-layout-pattern__sample sg-text-layout-pattern__two-column" data-pattern-part="text-block-two-column">
<p class="sg-body sg-text-layout-pattern__column">
Footer links: Platzhaltertext fuer allgemeine Hinweise, Navigation oder Kontaktinformationen im zweispaltigen Layout.
</p>
<p class="sg-body sg-text-layout-pattern__column">
Footer rechts: Platzhaltertext fuer ergaenzende Angaben, rechtliche Hinweise oder sekundaere Footer-Inhalte im gleichen Raster.
</p>
</div>
</div>
</article>
</div>
<p class="sg-preview-label">Variante: Footer Card</p> <p class="sg-preview-label">Variante: Footer Card</p>
<div class="sg-preview-area"> <div class="sg-preview-area">
+14
View File
@@ -38,6 +38,20 @@
color: var(--color-font-light); color: var(--color-font-light);
} }
.sg-card.sg-card--content-card-green {
--surface-content-card-green: var(--color-signal-green);
--surface-card: var(--surface-content-card-green);
--surface-card-body: var(--surface-content-card-green);
--text-card-header: var(--color-font-light);
--text-card-body: var(--color-font-light);
}
.sg-card.sg-card--content-card-green .sg-card-segment--body,
.sg-card.sg-card--content-card-green .sg-text-layout-pattern__column,
.sg-card.sg-card--content-card-green .sg-body {
color: var(--text-card-body);
}
.sg-card.sg-card--footer-card { .sg-card.sg-card--footer-card {
--surface-card: var(--color-black); --surface-card: var(--color-black);
--surface-card-body: var(--color-black); --surface-card-body: var(--color-black);