Skip to content

Commit

Permalink
Update font size and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed May 5, 2023
1 parent 908c3df commit 8f61c31
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mu-plugins/blocks/table-of-contents/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
& h2 {
margin: 0 !important;
color: var(--wp--preset--color--charcoal-1);
line-height: var(--wp--custom--body--large--typography--line-height);
font-family: var(--wp--preset--font-family--inter);
font-size: var(--wp--preset--font-size--large);
font-size: var(--wp--preset--font-size--small);
line-height: 1.6;
}

& button {
Expand All @@ -28,6 +28,12 @@
}
}

.wporg-table-of-contents__list {
padding-left: 1em;
font-size: var(--wp--preset--font-size--small);
line-height: var(--wp--custom--body--small--typography--line-height);
}

.wporg-table-of-contents__list a {
&:focus-visible {
outline: 1.5px solid var(--wp--preset--color--blueberry-1);
Expand Down

0 comments on commit 8f61c31

Please sign in to comment.