Skip to content

Commit 5add0c7

Browse files
committed
fix plain button
1 parent c5a4bd5 commit 5add0c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/styles/editor-block-design-system.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ div.stk-block > :is(h1,h2,h3,h4,h5,h6) {
6161
}
6262
&.is-style-plain .stk-button {
6363
#{ '--stk-button-background-color' }: var(--stk-button-background-color-parent-hover, #008de4);
64-
#{ '--stk-button-text-color' }: var(--stk-button-plain-text-color-parent-hover, #008de4);
65-
#{ '--stk-accent-color' }: var(--stk-button-plain-text-color-parent-hover, #008de4);
64+
#{ '--stk-button-text-color' }: var(--stk-button-plain-text-color-parent-hover, cssvar(button-background-color));
65+
#{ '--stk-accent-color' }: var(--stk-button-plain-text-color-parent-hover, cssvar(button-background-color));
6666
}
6767
}
6868
.is-selected > .stk--is-hovered:is(.stk-block-button, .stk-block-icon-button, .stk-block-pagination) {
@@ -84,9 +84,9 @@ div.stk-block > :is(h1,h2,h3,h4,h5,h6) {
8484
}
8585
&.is-style-plain .stk-button {
8686
#{ '--stk-button-background-color' }: var(--stk-button-background-color-current-hover, #008de4);
87-
#{ '--stk-button-text-color' }: var(--stk-button-plain-text-color-current-hover, #008de4);
88-
#{ '--stk-accent-color-hover' }: var(--stk-button-plain-text-color-current-hover, #008de4);
89-
#{ '--stk-accent-color' }: var(--stk-button-plain-text-color-current-hover, #008de4);
87+
#{ '--stk-button-text-color' }: var(--stk-button-plain-text-color-current-hover, cssvar(button-background-color));
88+
#{ '--stk-accent-color-hover' }: var(--stk-button-plain-text-color-current-hover, cssvar(button-background-color));
89+
#{ '--stk-accent-color' }: var(--stk-button-plain-text-color-current-hover, cssvar(button-background-color));
9090
}
9191
}
9292

0 commit comments

Comments
 (0)