mirror of
https://github.com/dsoaress/link-free.git
synced 2026-11-23 03:18:36 +00:00
refactor: with styled-components
This commit is contained in:
42 files changed
+845
-934
No files matched your search
+7
-10
@@ -1,20 +1,16 @@
|
||||
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['styleSchema']
|
||||
font: string
|
||||
buttonsSchema: 'square' | 'rounded' | 'pill'
|
||||
outline: boolean
|
||||
colors: {
|
||||
texts: Colors
|
||||
socialLinks: LinkVariantProps['theme']
|
||||
buttonLinks: ButtonVariantProps['colorSchema']
|
||||
background: Colors
|
||||
texts: string
|
||||
socialLinks: string
|
||||
buttonLinks: string
|
||||
background: string
|
||||
}
|
||||
}
|
||||
socialLinks: {
|
||||
@@ -22,6 +18,7 @@ export type Data = {
|
||||
href: string
|
||||
}[]
|
||||
buttonLinks: {
|
||||
id: string
|
||||
label: string
|
||||
href: string
|
||||
}[]
|
||||
|
||||
Reference in new issue
Block a user