diff --git a/CHANGELOG.md b/CHANGELOG.md index 6559d83..ce6bed9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,7 @@ a flexibility update. higher up on the list = higher priority of application = loaded last in order to override others. (excluding the core, which though pinned to the top of the list is always loaded first so theming variables can be modified.) -- new: in-page columns are disabled/wrapped and pages are wider when - the window is narrower than 600px for improved responsiveness. - new: relaunch button in tray menu. -- new: a core mod option to make transitions snappy/0s. - new: a core mod option for a default page id/url (all new windows will load it instead of the normal "most recent" page). - new: css variables for increasing line spacing/paragraph margins. @@ -57,19 +54,26 @@ a flexibility update. originally by zeno rocha and friends. - extension: "tabs" = have multiple notion pages open in a single window. - extension: "scroll to top" = add an arrow above the help button to scroll back to the top of a page. +- extension: "tweaks" = common style/layout changes. includes: + - new: make transitions snappy/0s. + - new: in-page columns are disabled/wrapped and pages are wider when + the window is narrower than 600px for improved responsiveness. + - new: thicker bold text for better visibility. + - moved: smooth scrollbars. + - moved: change dragarea height. + - moved: hide help. a fork of notion-deb-builder that does generate an app.asar has been created and is once again supported. // todo -- bugfix: night shift working on macOS. -- bugfix: windows are properly hidden/shown on macOS. -- extension: "tweaks" = common style/layout changes. +- new: more readable line spacing. MACOS SPECIFIC FIXES - close to tray: perma-true - frameless mode: perma-false +- open ext. menu hotkey not working? ### v0.9.1 (2020-09-26) diff --git a/mods/calendar-scroll/mod.js b/mods/calendar-scroll/mod.js index 13dcd89..4284076 100644 --- a/mods/calendar-scroll/mod.js +++ b/mods/calendar-scroll/mod.js @@ -6,7 +6,7 @@ 'use strict'; -const helpers = require('../../pkg/helpers.js'); +const { createElement } = require('../../pkg/helpers.js'); module.exports = { id: 'b1c7db33-dfee-489a-a76c-0dd66f7ed29a', @@ -26,7 +26,7 @@ module.exports = { if (!notion_elem) return; clearInterval(attempt_interval); - const button = helpers.createElement( + const button = createElement( '' ); button.addEventListener('click', (event) => { diff --git a/mods/core/client.js b/mods/core/client.js index d094fea..0d97db1 100644 --- a/mods/core/client.js +++ b/mods/core/client.js @@ -79,12 +79,6 @@ module.exports = (store, __exports) => { return; clearInterval(attempt_interval); - // toggleable styles - if (store().smooth_scrollbars) - document.body.classList.add('smooth-scrollbars'); - if (store().snappy_transitions) - document.body.classList.add('snappy-transitions'); - // frameless if (store().frameless && !store().tiling_mode && !tabsEnabled) { document.body.classList.add('frameless'); @@ -92,10 +86,6 @@ module.exports = (store, __exports) => { document .querySelector('.notion-topbar') .prepend(helpers.createElement('
')); - document.documentElement.style.setProperty( - '--configured--dragarea_height', - `${store().dragarea_height + 2}px` - ); } // window buttons diff --git a/mods/core/css/responsive.css b/mods/core/css/responsive.css deleted file mode 100644 index 0b92c03..0000000 --- a/mods/core/css/responsive.css +++ /dev/null @@ -1,26 +0,0 @@ -/* - * notion-enhancer - * (c) 2020 dragonwocky