fix: add missing status-im colors module

This commit is contained in:
Ivana Andersson 2023-08-10 10:18:21 +03:00
parent 11510ee3bf
commit 1215553a2b
4 changed files with 7 additions and 4 deletions

View File

@ -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",

4
src/index.d.ts vendored Normal file
View File

@ -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<string, string>
}

View File

@ -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'

View File

@ -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