mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-10 15:39:01 +00:00
Add "hide default page icons" option
This commit is contained in:
parent
42b2fedacf
commit
848cd86b90
@ -1,5 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* notion-enhancer: tweaks
|
* notion-enhancer: tweaks
|
||||||
|
* (c) 2024 1280px
|
||||||
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
|
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
|
||||||
* (c) 2020 arecsu
|
* (c) 2020 arecsu
|
||||||
* (https://notion-enhancer.github.io/) under the MIT license
|
* (https://notion-enhancer.github.io/) under the MIT license
|
||||||
@ -59,6 +60,13 @@
|
|||||||
content: ' ' !important;
|
content: ' ' !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.enhancer--tweak-hide_default_page_icons
|
||||||
|
.notion-sidebar a > div > div:has(.notion-record-icon svg.page),
|
||||||
|
.enhancer--tweak-hide_default_page_icons
|
||||||
|
.layout a > div > div > div > div:has(.notion-record-icon svg.page) {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.enhancer--tweak-thicker_bold .notion-page-content span[style*='font-weight:600'] {
|
.enhancer--tweak-thicker_bold .notion-page-content span[style*='font-weight:600'] {
|
||||||
font-weight: 700 !important;
|
font-weight: 700 !important;
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,7 @@ export default async function ({ web }, db) {
|
|||||||
'normalise_table_scroll',
|
'normalise_table_scroll',
|
||||||
'hide_help',
|
'hide_help',
|
||||||
'hide_slash_for_commands',
|
'hide_slash_for_commands',
|
||||||
|
'hide_default_page_icons',
|
||||||
'snappy_transitions',
|
'snappy_transitions',
|
||||||
'thicker_bold',
|
'thicker_bold',
|
||||||
'spaced_lines',
|
'spaced_lines',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tweaks",
|
"name": "tweaks",
|
||||||
"id": "5174a483-c88d-4bf8-a95f-35cd330b76e2",
|
"id": "5174a483-c88d-4bf8-a95f-35cd330b76e2",
|
||||||
"version": "0.2.0",
|
"version": "0.3.0",
|
||||||
"description": "common style/layout changes and custom code insertion. check out the [tweaks page](https://notion-enhancer.github.io/advanced/tweaks) for more.",
|
"description": "common style/layout changes and custom code insertion. check out the [tweaks page](https://notion-enhancer.github.io/advanced/tweaks) for more.",
|
||||||
"tags": ["extension", "customisation"],
|
"tags": ["extension", "customisation"],
|
||||||
"authors": [
|
"authors": [
|
||||||
@ -73,6 +73,13 @@
|
|||||||
"label": "hide \"Type '/' for commands\"",
|
"label": "hide \"Type '/' for commands\"",
|
||||||
"value": false
|
"value": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "toggle",
|
||||||
|
"key": "tweak.hide_default_page_icons",
|
||||||
|
"label": "hide default page icons",
|
||||||
|
"tooltip": "hide **default (svg.page)** page icons, both in sidebar and opened pages, to save some space",
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "toggle",
|
"type": "toggle",
|
||||||
"key": "tweak.thicker_bold",
|
"key": "tweak.thicker_bold",
|
||||||
|
Loading…
Reference in New Issue
Block a user