-
I'm trying to customize the theme and can't find options in Style Settings for:
|
Beta Was this translation helpful? Give feedback.
Answered by
Akifyss
May 11, 2023
Replies: 1 comment
-
When you do not manually customize the color and save it, the style settings plugin will display the color as transparent as the default. This is a function of the plugin itself. These options are not currently available, so yes, you will need to manually add the code to your snippet.
@media (hover: hover) {
a:not(.tag, .raindrop-tag, :has(img:not(.link-favicon))):hover,
.cm-s-obsidian .cm-line:not(.cm-active) span.cm-hmd-internal-link:hover,
.external-link:not(:has(img:not(.link-favicon))):hover,
.cm-s-obsidian .cm-line:not(.cm-active) span:is(.cm-link, .cm-url):hover {
background-color: var(--background-modifier-hover); /* Your color here */
}
}
body {
--code-size: var(--font-smaller); /* Your text-size here */
--code-normal: var(--text-muted); /* Your color here */
--code-comment: var(--text-faint);
--code-function: var(--color-yellow);
--code-important: var(--color-orange);
--code-keyword: var(--color-pink);
--code-operator: var(--color-red);
--code-property: var(--color-cyan);
--code-punctuation: var(--text-muted);
--code-string: var(--color-green);
--code-tag: var(--color-red);
--code-value: var(--color-purple);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iHeadway
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you do not manually customize the color and save it, the style settings plugin will display the color as transparent as the default. This is a function of the plugin itself.
These options are not currently available, so yes, you will need to manually add the code to your snippet.