Skip to content

Commit e7fe5e6

Browse files
committed
Fix header icon colors in default style
1 parent f9f9b9c commit e7fe5e6

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

style.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,9 @@ body.admin-bar .wp-site-blocks {
604604
}
605605

606606
.snapshot-icon path {
607-
color: var(--wp--preset--color--secondary);
607+
color: currentColor;
608608
fill: transparent;
609-
stroke: var(--wp--preset--color--secondary);
609+
stroke: currentColor;
610610
}
611611
}
612612

@@ -899,6 +899,7 @@ ol.so-is-block {
899899
background: none;
900900
border: none;
901901
cursor: pointer;
902+
color: inherit;
902903
font-size: inherit; /* Inherit from parent container */
903904
padding: 0 !important; /* Remove padding - wrapper already has it */
904905
display: flex !important;
@@ -931,6 +932,13 @@ ol.so-is-block {
931932

932933
svg {
933934
fill: none !important;
935+
height: auto;
936+
width: auto;
937+
938+
path {
939+
stroke: currentColor;
940+
transition: stroke 150ms ease-in-out;
941+
}
934942
}
935943
}
936944

@@ -1560,6 +1568,11 @@ footer .wp-block-button__link.wp-element-button {
15601568
}
15611569
}
15621570

1571+
header.wp-block-template-part .snapshot-icon path,
1572+
.snapshot-header-wrapper .snapshot-icon path {
1573+
stroke: currentColor;
1574+
}
1575+
15631576
a:hover > .snapshot-icon,
15641577
a:focus > .snapshot-icon,
15651578
button:hover > .snapshot-icon,

0 commit comments

Comments
 (0)