mirror of
https://github.com/zadam/trilium.git
synced 2026-07-09 07:23:41 +02:00
style/note colors: include the original custom color
This commit is contained in:
@@ -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'};
|
||||
|
||||
Reference in New Issue
Block a user