STYLE Update heading styles to include advised text color and refine border properties for stroked style

This commit is contained in:
Antoine M 2025-12-04 17:01:05 +01:00
parent 09c6c446a8
commit f98bb9159b

View File

@ -66,8 +66,10 @@
&.is-style-stroked-after { &.is-style-stroked-after {
@apply flex items-end gap-4; @apply flex items-end gap-4;
overflow-wrap: anywhere; overflow-wrap: anywhere;
--advised-text-color: currentColor;
&:after { &:after {
@apply flex-auto border-b-2 border-primary border-solid mb-2; @apply flex-auto border-b-2 border-solid mb-2;
border-bottom: 2px solid var(--advised-text-color, --wp--preset--color--primary);
content: ''; content: '';
display: block; display: block;
} }