diff --git a/package.json b/package.json index 2b9a633a..0c68102a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@nivo/pie": "^0.83.0", - "@status-im/colors": "^0.2.0", + "@status-im/colors": "*", "@status-im/components": "^0.2.6", "@tamagui/config": "1.36.4", "@tamagui/react-17-patch": "1.36.4", diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 00000000..8385fd69 --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,4 @@ +// FIX(rickard): See if we can get the types properly from the lib instead +declare module '@status-im/colors' { + export const customisation: Record +} diff --git a/tamagui.config.ts b/tamagui.config.ts index 4f38942f..26b333b0 100644 --- a/tamagui.config.ts +++ b/tamagui.config.ts @@ -1,5 +1,4 @@ import { createFont, createTamagui, setupReactNative } from '@tamagui/core' -import { config } from '@tamagui/config' import { createInterFont } from '@tamagui/font-inter' import { createMedia } from '@tamagui/react-native-media-driver' import { shorthands } from '@tamagui/shorthands' diff --git a/yarn.lock b/yarn.lock index 10573f13..286f9083 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4110,7 +4110,7 @@ __metadata: languageName: node linkType: hard -"@status-im/colors@npm:*, @status-im/colors@npm:^0.2.0": +"@status-im/colors@npm:*": version: 0.2.0 resolution: "@status-im/colors@npm:0.2.0" checksum: 06390b83897193489f14b0e4fe371e87f30056b1c1d6ef9a14b0fe8dc068453e6b532a767077537eebc39f8fcedb832eb047c7f5e6f479683394152f115be3db @@ -13549,7 +13549,7 @@ __metadata: dependencies: "@fsouza/prettierd": ^0.24.2 "@nivo/pie": ^0.83.0 - "@status-im/colors": ^0.2.0 + "@status-im/colors": "*" "@status-im/components": ^0.2.6 "@storybook/addon-essentials": ^7.2.0 "@storybook/addon-interactions": ^7.2.0