This snippet was shared in the discord by @MartinKeigher
/*****************************/
/* Code-blocks: Font & style */
/*****************************/
.theme-dark {
--background-primary-alt: #40444d;
}
/* Edit mode */
.cm-s-obsidian pre.HyperMD-codeblock {
font-family: Cascadia Code;
font-size: 13px;
font-weight: 350;
}
/* Preview mode */
.markdown-preview-view code {
font-family: Cascadia Code;
font-size: 13px;
font-weight: 375;
}