From 2c9ab66eee1d9fc4fda637d1c6099a7c24c217f2 Mon Sep 17 00:00:00 2001 From: JonathanTGold Date: Thu, 23 May 2024 11:27:58 +0300 Subject: [PATCH] feat(FEC-13955): Add finer control over tone colors to support light theme dynamically --- src/utils/themes-manager.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/utils/themes-manager.ts b/src/utils/themes-manager.ts index 91c5679ad..76c69ef9c 100644 --- a/src/utils/themes-manager.ts +++ b/src/utils/themes-manager.ts @@ -22,7 +22,15 @@ const cssVarNames = { tone5: '--playkit-tone-5-color', tone6: '--playkit-tone-6-color', tone7: '--playkit-tone-7-color', - tone8: '--playkit-tone-8-color' + tone8: '--playkit-tone-8-color', + tone1RGB: '--playkit-tone-1-color-rgb', + tone2RGB: '--playkit-tone-2-color-rgb', + tone3RGB: '--playkit-tone-3-color-rgb', + tone4RGB: '--playkit-tone-4-color-rgb', + tone5RGB: '--playkit-tone-5-color-rgb', + tone6RGB: '--playkit-tone-6-color-rgb', + tone7RGB: '--playkit-tone-7-color-rgb', + tone8RGB: '--playkit-tone-8-color-rgb' } };