Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(prejoin): make join-options arrow hover color themeable

Hristo Terezovf12c10d6c28a
diff --git a/react/features/base/premeeting/components/web/ActionButton.tsx b/react/features/base/premeeting/components/web/ActionButton.tsx
index 4acc44f6bd..267892946c 100644
--- a/react/features/base/premeeting/components/web/ActionButton.tsx
+++ b/react/features/base/premeeting/components/web/ActionButton.tsx
@@ -151,7 +151,7 @@ const useStyles = makeStyles()(theme => {
width: 36,
'&:hover': {
- backgroundColor: '#0262B6'
+ backgroundColor: theme.palette.prejoinActionButtonOptionsHover
},
'& svg': {
diff --git a/react/features/base/ui/Tokens.ts b/react/features/base/ui/Tokens.ts
index 8c4c1056fe..9d694615be 100644
--- a/react/features/base/ui/Tokens.ts
+++ b/react/features/base/ui/Tokens.ts
@@ -166,6 +166,7 @@ export const colorMap = {
prejoinActionButtonPrimary: 'action01', // Primary action button
prejoinActionButtonPrimaryHover: 'action01Hover', // Primary button hover
prejoinActionButtonPrimaryText: 'text01', // Primary button text
+ prejoinActionButtonOptionsHover: 'action01Active', // Join options (arrow) button hover
prejoinActionButtonSecondary: 'action02', // Secondary action button
prejoinActionButtonSecondaryHover: 'action02Hover', // Secondary button hover
prejoinActionButtonSecondaryText: 'text04', // Secondary button text
diff --git a/react/features/base/ui/types.ts b/react/features/base/ui/types.ts
index 3494db94ef..a8be2a5a37 100644
--- a/react/features/base/ui/types.ts
+++ b/react/features/base/ui/types.ts
@@ -137,6 +137,7 @@ export interface IPalette {
preMeetingPreview: string;
prejoinActionButtonDanger: string;
prejoinActionButtonDisabled: string;
+ prejoinActionButtonOptionsHover: string;
prejoinActionButtonPrimary: string;
prejoinActionButtonPrimaryHover: string;
prejoinActionButtonPrimaryText: string;