ci: fix build

This commit is contained in:
Ivana Andersson 2023-08-08 14:59:00 +03:00
parent cf80d7f7cc
commit d30f64e8ba
5 changed files with 4 additions and 6 deletions

View File

@ -4,7 +4,7 @@
"version": "0.0.0",
"scripts": {
"dev": "NODE_ENV=development vite",
"build": "tsc && vite build",
"build": "tsc -p . && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",

View File

@ -1,7 +1,7 @@
import { Stack, styled } from 'tamagui'
const BackgroundImage = styled(Stack, {
boxShadow: 'inset 100px 0px 100px white',
style: { boxShadow: 'inset 100px 0px 100px white' },
width: '650px',
height: '91.9vh',
borderTopRightRadius: '25px',

View File

@ -4,7 +4,6 @@ export type IconProps = {
source: string
width?: number
height?: number
style?: unknown
className?: string
}

View File

@ -20,7 +20,7 @@ const InformationBox = ({ icon, textElements }: InformationBoxProps) => {
}}
space={'$2'}
>
<Icon source={icon} width={12} height={12} style={{ marginTop: '6px' }} />
<Icon source={icon} width={12} height={12} />
<FormattedText textElements={textElements} color={'#647084'} fontSize={'$3'} />
</XStack>
)

View File

@ -1,9 +1,8 @@
import { Stack, styled } from 'tamagui'
const ShadowBox = styled(Stack, {
boxSizing: 'border-box',
style: { boxSizing: 'border-box', boxShadow: '0px 4px 20px 0px rgba(9, 16, 28, 0.08)' },
borderRadius: '16px',
boxShadow: '0px 4px 20px 0px rgba(9, 16, 28, 0.08)',
width: '100%',
})