theming system rework progress

This commit is contained in:
dragonwocky 2021-09-24 23:52:52 +10:00
parent 46879fe47a
commit d857209b19
6 changed files with 1246 additions and 2902 deletions
extension/repo
CHANGELOG.md
theming@0f0bf8b6-eae6-4273-b307-8fc43f2ee082
tweaks@5174a483-c88d-4bf8-a95f-35cd330b76e2

View File

@ -8,6 +8,7 @@
- improved: replaced confusing all-tag filters with themes/extensions/enabled/disabled filters. - improved: replaced confusing all-tag filters with themes/extensions/enabled/disabled filters.
- removed: integrated scrollbar tweak (notion now includes by default). - removed: integrated scrollbar tweak (notion now includes by default).
- removed: js insert. css insert moved to tweaks mod. - removed: js insert. css insert moved to tweaks mod.
- removed: majority of layout and font size variables - better to leave former to notion and use `ctrl +` for latter.
- ported: tweaks, bypass-preview. - ported: tweaks, bypass-preview.
#### todo #### todo

View File

@ -14,7 +14,7 @@
], ],
"css": { "css": {
"frame": ["variables.css"], "frame": ["variables.css"],
"client": ["variables.css", "prism.css"], "client": ["variables.css", "prism.css", "theme.css"],
"menu": ["variables.css", "prism.css"] "menu": ["variables.css", "prism.css"]
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -21,9 +21,9 @@
font-weight: 700 !important; font-weight: 700 !important;
} }
.tweak--spaced_lines { .tweak--spaced_lines .notion-page-content .notion-selectable.notion-text-block {
--theme--text_block-line_height: 1.65; line-height: 1.65 !important;
--theme--text_block-margin_top: 0.75em; margin-top: 0.75em !important;
} }
.tweak--condensed_bullets .notion-selectable.notion-bulleted_list-block { .tweak--condensed_bullets .notion-selectable.notion-bulleted_list-block {