refactor: use global css for code block

This commit is contained in:
jinhojang6
2023-06-23 23:03:21 +09:00
parent 672b60c53a
commit 2054893e20
3 changed files with 3 additions and 3 deletions
@@ -5,7 +5,7 @@ const theme: PrismTheme = {
...dracula,
plain: {
...dracula.plain,
backgroundColor: 'rgba(255, 255, 255, 0.08)',
backgroundColor: 'rgba(var(--lsd-surface-secondary), 0.08)',
},
}
@@ -5,7 +5,7 @@ const theme: PrismTheme = {
...vsLight,
plain: {
...vsLight.plain,
backgroundColor: 'rgba(0, 0, 0, 0.08)',
backgroundColor: 'rgba(var(--lsd-surface-secondary), 0.08)',
},
}
@@ -4,7 +4,7 @@
}
.codeBlockTitle {
background: rgba(var(--lsd-theme-primary), 0.08);
background: var(--prism-background-color);
border-bottom: 1px solid var(--ifm-color-primary);
font-size: var(--ifm-code-font-size);
font-weight: 500;