Skip to content

Commit

Permalink
chore: fix font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Apr 25, 2024
1 parent 518dc9a commit 9f2e2cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/myst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
9 changes: 4 additions & 5 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
},
Expand All @@ -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':
{
Expand Down

0 comments on commit 9f2e2cb

Please sign in to comment.