Skip to content

Commit c5f5511

Browse files
committed
fix: final token bump
1 parent 13f2960 commit c5f5511

File tree

20 files changed

+215
-187
lines changed

20 files changed

+215
-187
lines changed

examples/SampleApp/src/theme/useLegacyColors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ export const useLegacyColors = () => {
1010
() => ({
1111
accent_blue: semantics.accentPrimary,
1212
accent_red: semantics.accentError,
13-
bg_gradient_end: semantics.backgroundCoreSurface,
13+
bg_gradient_end: semantics.backgroundCoreSurfaceDefault,
1414
bg_gradient_start: semantics.backgroundCoreSurfaceSubtle,
1515
black: semantics.textPrimary,
1616
button_background: semantics.buttonPrimaryBg,
1717
button_text: semantics.buttonPrimaryTextOnAccent,
1818
grey: semantics.textSecondary,
1919
grey_gainsboro: semantics.borderCoreDefault,
20-
grey_whisper: semantics.backgroundCoreSurface,
20+
grey_whisper: semantics.backgroundCoreSurfaceDefault,
2121
icon_background: semantics.backgroundCoreApp,
2222
overlay: semantics.badgeBgOverlay,
2323
white: semantics.backgroundCoreApp,

package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const useStyles = () => {
4646
return useMemo(() => {
4747
return StyleSheet.create({
4848
container: {
49-
backgroundColor: semantics.backgroundCoreSurface,
49+
backgroundColor: semantics.backgroundCoreSurfaceDefault,
5050
paddingHorizontal: primitives.spacingMd,
5151
paddingVertical: primitives.spacingLg,
5252
...container,

package/src/components/ChannelList/ChannelListHeaderErrorIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const useStyles = () => {
3838
alignItems: 'center',
3939
justifyContent: 'center',
4040
width: '100%',
41-
backgroundColor: semantics.backgroundCoreSurface,
41+
backgroundColor: semantics.backgroundCoreSurfaceDefault,
4242
paddingVertical: primitives.spacingXs,
4343
paddingHorizontal: primitives.spacingSm,
4444
...container,

package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const useStyles = () => {
3232
alignItems: 'center',
3333
justifyContent: 'center',
3434
width: '100%',
35-
backgroundColor: semantics.backgroundCoreSurface,
35+
backgroundColor: semantics.backgroundCoreSurfaceDefault,
3636
paddingVertical: primitives.spacingXs,
3737
paddingHorizontal: primitives.spacingSm,
3838
...container,

package/src/components/ChannelList/Skeleton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const SkeletonBlock = ({ style }: { style: React.ComponentProps<typeof View>['st
1616
return (
1717
<View style={style}>
1818
<NativeShimmerView
19-
baseColor={semantics.backgroundCoreSurface}
19+
baseColor={semantics.backgroundCoreSurfaceDefault}
2020
duration={animationTime}
2121
gradientColor={semantics.skeletonLoadingHighlight}
2222
style={StyleSheet.absoluteFillObject}

package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ const useStyles = () => {
143143
justifyContent: 'center',
144144
},
145145
elipsis: {
146-
backgroundColor: semantics.backgroundCoreSurface,
146+
backgroundColor: semantics.backgroundCoreSurfaceDefault,
147147
},
148148
standard: {
149149
backgroundColor: semantics.accentPrimary,
150150
},
151151
}),
152-
[semantics.accentPrimary, semantics.backgroundCoreSurface],
152+
[semantics.accentPrimary, semantics.backgroundCoreSurfaceDefault],
153153
);
154154
};

package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jest.mock('../../../contexts', () => ({
3636
theme: {
3737
semantics: {
3838
accentPrimary: '#00f',
39-
backgroundCoreSurface: '#fff',
39+
backgroundCoreSurfaceDefault: '#fff',
4040
textOnAccent: '#000',
4141
textPrimary: '#111',
4242
},

package/src/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const VideoAttachmentMetadataPill = ({
7575

7676
return durationLabel ? (
7777
<View style={styles.durationContainer}>
78-
<Recorder height={12} width={12} pathFill={semantics.textInverse} />
78+
<Recorder height={12} width={12} pathFill={semantics.textOnInverse} />
7979
<Text style={styles.durationText}>{durationLabel}</Text>
8080
</View>
8181
) : null;
@@ -91,7 +91,7 @@ const useStyles = () => {
9191
},
9292
} = useTheme();
9393

94-
const { badgeBgInverse, textInverse } = semantics;
94+
const { badgeBgInverse, textOnInverse } = semantics;
9595

9696
return useMemo(
9797
() =>
@@ -111,11 +111,11 @@ const useStyles = () => {
111111
durationText: {
112112
fontSize: primitives.typographyFontSizeXxs,
113113
fontWeight: primitives.typographyFontWeightBold,
114-
color: textInverse,
114+
color: textOnInverse,
115115
marginLeft: primitives.spacingXxs,
116116
...durationText,
117117
},
118118
}),
119-
[badgeBgInverse, textInverse, durationContainer, durationText],
119+
[badgeBgInverse, textOnInverse, durationContainer, durationText],
120120
);
121121
};

package/src/components/MessageList/NetworkDownIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const useStyles = () => {
5252
right: 0,
5353
top: 0,
5454
justifyContent: 'center',
55-
backgroundColor: semantics.backgroundCoreSurface,
55+
backgroundColor: semantics.backgroundCoreSurfaceDefault,
5656
...errorNotification,
5757
},
5858
errorText: {

package/src/components/ThreadList/ThreadListItemSkeleton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const SkeletonBlock = ({ style }: { style: React.ComponentProps<typeof View>['st
1616
return (
1717
<View style={style}>
1818
<NativeShimmerView
19-
baseColor={semantics.backgroundCoreSurface}
19+
baseColor={semantics.backgroundCoreSurfaceDefault}
2020
duration={animationTime}
2121
gradientColor={semantics.skeletonLoadingHighlight}
2222
style={StyleSheet.absoluteFillObject}

0 commit comments

Comments
 (0)