mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 10:24:23 +01:00
style/note colors: include the original custom color
This commit is contained in:
parent
a6682be251
commit
3fa6b264e5
@ -32,6 +32,7 @@ function createClassForColor(colorString: string | null) {
|
|||||||
|
|
||||||
$("head").append(`<style>
|
$("head").append(`<style>
|
||||||
.${className}, span.fancytree-active.${className} {
|
.${className}, span.fancytree-active.${className} {
|
||||||
|
--original-custom-color: ${color.hex()};
|
||||||
--light-theme-custom-color: ${adjustedColor.lightThemeColor};
|
--light-theme-custom-color: ${adjustedColor.lightThemeColor};
|
||||||
--dark-theme-custom-color: ${adjustedColor.darkThemeColor};
|
--dark-theme-custom-color: ${adjustedColor.darkThemeColor};
|
||||||
--custom-color-hue: ${hue ?? 'unset'};
|
--custom-color-hue: ${hue ?? 'unset'};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user