patch font sizes

This commit is contained in:
dragonwocky 2020-08-11 10:04:55 +10:00
parent a45601b2ad
commit db7992cfc3
4 changed files with 11 additions and 4 deletions

View File

@ -198,12 +198,14 @@
.notion-dark-theme
.notion-frame
.notion-scroller.vertical.horizontal
.notion-page-content,
.notion-page-content {
font-size: var(--theme_dark--font-body_size) !important;
}
.notion-dark-theme
.notion-frame
.notion-scroller.vertical.horizontal
[style*='font-size: 14px'] {
font-size: var(--theme_dark--font-body_size) !important;
font-size: var(--theme_dark--font-label_size) !important;
}
.notion-dark-theme
.notion-frame

View File

@ -200,12 +200,14 @@
.notion-light-theme
.notion-frame
.notion-scroller.vertical.horizontal
.notion-page-content,
.notion-page-content {
font-size: var(--theme_light--font-body_size) !important;
}
.notion-light-theme
.notion-frame
.notion-scroller.vertical.horizontal
[style*='font-size: 14px'] {
font-size: var(--theme_light--font-body_size) !important;
font-size: var(--theme_light--font-label_size) !important;
}
.notion-light-theme
.notion-frame

View File

@ -33,6 +33,7 @@
--theme_dark--font-heading1_size: 30px;
--theme_dark--font-heading2_size: 24px;
--theme_dark--font-heading3_size: 20px;
--theme_dark--font-label_size: 14px;
--theme_dark--font-body_size: 16px;
--theme_dark--font-code_size: 12.75px;
@ -139,6 +140,7 @@
--theme_light--font-heading1_size: 30px;
--theme_light--font-heading2_size: 24px;
--theme_light--font-heading3_size: 20px;
--theme_light--font-label_size: 14px;
--theme_light--font-body_size: 16px;
--theme_light--font-code_size: 12.75px;

View File

@ -36,6 +36,7 @@
--theme_dark--font-heading1_size: 33px;
--theme_dark--font-heading2_size: 25.3px;
--theme_dark--font-heading3_size: 19.5px;
--theme_dark--font-label_size: 15px;
--theme_dark--font-body_size: 15px;
--theme_dark--font-code_size: 13.5px;