style/note colors: include the original custom color

This commit is contained in:
Adorian Doran 2025-12-08 23:18:14 +02:00
parent a6682be251
commit 3fa6b264e5

View File

@ -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'};