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

28 lines
667 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
buttonsSchema: ButtonVariantProps['schema']
outline: ButtonVariantProps['outline']
colors: {
texts: Colors
socialLinks: LinkVariantProps['theme']
buttonLinks: ButtonVariantProps['theme']
background: Colors
}
}
socialLinks: {
label: string
href: string
}[]
buttonLinks: {
label: string
href: string
}[]
}