mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-04 04:39:03 +00:00
new theme screenshots + bugfixes
This commit is contained in:
parent
fe2a0115c3
commit
1011875530
131
README.md
131
README.md
@ -34,7 +34,7 @@ during installation/removal, make sure no notion processes are running! (check y
|
||||
**win10, macOS**
|
||||
|
||||
1. [install node.js](https://nodejs.org/en/download/) (_a computer restart may be required here._)
|
||||
2. execute `npm i -g notion-enhancer` in the terminal/command prompt as a root/admin user.
|
||||
2. execute `npm i -g notion-enhancer` in the terminal/command prompt.
|
||||
|
||||
**debian/ubuntu, chromeOS, WSL (to modify the win10 app)**
|
||||
|
||||
@ -107,17 +107,52 @@ these include:
|
||||
|
||||
**author**: [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
| option | type | default |
|
||||
| ---------------------------- | --------------------------------------------------------------------------------------------- | -------------------------- |
|
||||
| hide app on open | toggle | no |
|
||||
| auto-maximise windows | toggle | no |
|
||||
| close window to the tray | toggle | yes |
|
||||
| integrated titlebar | toggle | yes |
|
||||
| height of frameless dragarea | number input | `15` |
|
||||
| integrated scrollbars | toggle | yes |
|
||||
| window display hotkey | [accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md) input | `CommandOrControl+Shift+A` |
|
||||
| option | type | default |
|
||||
| ----------------------------- | --------------------------------------------------------------------------------------------- | -------------------------- |
|
||||
| hide app on open | toggle | no |
|
||||
| auto-maximise windows | toggle | no |
|
||||
| close window to the tray | toggle | yes |
|
||||
| integrated titlebar | toggle | yes |
|
||||
| height of frameless dragarea | number input | `15` |
|
||||
| tiling window manager mode | toggle | no |
|
||||
| integrated scrollbars | toggle | yes |
|
||||
| window display hotkey | [accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md) input | `CommandOrControl+Shift+A` |
|
||||
| open enhancements menu hotkey | [accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md) input | `Alt+E` |
|
||||
|
||||

|
||||

|
||||
|
||||
### always on top
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** add an arrow/button to show the notion window
|
||||
on top of other windows even if it's not focused.
|
||||
|
||||
**author**: [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
### bracketed links
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** render links surrounded with \[\[brackets]] instead of underlined.
|
||||
|
||||
**author**: [arecsu](https://github.com/arecsu/)
|
||||
|
||||
### bypass preview
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** go straight to the normal full view when opening a page.
|
||||
|
||||
**author:** [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
### calendar scroll
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** add a button to scroll down to the current week in fullpage/infinite-scroll calendars.
|
||||
|
||||
**author:** [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
### custom inserts
|
||||
|
||||
@ -127,18 +162,10 @@ these include:
|
||||
|
||||
**author**: [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
| option | type | default |
|
||||
| --------------------- | ---- | ------- |
|
||||
| css insert | file | none |
|
||||
| client-side js insert | file | none |
|
||||
|
||||
### bracketed links
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** render links surrounded with \[\[brackets]] instead of underlined.
|
||||
|
||||
**author**: [arecsu](https://github.com/arecsu/)
|
||||
| option | type |
|
||||
| --------------------- | ---- |
|
||||
| css insert | file |
|
||||
| client-side js insert | file |
|
||||
|
||||
### dark+
|
||||
|
||||
@ -152,7 +179,7 @@ these include:
|
||||
| -------------- | ----- | ------------------ |
|
||||
| primary colour | color | `rgb(177, 24, 24)` |
|
||||
|
||||

|
||||

|
||||
|
||||
### emoji sets
|
||||
|
||||
@ -162,6 +189,10 @@ these include:
|
||||
|
||||
**author:** [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
| option | type | values |
|
||||
| ------ | ------ | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| style | select | twitter, apple, google, microsoft, samsung, whatsapp, facebook, joypixels, openmoji, emojidex, messenger, lg, htc, mozilla |
|
||||
|
||||

|
||||
|
||||
### focus mode
|
||||
@ -174,6 +205,22 @@ these include:
|
||||
|
||||

|
||||
|
||||
### font chooser
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** customize fonts. for each option, type in the name of
|
||||
the font you would like to use, or leave it blank to not change anything.
|
||||
|
||||
**author:** [torchatlas](https://github.com/torchatlas)
|
||||
|
||||
| option | type |
|
||||
| -------------------- | ---------- |
|
||||
| sans-serif (inc. ui) | text input |
|
||||
| serif | text input |
|
||||
| monospace | text input |
|
||||
| code | text input |
|
||||
|
||||
### gameish
|
||||
|
||||
**tags:** #theme #dark
|
||||
@ -182,7 +229,7 @@ these include:
|
||||
|
||||
**author:** [LVL100ShrekCultist](https://reddit.com/user/LVL100ShrekCultist/)
|
||||
|
||||

|
||||

|
||||
|
||||
### hide help
|
||||
|
||||
@ -192,6 +239,26 @@ these include:
|
||||
|
||||
**author**: [coryzibell](https://github.com/coryzibell/)
|
||||
|
||||
### littlepig dark
|
||||
|
||||
**tags:** #theme #dark
|
||||
|
||||
**description:** a purple monospaced theme using emojis and colourful text.
|
||||
|
||||
**author:** [Lizishan](https://www.reddit.com/user/Lizishan/)
|
||||
|
||||

|
||||
|
||||
### littlepig light
|
||||
|
||||
**tags:** #theme #light
|
||||
|
||||
**description:** a bright monospaced theme using emojis and colourful text.
|
||||
|
||||
**author:** [Lizishan](https://www.reddit.com/user/Lizishan/)
|
||||
|
||||

|
||||
|
||||
### neutral
|
||||
|
||||
**tags:** #theme #dark
|
||||
@ -200,7 +267,7 @@ these include:
|
||||
|
||||
**author:** [arecsu](https://github.com/arecsu/)
|
||||
|
||||

|
||||

|
||||
|
||||
### night shift
|
||||
|
||||
@ -218,7 +285,7 @@ these include:
|
||||
|
||||
**author:** [zenith_illinois](https://reddit.com/user/zenith_illinois/)
|
||||
|
||||

|
||||

|
||||
|
||||
### property layout
|
||||
|
||||
@ -236,7 +303,7 @@ these include:
|
||||
|
||||
**author:** [obahareth](https://github.com/obahareth/)
|
||||
|
||||

|
||||

|
||||
|
||||
### weekly view
|
||||
|
||||
@ -248,6 +315,14 @@ these include:
|
||||
|
||||

|
||||
|
||||
### word counter
|
||||
|
||||
**tags:** #extension
|
||||
|
||||
**description:** add page details: word/character/sentence/block count & speaking/reading times.
|
||||
|
||||
**author:** [dragonwocky](https://github.com/dragonwocky/)
|
||||
|
||||
## contributors
|
||||
|
||||
[@TarasokUA](https://github.com/TarasokUA/) wrote the first versions of this in python, in early 2020.
|
||||
|
@ -13,7 +13,7 @@ module.exports = {
|
||||
tags: ['extension'],
|
||||
name: 'calendar scroll',
|
||||
desc:
|
||||
'add a button to scroll down to the current week in fullpage/infinite-scroll calendars',
|
||||
'add a button to scroll down to the current week in fullpage/infinite-scroll calendars.',
|
||||
version: '0.1.0',
|
||||
author: 'dragonwocky',
|
||||
hacks: {
|
||||
|
@ -15,7 +15,7 @@ module.exports = (store) => {
|
||||
buttons = {
|
||||
element: helpers.createElement('<div class="window-buttons-area"></div>'),
|
||||
insert: [
|
||||
...((store('mods')['72886371-dada-49a7-9afc-9f275ecf29d3'] || {})
|
||||
...((store('mods', {})['72886371-dada-49a7-9afc-9f275ecf29d3'] || {})
|
||||
.enabled
|
||||
? ['alwaysontop']
|
||||
: []),
|
||||
|
@ -39,7 +39,8 @@
|
||||
[style*='pointer-events:'][style*='max-width: 100%; width: 900px'] {
|
||||
width: var(--theme--page_normal-width) !important;
|
||||
}
|
||||
.notion-page-content [style*='max-width: 696px'] {
|
||||
|
||||
.notion-page-content [data-block-id][style*='max-width'] {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.notion-frame
|
||||
@ -51,12 +52,18 @@
|
||||
[style*='pointer-events:'][style*='max-width: 100%; width: 100%'] {
|
||||
width: var(--theme--page_full-width) !important;
|
||||
}
|
||||
.notion-text-block [style*='padding-left: 1.5em'],
|
||||
.notion-frame .notion-scroller [style*='padding-left: 136.5px;'] {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
.notion-frame .notion-scroller [style*='padding-right: 136.5px;'] {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
.notion-collection_view-block > :first-child,
|
||||
.notion-collection_view-block .notion-scroller > :first-child {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.notion-peek-renderer
|
||||
.notion-scroller.vertical
|
||||
|
@ -48,7 +48,7 @@ module.exports = {
|
||||
function autoAlignPageContent() {
|
||||
document
|
||||
.querySelectorAll(
|
||||
'.notion-page-content > div[data-block-id]:not([dir])'
|
||||
'.notion-page-content > div[data-block-id]:not([dir]), [placeholder="Untitled"]:not([dir])'
|
||||
)
|
||||
.forEach((block) => block.setAttribute('dir', 'auto'));
|
||||
document
|
||||
|
@ -15,6 +15,7 @@
|
||||
}
|
||||
#word-counter-details > div > p {
|
||||
margin: 0.5em;
|
||||
cursor: pointer;
|
||||
font-size: var(--theme--font_label-size);
|
||||
color: var(--theme--text);
|
||||
border-radius: 3px;
|
||||
|
Loading…
Reference in New Issue
Block a user