Set white notification header text to dark

This commit is contained in:
2026-05-28 10:29:09 +02:00
parent 6ecedc90a8
commit d1a30c726e
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
</article>
<article class="sg-card" data-component="notification-card">
<div class="sg-card-segment sg-card-segment--header sg-card-segment--white" data-component-part="card-header">
<div class="sg-card-segment sg-card-segment--header sg-card-segment--white sg-card-segment--text-dark" data-component-part="card-header">
<p class="sg-body">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vitae velit posuere, posuere mauris eu, tincidunt lorem. Proin gravida sapien in mattis molestie. Sed non risus augue. Fusce sed odio vitae purus porta efficitur. Integer tempor congue sem, a convallis lorem ornare eget. Nam. Aenean.
</p>
+4
View File
@@ -111,6 +111,10 @@
background: var(--surface-object-card-lower-segment);
}
.sg-card-segment--text-dark {
color: var(--text-card-body);
}
.sg-card--content-card {
--surface-card-header-primary: var(--surface-content-block-card-title);
--surface-card-body: var(--surface-content-block-card-content);