Files
link-free/src/types/Data.ts
T

28 lines
656 B
TypeScript
Raw Normal View History

2021-12-13 17:12:51 -03:00
import type { ButtonVariantProps } from '../components/Button'
import type { LinkVariantProps } from '../components/Link'
import type { Colors, Fonts } from '../styles/stitches.config'
export type Data = {
settings: {
avatar: string
name: string
description: string
font: Fonts
2021-12-14 14:18:50 -03:00
buttonsSchema: ButtonVariantProps['styleSchema']
2021-12-15 08:11:58 -03:00
outline: boolean
2021-12-13 17:12:51 -03:00
colors: {
texts: Colors
socialLinks: LinkVariantProps['theme']
2021-12-14 14:18:50 -03:00
buttonLinks: ButtonVariantProps['colorSchema']
2021-12-13 17:12:51 -03:00
background: Colors
}
}
socialLinks: {
label: string
href: string
}[]
buttonLinks: {
label: string
href: string
}[]
}