refining button links

This commit is contained in:
Antoine M 2023-11-16 16:25:11 +01:00
parent a9d100fba9
commit d88147a881

View File

@ -38,10 +38,12 @@
} }
&--classic { &--classic {
@apply bg-primary text-white; @apply bg-primary text-white;
.icon, .icon {
.wp-block-button__link {
@apply bg-secondary; @apply bg-secondary;
} }
.wp-block-button__link {
@apply cta cta--secondary;
}
a { a {
@apply !text-white; @apply !text-white;
} }
@ -54,11 +56,16 @@
} }
&--warning { &--warning {
@apply !bg-transparent !relative !text-secondary; @apply !bg-transparent !relative !text-secondary;
.icon,
.wp-element-button, .icon {
ul li:before {
@apply !bg-secondary; @apply !bg-secondary;
} }
.wp-block-button__link {
@apply cta cta--secondary;
}
wp-block-button__link ul li:before {
@apply bg-secondary;
}
.homegrade-blocks-highlight__block-title, .homegrade-blocks-highlight__block-title,
*::marker { *::marker {
@apply !text-secondary; @apply !text-secondary;