import React from 'react'
import { Text, TextProps } from 'rebass'
import styled from 'styled-components'
import { Colors } from '../styled'
const TextWrapper = styled(Text)<{ color: keyof Colors }>`
color: ${({ color, theme }) => (theme as any)[color]};
`
export const TYPE = {
// --- GUNI STYLES ---
heading1(props: TextProps) {
return
},
heading2(props: TextProps) {
return
},
heading3(props: TextProps) {
return
},
heading4(props: TextProps) {
return
},
heading5(props: TextProps) {
return
},
heading6(props: TextProps) {
return
},
description(props: TextProps) {
return
},
button2(props: TextProps) {
return
},
// --- UNISWAP STYLES ---
main(props: TextProps) {
return
},
link(props: TextProps) {
return
},
label(props: TextProps) {
return
},
black(props: TextProps) {
return
},
white(props: TextProps) {
return
},
body(props: TextProps) {
return
},
largeHeader(props: TextProps) {
return
},
mediumHeader(props: TextProps) {
return
},
subHeader(props: TextProps) {
return
},
small(props: TextProps) {
return
},
blue(props: TextProps) {
return
},
yellow(props: TextProps) {
return
},
darkGray(props: TextProps) {
return
},
gray(props: TextProps) {
return
},
italic(props: TextProps) {
return
},
error({ error, ...props }: { error: boolean } & TextProps) {
return
},
}