use color-mix with variables
So basically a follow up to this post https://discord.com/channels/972416966683926538/1266378893292732436/1266381383425720351 I want to add color -mix to my theme and using it like this color-mix(in, oklab, #E85002, 80%, #FFFFFF, 20%) already works , but I 'd like to replace the fixed color values for var ( - -brand ) and var ( - -white ) but writing color-mix(in, oklab, var(--brand), 80%, var(--white), 20%) always converts to color-mix(in, oklab, --brand, 80%, --white, 20%) and doesn 't work anymore . Is that just not possible yet or am I missing something ? but whenver I enter color-mix(in oklab, #hex 80%, #hex 20%) it converts the output to this color-mix(in, oklab, #6d7a79, 80%, #FFFFFF, 20%) I know that we 're planning to deprecate the current theme system very soon , and it seems that inputting your color-mix function in the new theme setup does seem to work . You can try it out by enabling the Style-Variables-V2 on this page https://editor.nordcraft.com/flags We hope to release the new theming system before Christmas , but it might be delayed until early January . I hope that 's okay for now , since we would prefer not to touch /break anything in the existing theming system 😅




