digital-garden/.obsidian/snippets/supercharged-links-gen.css
2024-06-13 21:01:37 +03:00

100 lines
2.8 KiB
CSS

/* WARNING: This file will be overwritten by the plugin.
Do not edit this file directly! First copy this file and rename it if you want to edit things. */
:root {
--7aa0-cdc9-color: #9270D3;
--7aa0-cdc9-weight: initial;
--7aa0-cdc9-before: '';
--7aa0-cdc9-after: '';
--7aa0-cdc9-background-color: #ffffff;
--7aa0-cdc9-decoration: initial;
}
div[data-id="7aa0-cdc9"] div.setting-item-description,
[data-link-path*="wiki/people" i] {
color: var(--7aa0-cdc9-color) !important;
font-weight: var(--7aa0-cdc9-weight);
}
.c-7aa0-cdc9-use-background div[data-id="7aa0-cdc9"] div.setting-item-description,
.c-7aa0-cdc9-use-background .data-link-text[data-link-path*="wiki/people" i] {
background-color: var(--7aa0-cdc9-background-color) !important;
border-radius: 5px;
padding-left: 2px;
padding-right: 2px;
text-decoration: var(--7aa0-cdc9-decoration) !important;
}
div[data-id="7aa0-cdc9"] div.setting-item-description::before,
.data-link-icon[data-link-path*="wiki/people" i]::before {
content: var(--7aa0-cdc9-before);
}
div[data-id="7aa0-cdc9"] div.setting-item-description::after,
.data-link-icon-after[data-link-path*="wiki/people" i]::after {
content: var(--7aa0-cdc9-after);
}
/* @settings
name: Supercharged Links
id: supercharged-links
settings:
-
id: 7aa0-cdc9
title: path is wiki/people
description: Example note
type: heading
collapsed: true
level: 3
-
id: 7aa0-cdc9-color
title: Link color
type: variable-color
format: hex
default: '#9270D3'
-
id: 7aa0-cdc9-weight
title: Font weight
type: variable-select
default: initial
options:
- initial
- lighter
- normal
- bold
- bolder
-
id: 7aa0-cdc9-decoration
title: Font decoration
type: variable-select
default: initial
options:
- initial
- underline
- overline
- line-through
-
id: 7aa0-cdc9-before
title: Prepend text
description: Add some text, such as an emoji, before the links.
type: variable-text
default: ''
quotes: true
-
id: 7aa0-cdc9-after
title: Append text
description: Add some text, such as an emoji, after the links.
type: variable-text
default: ''
quotes: true
-
id: c-7aa0-cdc9-use-background
title: Use background color
description: Adds a background color to the link. This can look buggy in live preview.
type: class-toggle
-
id: 7aa0-cdc9-background-color
title: Background color
type: variable-color
format: hex
default: '#ffffff'
*/