Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(base/ui): fallback to og value if not found in allTokens
Calin-Teodor4e4f91f184c7
diff --git a/react/features/base/ui/utils.ts b/react/features/base/ui/utils.tsindex a0fa4ef399..547ba086bc 100644--- a/react/features/base/ui/utils.ts+++ b/react/features/base/ui/utils.ts@@ -14,7 +14,7 @@ export function createColorTokens(colorMap: Object): any {return Object.entries(colorMap).reduce((result, [ token, value ]: [any, string]) => {- const color = allTokens[value as keyof typeof allTokens];+ const color = allTokens[value as keyof typeof allTokens] || value;return Object.assign(result, { [token]: color });}, {});