mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06: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>
|
||||
.${className}, span.fancytree-active.${className} {
|
||||
--original-custom-color: ${color.hex()};
|
||||
--light-theme-custom-color: ${adjustedColor.lightThemeColor};
|
||||
--dark-theme-custom-color: ${adjustedColor.darkThemeColor};
|
||||
--custom-color-hue: ${hue ?? 'unset'};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user