diff --git a/packages/react-native-sdk/src/components/Call/CallControls/AcceptCallButton.tsx b/packages/react-native-sdk/src/components/Call/CallControls/AcceptCallButton.tsx
index f9bf774c49..e08b4b7a7a 100644
--- a/packages/react-native-sdk/src/components/Call/CallControls/AcceptCallButton.tsx
+++ b/packages/react-native-sdk/src/components/Call/CallControls/AcceptCallButton.tsx
@@ -57,11 +57,11 @@ export const AcceptCallButton = ({
return (
-
+
);
};
diff --git a/packages/react-native-sdk/src/components/Call/CallControls/CallControls.tsx b/packages/react-native-sdk/src/components/Call/CallControls/CallControls.tsx
index 540ee1b718..6de5c02d64 100644
--- a/packages/react-native-sdk/src/components/Call/CallControls/CallControls.tsx
+++ b/packages/react-native-sdk/src/components/Call/CallControls/CallControls.tsx
@@ -40,7 +40,7 @@ export const CallControls = ({
-
+
);
diff --git a/packages/react-native-sdk/src/components/Call/CallControls/ReactionsButton.tsx b/packages/react-native-sdk/src/components/Call/CallControls/ReactionsButton.tsx
index 34b8ef5b65..aa0522af8b 100644
--- a/packages/react-native-sdk/src/components/Call/CallControls/ReactionsButton.tsx
+++ b/packages/react-native-sdk/src/components/Call/CallControls/ReactionsButton.tsx
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
import { CallControlsButton } from './CallControlsButton';
import { OwnCapability } from '@stream-io/video-client';
import { ButtonTestIds } from '../../../constants/TestIds';
-import { Reaction } from '../../../icons';
+import { IconWrapper, Reaction } from '../../../icons';
import { ReactionsPicker } from './internal/ReactionsPicker';
import { LayoutChangeEvent, LayoutRectangle } from 'react-native';
import { useTheme } from '../../../contexts/ThemeContext';
@@ -71,7 +71,9 @@ export const ReactionsButton = ({
onPress={reactionsButtonHandler}
onLayout={onReactionsButtonLayout}
>
-
+
+
+
{showReactionsPicker && (
diff --git a/packages/react-native-sdk/src/components/Call/CallControls/RejectCallButton.tsx b/packages/react-native-sdk/src/components/Call/CallControls/RejectCallButton.tsx
index 8073c6a7f8..3ffb7f32ae 100644
--- a/packages/react-native-sdk/src/components/Call/CallControls/RejectCallButton.tsx
+++ b/packages/react-native-sdk/src/components/Call/CallControls/RejectCallButton.tsx
@@ -63,7 +63,7 @@ export const RejectCallButton = ({
return (
{!optimisticIsMute ? (
-
+
) : (
-
+
)}
diff --git a/packages/react-native-sdk/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx b/packages/react-native-sdk/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx
index ecab938bbb..12064cf49a 100644
--- a/packages/react-native-sdk/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx
+++ b/packages/react-native-sdk/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx
@@ -27,7 +27,7 @@ export const ToggleVideoPublishingButton = ({
const callSettings = useCallSettings();
const isVideoEnabledInCall = callSettings?.video.enabled;
const {
- theme: { colors, defaults },
+ theme: { colors, defaults, variants },
} = useTheme();
const onPress = async () => {
if (onPressHandler) {
@@ -53,11 +53,14 @@ export const ToggleVideoPublishingButton = ({
>
{!optimisticIsMute ? (
-
+
) : (
)}
diff --git a/packages/react-native-sdk/src/components/Call/CallControls/internal/ReactionsPicker.tsx b/packages/react-native-sdk/src/components/Call/CallControls/internal/ReactionsPicker.tsx
index c7d1b683f9..7d3a35e8ed 100644
--- a/packages/react-native-sdk/src/components/Call/CallControls/internal/ReactionsPicker.tsx
+++ b/packages/react-native-sdk/src/components/Call/CallControls/internal/ReactionsPicker.tsx
@@ -104,7 +104,7 @@ export const ReactionsPicker = ({
styles.reactionsPopup,
reactionsPopupStyle,
{
- backgroundColor: colors.base4,
+ backgroundColor: colors.sheetSecondary,
},
reactionsPicker.reactionsPopup,
]}
@@ -120,7 +120,7 @@ export const ReactionsPicker = ({
styles.reactionItem,
reactionItemStyle,
{
- backgroundColor: colors.background3,
+ backgroundColor: colors.buttonSecondaryDefault,
},
reactionsPicker.reactionItem,
]}
@@ -158,7 +158,7 @@ export const ReactionsPicker = ({
style={[
reactionsButtonDimmerStyle,
{
- backgroundColor: colors.base4,
+ backgroundColor: colors.sheetSecondary,
},
reactionsPicker.reactionsButtonDimmer,
]}
diff --git a/packages/react-native-sdk/src/components/Call/Lobby/JoinCallButton.tsx b/packages/react-native-sdk/src/components/Call/Lobby/JoinCallButton.tsx
index cf805c7fb1..bb1040f30e 100644
--- a/packages/react-native-sdk/src/components/Call/Lobby/JoinCallButton.tsx
+++ b/packages/react-native-sdk/src/components/Call/Lobby/JoinCallButton.tsx
@@ -45,7 +45,7 @@ export const JoinCallButton = ({
@@ -99,7 +99,7 @@ export const Lobby = ({
@@ -121,7 +121,7 @@ export const Lobby = ({
@@ -167,16 +167,14 @@ const ParticipantStatus = () => {
@@ -136,7 +136,7 @@ const Background: React.FunctionComponent<{
diff --git a/packages/react-native-sdk/src/components/Call/RingingCallContent/OutgoingCall.tsx b/packages/react-native-sdk/src/components/Call/RingingCallContent/OutgoingCall.tsx
index fe441098d4..6b5646397c 100644
--- a/packages/react-native-sdk/src/components/Call/RingingCallContent/OutgoingCall.tsx
+++ b/packages/react-native-sdk/src/components/Call/RingingCallContent/OutgoingCall.tsx
@@ -70,7 +70,7 @@ export const OutgoingCall = ({
{
@@ -121,7 +121,7 @@ const Background = () => {
diff --git a/packages/react-native-sdk/src/components/Call/RingingCallContent/TextBasedIndicator.tsx b/packages/react-native-sdk/src/components/Call/RingingCallContent/TextBasedIndicator.tsx
index d4f1f4de53..d83fd1df7c 100644
--- a/packages/react-native-sdk/src/components/Call/RingingCallContent/TextBasedIndicator.tsx
+++ b/packages/react-native-sdk/src/components/Call/RingingCallContent/TextBasedIndicator.tsx
@@ -18,7 +18,7 @@ export const TextBasedIndicator = (props: TextBasedIndicatorProps) => {
} = useTheme();
return (
-
+
{props.onBackPress && (
{
},
]}
>
-
+
)}
{props.text}
diff --git a/packages/react-native-sdk/src/components/Call/RingingCallContent/UserInfo.tsx b/packages/react-native-sdk/src/components/Call/RingingCallContent/UserInfo.tsx
index 74a6c0e1ae..d3b111ca26 100644
--- a/packages/react-native-sdk/src/components/Call/RingingCallContent/UserInfo.tsx
+++ b/packages/react-native-sdk/src/components/Call/RingingCallContent/UserInfo.tsx
@@ -109,7 +109,7 @@ export const UserInfo = ({
style={[
styles.name,
fontStyleByMembersCount,
- { color: colors.base1 },
+ { color: colors.typePrimary },
userInfo.name,
]}
>
diff --git a/packages/react-native-sdk/src/components/Livestream/HostLivestream/HostLivestream.tsx b/packages/react-native-sdk/src/components/Livestream/HostLivestream/HostLivestream.tsx
index b18c4dfe9a..68d576dba9 100644
--- a/packages/react-native-sdk/src/components/Livestream/HostLivestream/HostLivestream.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/HostLivestream/HostLivestream.tsx
@@ -108,9 +108,7 @@ export const HostLivestream = ({
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx
index d3a1c35ad8..7f4d77f243 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx
@@ -45,7 +45,7 @@ export const HostLivestreamControls = ({
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx
index 005d542298..b03827b1d1 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx
@@ -2,7 +2,7 @@ import { useCallStateHooks } from '@stream-io/video-react-bindings';
import React from 'react';
import { useTheme } from '../../../contexts';
import { Pressable, StyleSheet, View } from 'react-native';
-import { Mic, MicOff } from '../../../icons';
+import { IconWrapper, Mic, MicOff } from '../../../icons';
/**
* The LivestreamAudioControlButton controls the audio stream publish/unpublish while in the livestream for the host.
@@ -15,7 +15,6 @@ export const LivestreamAudioControlButton = () => {
colors,
variants: { iconSizes, buttonSizes },
livestreamAudioControlButton,
- defaults,
},
} = useTheme();
@@ -29,7 +28,7 @@ export const LivestreamAudioControlButton = () => {
style={[
styles.container,
{
- backgroundColor: colors.background2,
+ backgroundColor: colors.buttonSecondaryDefault,
height: buttonSizes.xs,
width: buttonSizes.xs,
},
@@ -46,11 +45,13 @@ export const LivestreamAudioControlButton = () => {
livestreamAudioControlButton.icon,
]}
>
- {!optimisticIsMute ? (
-
- ) : (
-
- )}
+
+ {!optimisticIsMute ? (
+
+ ) : (
+
+ )}
+
);
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx
index e73f6c7a84..d34b215e10 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx
@@ -2,7 +2,7 @@ import { useCallStateHooks } from '@stream-io/video-react-bindings';
import React from 'react';
import { useTheme } from '../../../contexts';
import { Pressable, StyleSheet, View } from 'react-native';
-import { Video, VideoSlash } from '../../../icons';
+import { IconWrapper, Video, VideoSlash } from '../../../icons';
/**
* The LivestreamVideoControlButton controls the video stream publish/unpublish while in the livestream for the host.
@@ -17,7 +17,6 @@ export const LivestreamVideoControlButton = () => {
colors,
variants: { iconSizes, buttonSizes },
livestreamVideoControlButton,
- defaults,
},
} = useTheme();
@@ -35,7 +34,7 @@ export const LivestreamVideoControlButton = () => {
style={[
styles.container,
{
- backgroundColor: colors.background2,
+ backgroundColor: colors.buttonSecondaryDefault,
height: buttonSizes.xs,
width: buttonSizes.xs,
},
@@ -52,11 +51,13 @@ export const LivestreamVideoControlButton = () => {
livestreamVideoControlButton.icon,
]}
>
- {!optimisticIsMute ? (
-
- ) : (
-
- )}
+
+ {!optimisticIsMute ? (
+
+ ) : (
+
+ )}
+
);
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx
index 2ded12c0a6..e32119a850 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx
@@ -59,9 +59,7 @@ export const ViewerLeaveStreamButton = ({
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx
index 268fec32d6..a212dc38b5 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx
@@ -35,9 +35,7 @@ export const ViewerLivestreamControls = ({
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/DurationBadge.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/DurationBadge.tsx
index c5c0e8a10d..8d590836d5 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/DurationBadge.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/DurationBadge.tsx
@@ -120,7 +120,7 @@ export const DurationBadge = ({ mode }: DurationBadgeProps) => {
@@ -137,7 +137,11 @@ export const DurationBadge = ({ mode }: DurationBadgeProps) => {
{formatDuration(duration)}
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/FollowerCount.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/FollowerCount.tsx
index 5e0435ab2c..ce0cbfdf1f 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/FollowerCount.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/FollowerCount.tsx
@@ -26,7 +26,7 @@ export const FollowerCount = ({}: FollowerCountProps) => {
@@ -40,7 +40,11 @@ export const FollowerCount = ({}: FollowerCountProps) => {
{totalParticipants}
diff --git a/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx b/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx
index e923ea7307..8e9b155ca7 100644
--- a/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx
+++ b/packages/react-native-sdk/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx
@@ -57,7 +57,7 @@ export const HostLivestreamTopView = ({
{
{
-
+
);
@@ -171,9 +171,7 @@ export const FloatingParticipantView = ({
style={[
styles.participantViewContainer,
participantViewStyle,
- {
- shadowColor: colors.base5,
- },
+ { shadowColor: colors.sheetPrimary },
floatingParticipantsView.participantViewContainer,
]}
// video z order must be one above the one used in grid view
@@ -193,7 +191,6 @@ export const FloatingParticipantView = ({
const styles = StyleSheet.create({
container: {
- margin: 8,
// Needed to make the view on top and draggable
zIndex: Z_INDEX.IN_MIDDLE,
flex: 1,
diff --git a/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantLabel.tsx b/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantLabel.tsx
index a226b41b1b..7ac0d6d1b1 100644
--- a/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantLabel.tsx
+++ b/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantLabel.tsx
@@ -76,7 +76,7 @@ export const ParticipantLabel = ({
-
+
{isPinningEnabled && (
@@ -146,7 +146,7 @@ const useStyles = () => {
marginTop: 2,
fontSize: 13,
fontWeight: '400',
- color: theme.colors.iconPrimaryDefault,
+ color: theme.colors.typePrimary,
},
screenShareIconContainer: {
marginRight: theme.variants.spacingSizes.sm,
diff --git a/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx b/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx
index 1876085007..78ca55cde9 100644
--- a/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx
+++ b/packages/react-native-sdk/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx
@@ -29,18 +29,14 @@ export const ParticipantVideoFallback = ({
{!image ? (
{
+const useStyles = (hasReaction: boolean) => {
const { theme } = useTheme();
return useMemo(
() =>
StyleSheet.create({
container: {
- justifyContent: 'space-between',
overflow: 'hidden',
+ justifyContent: hasReaction ? 'space-between' : 'flex-end',
borderRadius: theme.variants.borderRadiusSizes.md,
},
footerContainer: {
diff --git a/packages/react-native-sdk/src/components/utility/Avatar.tsx b/packages/react-native-sdk/src/components/utility/Avatar.tsx
index b572ac18e9..4f7757fb03 100644
--- a/packages/react-native-sdk/src/components/utility/Avatar.tsx
+++ b/packages/react-native-sdk/src/components/utility/Avatar.tsx
@@ -69,9 +69,7 @@ export const Avatar = (props: AvatarProps) => {
height: size,
width: size,
},
- {
- backgroundColor: colors.primary,
- },
+ { backgroundColor: colors.buttonPrimaryDefault },
avatar.container,
styleProp?.container,
]}
@@ -88,7 +86,7 @@ export const Avatar = (props: AvatarProps) => {
{
@@ -41,7 +41,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
style={[
styles.text,
typefaces.subtitleBold,
- { color: colors.base1 },
+ { color: colors.typePrimary },
screenshareOverlay.text,
]}
>
@@ -53,7 +53,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
return [
styles.button,
{
- backgroundColor: colors.background2,
+ backgroundColor: colors.sheetSecondary,
opacity: pressed ? 0.2 : 1,
},
screenshareOverlay.button,
@@ -75,7 +75,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
diff --git a/packages/react-native-sdk/src/constants/index.ts b/packages/react-native-sdk/src/constants/index.ts
index 67774527bb..8ab725af46 100644
--- a/packages/react-native-sdk/src/constants/index.ts
+++ b/packages/react-native-sdk/src/constants/index.ts
@@ -1,8 +1,8 @@
import { StreamReactionType } from '../components';
export const FLOATING_VIDEO_VIEW_STYLE = {
- height: 140,
- width: 80,
+ height: 170,
+ width: 100,
borderRadius: 10,
};
diff --git a/packages/react-native-sdk/src/icons/Mic.tsx b/packages/react-native-sdk/src/icons/Mic.tsx
index e46bd03c20..684c5233cb 100644
--- a/packages/react-native-sdk/src/icons/Mic.tsx
+++ b/packages/react-native-sdk/src/icons/Mic.tsx
@@ -8,7 +8,7 @@ type Props = {
};
export const Mic = ({ color, size }: Props) => (
-
{options.map((option, index) => {
@@ -248,7 +247,7 @@ const useStyles = () => {
flex: 1,
},
modalContainer: {
- backgroundColor: theme.colors.background5,
+ backgroundColor: theme.colors.sheetPrimary,
borderRadius: 15,
marginHorizontal: 32,
},
@@ -266,7 +265,7 @@ const useStyles = () => {
marginLeft: 8,
fontSize: 16,
fontWeight: '500',
- color: theme.colors.base1,
+ color: theme.colors.iconPrimaryDefault,
},
option: {
paddingHorizontal: 24,
@@ -280,12 +279,12 @@ const useStyles = () => {
},
title: {
marginLeft: 16,
- color: theme.colors.base1,
+ color: theme.colors.iconPrimaryDefault,
fontSize: 16,
fontWeight: '400',
},
borderBottom: {
- borderBottomColor: theme.colors.base4,
+ borderBottomColor: theme.colors.buttonSecondaryHover,
borderBottomWidth: 1,
},
crossIcon: {
@@ -294,8 +293,8 @@ const useStyles = () => {
},
closePressable: {
padding: 8,
- borderRadius: 5,
- backgroundColor: theme.colors.base4,
+ borderRadius: 15,
+ backgroundColor: theme.colors.buttonSecondaryDefault,
},
}),
[theme],
diff --git a/sample-apps/react-native/dogfood/src/components/ParticipantsInfoList.tsx b/sample-apps/react-native/dogfood/src/components/ParticipantsInfoList.tsx
index b7a4743d76..0eca219fe2 100644
--- a/sample-apps/react-native/dogfood/src/components/ParticipantsInfoList.tsx
+++ b/sample-apps/react-native/dogfood/src/components/ParticipantsInfoList.tsx
@@ -58,6 +58,7 @@ export const ParticipantsInfoList = ({
setIsCallParticipantsInfoVisible,
}: ParticipantsInfoListProps) => {
const styles = useStyles();
+ const { theme } = useTheme();
const { useParticipants } = useCallStateHooks();
const participants = useParticipants();
const { t } = useI18n();
@@ -129,14 +130,14 @@ export const ParticipantsInfoList = ({
testID={ButtonTestIds.EXIT_PARTICIPANTS_INFO}
>
-
+
{t('Invite')}
@@ -219,22 +220,22 @@ const ParticipantInfoItem = (props: ParticipantInfoType) => {
-
+
)}
{isAudioMuted && (
-
+
)}
{isVideoMuted && (
-
+
)}
{!participantIsLocalParticipant && (
-
+
)}
@@ -249,12 +250,11 @@ const useStyles = () => {
StyleSheet.create({
backDropBackground: {
...StyleSheet.absoluteFillObject,
- backgroundColor: theme.colors.background3,
zIndex: Z_INDEX.IN_BACK,
},
content: {
zIndex: Z_INDEX.IN_FRONT,
- backgroundColor: theme.colors.background5,
+ backgroundColor: theme.colors.sheetPrimary,
borderRadius: 15,
marginHorizontal: 16,
},
@@ -270,13 +270,13 @@ const useStyles = () => {
headerText: {
fontSize: 16,
fontWeight: '600',
- color: theme.base1,
+ color: theme.colors.typePrimary,
},
closePressable: {
padding: 8,
- borderRadius: 5,
+ borderRadius: 15,
marginRight: 16,
- backgroundColor: theme.base4,
+ backgroundColor: theme.colors.buttonSecondaryDefault,
},
buttonGroup: {
flexDirection: 'row',
@@ -298,14 +298,22 @@ const useStyles = () => {
},
button: {
flex: 1,
- backgroundColor: theme.colors.primary,
+ borderRadius: 24,
+ padding: 8,
+ marginHorizontal: 8,
+ borderColor: theme.colors.buttonSecondaryDefault,
+ borderWidth: 2,
+ },
+ inviteButton: {
+ flex: 1,
+ backgroundColor: theme.colors.buttonPrimaryDefault,
borderRadius: 24,
padding: 8,
marginHorizontal: 8,
},
buttonText: {
textAlign: 'center',
- color: theme.colors.base1,
+ color: theme.colors.iconPrimaryDefault,
fontSize: 16,
fontWeight: '500',
},
@@ -315,7 +323,7 @@ const useStyles = () => {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
- borderBottomColor: theme.colors.base4,
+ borderBottomColor: theme.colors.buttonSecondaryHover,
borderBottomWidth: 1,
},
participantInfo: {
@@ -325,7 +333,7 @@ const useStyles = () => {
},
name: {
marginLeft: 8,
- color: theme.colors.base1,
+ color: theme.colors.typePrimary,
flexShrink: 1,
fontSize: 16,
fontWeight: '500',
@@ -339,7 +347,6 @@ const useStyles = () => {
modal: {
alignItems: 'center',
justifyContent: 'center',
- backgroundColor: theme.colors.background3,
},
}),
[theme],
diff --git a/sample-apps/react-native/dogfood/src/screens/Meeting/ChatScreen.tsx b/sample-apps/react-native/dogfood/src/screens/Meeting/ChatScreen.tsx
index c1dad33220..310029d0c7 100644
--- a/sample-apps/react-native/dogfood/src/screens/Meeting/ChatScreen.tsx
+++ b/sample-apps/react-native/dogfood/src/screens/Meeting/ChatScreen.tsx
@@ -96,18 +96,18 @@ const useStyles = () => {
header: {
padding: 10,
flexDirection: 'row',
- backgroundColor: theme.colors.base5,
+ backgroundColor: theme.colors.sheetPrimary,
},
- headerText: { flex: 1, color: theme.colors.base1 },
+ headerText: { flex: 1, color: theme.colors.typePrimary },
notedButton: {
- backgroundColor: theme.colors.primary,
+ backgroundColor: theme.colors.buttonPrimaryDefault,
justifyContent: 'center',
padding: 10,
borderRadius: 10,
marginLeft: 10,
},
notedButtonText: {
- color: theme.colors.base1,
+ color: theme.colors.typePrimary,
fontWeight: '500',
},
}),
diff --git a/sample-apps/react-native/dogfood/src/screens/Meeting/JoinMeetingScreen.tsx b/sample-apps/react-native/dogfood/src/screens/Meeting/JoinMeetingScreen.tsx
index 2587996510..8ad40777eb 100644
--- a/sample-apps/react-native/dogfood/src/screens/Meeting/JoinMeetingScreen.tsx
+++ b/sample-apps/react-native/dogfood/src/screens/Meeting/JoinMeetingScreen.tsx
@@ -26,6 +26,7 @@ type JoinMeetingScreenProps = NativeStackScreenProps<
const JoinMeetingScreen = (props: JoinMeetingScreenProps) => {
const [callId, setCallId] = useState('');
+ const { theme } = useTheme();
const [linking, setLinking] = useState(false);
const { t } = useI18n();
const orientation = useOrientation();
@@ -103,7 +104,12 @@ const JoinMeetingScreen = (props: JoinMeetingScreenProps) => {
onPress={joinCallHandler}
title={t('Join Call')}
disabled={!isValidCallId}
- buttonStyle={styles.joinCallButton}
+ buttonStyle={{
+ ...styles.joinCallButton,
+ backgroundColor: isValidCallId
+ ? theme.colors.buttonPrimaryDefault
+ : theme.colors.buttonPrimaryDisabled,
+ }}
/>