Skip to content

Commit a2d8ab6

Browse files
committed
fix theme compatibility
1 parent 4ccf490 commit a2d8ab6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "cssvars";
22

33
// Typography
4-
:where(.block-editor-block-list__layout) .stk-block > :is(h1,h2,h3,h4,h5,h6) {
4+
div.stk-block > :is(h1,h2,h3,h4,h5,h6) {
55
color: var(--stk-heading-color);
66
}
77
.stk--is-hovered > .stk-hover-parent .stk-block {

src/styles/editor-compat.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,8 @@
4646
margin-left: auto;
4747
margin-right: auto;
4848
}
49+
50+
.stk-block a {
51+
color: var(--stk-link-color);
52+
}
4953
}

0 commit comments

Comments
 (0)