Skip to content

Commit 70eaa00

Browse files
committed
fix: keep design tokens in generated directory
1 parent b3db49b commit 70eaa00

File tree

13 files changed

+497
-21
lines changed

13 files changed

+497
-21
lines changed

package/src/contexts/themeContext/utils/theme.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
import { type ColorValue, type ImageStyle, type TextStyle, type ViewStyle } from 'react-native';
22
import type { CircleProps, StopProps } from 'react-native-svg';
33

4-
import {
5-
primitives,
6-
foundations,
7-
components,
8-
semantics,
9-
} from '../../../../src/theme/light/StreamTokens';
10-
114
import type { IconProps } from '../../../icons/utils/base';
5+
import { semantics } from '../../../theme';
126

137
export const DEFAULT_STATUS_ICON_SIZE = 16;
148
export const BASE_AVATAR_SIZE = 32;
@@ -892,23 +886,11 @@ export type Theme = {
892886
thumb: ViewStyle;
893887
waveform: ViewStyle;
894888
};
895-
// spacing: typeof Spacing;
896-
// radius: typeof Radius;
897-
// typography: typeof Typography;
898-
primitives: typeof primitives;
899-
foundations: typeof foundations;
900-
components: typeof components;
901889
semantics: typeof semantics;
902890
};
903891

904892
export const defaultTheme: Theme = {
905-
primitives,
906-
foundations,
907-
components,
908893
semantics,
909-
// spacing: Spacing,
910-
// radius: Radius,
911-
// typography: Typography,
912894
aiTypingIndicatorView: {
913895
container: {},
914896
text: {},

0 commit comments

Comments
 (0)