fix: define fonts for code block titles and language badges (#589)
This commit is contained in:
parent
6359bd960a
commit
4ad55e035c
2 changed files with 9 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ export function pluginLanguageBadge() {
|
||||||
top: 0.5rem;
|
top: 0.5rem;
|
||||||
padding: 0.1rem 0.5rem;
|
padding: 0.1rem 0.5rem;
|
||||||
content: attr(data-language);
|
content: attr(data-language);
|
||||||
|
font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
.expressive-code .frame {
|
.expressive-code {
|
||||||
|
.frame {
|
||||||
@apply !shadow-none;
|
@apply !shadow-none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue