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(ui): more semantic tokens (#16955)
Mihaela Dumitru5f11e2e9f4c6
diff --git a/css/_reactions-menu.scss b/css/_reactions-menu.scssindex 3406c25e5d..dc3d5055f4 100644--- a/css/_reactions-menu.scss+++ b/css/_reactions-menu.scss@@ -2,8 +2,8 @@.reactions-menu {width: 330px;- background: #242528;- box-shadow: 0px 3px 16px rgba(0, 0, 0, 0.6), 0px 0px 4px 1px rgba(0, 0, 0, 0.25);+ background: var(--reactions-menu-background, #242528);+ box-shadow: 0px 3px 16px var(--reactions-menu-box-shadow-1, rgba(0, 0, 0, 0.6)), 0px 0px 4px 1px var(--reactions-menu-box-shadow-2, rgba(0, 0, 0, 0.25));border-radius: 6px;padding: 16px;@@ -14,7 +14,7 @@top: 3px;& .toolbox-icon.toggled {- background-color: #000000;+ background-color: var(--reactions-menu-button-toggled, #000000);}}}diff --git a/react/features/base/ui/Tokens.ts b/react/features/base/ui/Tokens.tsindex 2f725cb421..e27ae25c6d 100644--- a/react/features/base/ui/Tokens.ts+++ b/react/features/base/ui/Tokens.ts@@ -356,6 +356,9 @@ export const colorMap = {// ReactionsreactionsMenuBackground: 'ui01', // Reactions menu backgroundreactionsMenuBorder: 'ui02', // Reactions menu border+ reactionsMenuButtonToggled: 'surface01', // Reactions menu button toggled state background+ reactionsMenuBoxShadow1: 'ui09', // Reactions menu box shadow primary+ reactionsMenuBoxShadow2: 'ui08', // Reactions menu box shadow secondary// Recording / Live StreamrecordingBackground: 'ui01', // Recording panel background@@ -428,7 +431,7 @@ export const colorMap = {securityDialogBorder: 'ui07', // Security dialog border color// Deep Linking- deepLinkingBackground: 'ui01', // Deep linking page content pane background+ deepLinkingBackground: 'uiBackground', // Deep linking page content pane background (#1e1e1e)deepLinkingBorder: 'ui03', // Deep linking page content pane borderdeepLinkingText: 'text01', // Deep linking page textdeepLinkingSeparator: 'ui03', // Deep linking separator linediff --git a/react/features/base/ui/constants.web.ts b/react/features/base/ui/constants.web.tsindex 519ae4e05d..63afcd6526 100644--- a/react/features/base/ui/constants.web.ts+++ b/react/features/base/ui/constants.web.ts@@ -25,7 +25,11 @@ export const commonStyles = (theme: Theme) => {'--overflow-menu-item-text-color': theme.palette.overflowMenuItemText,'--overflow-menu-item-icon-color': theme.palette.overflowMenuItemIcon,'--overflow-menu-item-hover-color': theme.palette.overflowMenuItemHover,- '--overflow-menu-item-disabled-color': theme.palette.overflowMenuItemDisabled+ '--overflow-menu-item-disabled-color': theme.palette.overflowMenuItemDisabled,+ '--reactions-menu-background': theme.palette.reactionsMenuBackground,+ '--reactions-menu-button-toggled': theme.palette.reactionsMenuButtonToggled,+ '--reactions-menu-box-shadow-1': theme.palette.reactionsMenuBoxShadow1,+ '--reactions-menu-box-shadow-2': theme.palette.reactionsMenuBoxShadow2},'.empty-list': {diff --git a/react/features/base/ui/types.ts b/react/features/base/ui/types.tsindex 4c94f04180..5fcffe92d9 100644--- a/react/features/base/ui/types.ts+++ b/react/features/base/ui/types.ts@@ -313,6 +313,9 @@ export interface IPalette {pollsVotersText: string;reactionsMenuBackground: string;reactionsMenuBorder: string;+ reactionsMenuButtonToggled: string;+ reactionsMenuBoxShadow1: string;+ reactionsMenuBoxShadow2: string;recordingBackground: string;recordingHighlightButton: string;recordingHighlightButtonDisabled: string;diff --git a/react/features/filmstrip/components/web/Thumbnail.tsx b/react/features/filmstrip/components/web/Thumbnail.tsxindex e86ad4500d..1ff5fd7f8f 100644--- a/react/features/filmstrip/components/web/Thumbnail.tsx+++ b/react/features/filmstrip/components/web/Thumbnail.tsx@@ -353,7 +353,7 @@ const defaultStyles = (theme: Theme) => {tintBackground: {position: 'absolute' as const,- zIndex: 1,+ zIndex: 0,width: '100%',height: '100%',backgroundColor: theme.palette.thumbnailTintBackground,