diff --git a/src/myst.ts b/src/myst.ts index adde20a..d088c10 100644 --- a/src/myst.ts +++ b/src/myst.ts @@ -99,7 +99,6 @@ export async function processArticleMDAST( const { frontmatter: frontmatterRaw } = getFrontmatter(file, mdast); // unnestKernelSpec(rawPageFrontmatter); - console.log(JSON.stringify(frontmatterRaw)); const frontmatter = validatePageFrontmatter(frontmatterRaw, { property: 'frontmatter', messages: {} diff --git a/tailwind.config.js b/tailwind.config.js index 0eb310b..af9269f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -20,11 +20,11 @@ module.exports = { typography: theme => ({ DEFAULT: { css: { + fontSize: 'var(--jp-content-font-size1)', + color: 'var(--jp-content-font-color1)', + fontFamily: 'var(--jp-content-font-family)', + lineHeight: 'var(--jp-content-line-height)', p: { - color: 'var(--jp-content-font-color1)', - fontFamily: 'var(--jp-content-font-family)', - fontSize: 'var(--jp-content-font-size1)', - lineHeight: 'var(--jp-content-line-height)', marginTop: 0, marginBottom: '1em' }, @@ -34,7 +34,6 @@ module.exports = { fontStyle: 'normal', marginTop: 'var(--jp-content-heading-margin-top, 1.2em)', marginBottom: 'var(--jp-content-heading-margin-bottom, 0.8em)', - color: 'var(--jp-content-font-color1)' }, 'h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child': {