Skip to content

Commit 003f856

Browse files
authored
add whcm to svg in illustrated message (#4802)
* add css for hcm * spacing * fix
1 parent 3efcd7d commit 003f856

File tree

1 file changed

+9
-1
lines changed
  • packages/@adobe/spectrum-css-temp/components/illustratedmessage

1 file changed

+9
-1
lines changed

packages/@adobe/spectrum-css-temp/components/illustratedmessage/skin.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ governing permissions and limitations under the License.
1111
*/
1212

1313
.spectrum-IllustratedMessage > svg {
14-
color: var(--spectrum-global-color-gray-500);
14+
--spectrum-IllustratedMessage-illustration-color: var(--spectrum-global-color-gray-500);
15+
16+
color: var(--spectrum-IllustratedMessage-illustration-color);
1517
fill: currentColor;
1618
stroke: currentColor;
1719
}
@@ -23,3 +25,9 @@ governing permissions and limitations under the License.
2325
.spectrum-IllustratedMessage-description {
2426
color: var(--spectrum-body-secondary-text-color);
2527
}
28+
29+
@media (forced-colors: active) {
30+
.spectrum-IllustratedMessage > svg {
31+
--spectrum-IllustratedMessage-illustration-color: CanvasText;
32+
}
33+
}

0 commit comments

Comments
 (0)