Skip to content

Commit 865bd1b

Browse files
author
reco_luan
committed
fix: theorem and details adapt dark mode
1 parent eb419a5 commit 865bd1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

styles/custom-blocks.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
margin 1rem 0
3131
padding .1rem 1.5rem
3232
border-radius 0.4rem
33-
background-color #f0f4f8
33+
background-color var(--code-color)
3434
.title
3535
font-weight bold
3636
&.details
@@ -39,7 +39,7 @@
3939
border-radius 2px
4040
margin 1em 0
4141
padding 1rem
42-
background-color #eee
42+
background-color var(--code-color)
4343
h4
4444
margin-top 0
4545
figure, p

0 commit comments

Comments
 (0)