tweak: accented links

This commit is contained in:
dragonwocky 2021-10-10 15:19:03 +11:00
parent 4fa312c19b
commit 1af8878748
3 changed files with 16 additions and 0 deletions

View File

@ -136,6 +136,14 @@
opacity: 1; opacity: 1;
} }
.enhancer--tweak-accented_links .notion-link-token {
color: var(--theme--accent_blue) !important;
}
.enhancer--tweak-accented_links .notion-link-token span[style*='border-bottom:0.05em'] {
opacity: 1 !important;
border-color: var(--theme--accent_blue) !important;
}
.enhancer--tweak-quotation_marks .enhancer--tweak-quotation_marks
.notion-quote-block .notion-quote-block
[style*='border-left: 3px solid currentcolor;'] { [style*='border-left: 3px solid currentcolor;'] {

View File

@ -41,6 +41,7 @@ export default async function (api, db) {
'spaced_lines', 'spaced_lines',
'condensed_bullets', 'condensed_bullets',
'bracketed_links', 'bracketed_links',
'accented_links',
'quotation_marks', 'quotation_marks',
]; ];
for (const tweak of tweaks) { for (const tweak of tweaks) {

View File

@ -93,6 +93,13 @@
"tooltip": "**render links surrounded with [[brackets]] instead of __underlined__**", "tooltip": "**render links surrounded with [[brackets]] instead of __underlined__**",
"value": false "value": false
}, },
{
"type": "toggle",
"key": "tweak.accented_links",
"label": "accented links",
"tooltip": "**links are shown by default with notion's blue colour or a theme's equivalent**",
"value": false
},
{ {
"type": "toggle", "type": "toggle",
"key": "tweak.quotation_marks", "key": "tweak.quotation_marks",