Skip to content

Commit c188560

Browse files
committed
chore: remove colors
1 parent a835cc5 commit c188560

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ export type Theme = {
206206
textContainer: ViewStyle;
207207
timestamp: ViewStyle;
208208
};
209-
colors: typeof Colors;
210209
channelPreview: {
211210
container: ViewStyle;
212211
contentContainer: ViewStyle;
@@ -1172,7 +1171,6 @@ export const defaultTheme: Theme = {
11721171
subtitle: {},
11731172
},
11741173
},
1175-
colors: Colors,
11761174
dateHeader: {
11771175
container: {},
11781176
text: {},

package/src/icons/utils/base.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import React from 'react';
22
import Svg, { Path, PathProps, SvgProps } from 'react-native-svg';
33

4-
import { useTheme } from '../../contexts/themeContext/ThemeContext';
5-
64
export type IconProps = Partial<SvgProps> &
75
Omit<RootPathProps, 'd'> & {
86
height?: number;
@@ -32,13 +30,7 @@ export type RootPathProps = Pick<PathProps, 'd'> & {
3230
};
3331

3432
export const RootPath = (props: RootPathProps) => {
35-
const {
36-
theme: {
37-
colors: { black },
38-
},
39-
} = useTheme();
40-
41-
const { d, pathFill = black, pathOpacity } = props;
33+
const { d, pathFill = 'black', pathOpacity } = props;
4234
return (
4335
<Path
4436
{...{

0 commit comments

Comments
 (0)