]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix cards color for contextual color mode
authorJulien Déramond <juderamond@gmail.com>
Sun, 1 Jan 2023 22:20:48 +0000 (23:20 +0100)
committerMark Otto <otto@github.com>
Mon, 2 Jan 2023 05:56:19 +0000 (21:56 -0800)
scss/_card.scss

index 70279df9e97215395a868404be984822d3661eea..d3535a98b76f465b95652188e43d442fa3338e8e 100644 (file)
@@ -30,6 +30,7 @@
   flex-direction: column;
   min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
   height: var(--#{$prefix}card-height);
+  color: var(--#{$prefix}body-color);
   word-wrap: break-word;
   background-color: var(--#{$prefix}card-bg);
   background-clip: border-box;