Updating styles of NotConnected provider component
This commit is contained in:
parent
50bdc27491
commit
2133d13153
|
@ -9,10 +9,10 @@ import styles from './index.scss'
|
||||||
const Footer = () => (
|
const Footer = () => (
|
||||||
<Block className={styles.footer}>
|
<Block className={styles.footer}>
|
||||||
<Link to={WELCOME_ADDRESS}>
|
<Link to={WELCOME_ADDRESS}>
|
||||||
<Paragraph size="sm" noMargin>Welcome</Paragraph>
|
<Paragraph size="sm" color="primary" noMargin>Welcome</Paragraph>
|
||||||
</Link>
|
</Link>
|
||||||
<Link to={SAFELIST_ADDRESS}>
|
<Link to={SAFELIST_ADDRESS}>
|
||||||
<Paragraph size="sm" noMargin>Safe List</Paragraph>
|
<Paragraph size="sm" color="primary" noMargin>Safe List</Paragraph>
|
||||||
</Link>
|
</Link>
|
||||||
</Block>
|
</Block>
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@ import Paragraph from '~/components/layout/Paragraph'
|
||||||
import Button from '~/components/layout/Button'
|
import Button from '~/components/layout/Button'
|
||||||
import Img from '~/components/layout/Img'
|
import Img from '~/components/layout/Img'
|
||||||
import Row from '~/components/layout/Row'
|
import Row from '~/components/layout/Row'
|
||||||
import { md } from '~/theme/variables'
|
import { md, lg } from '~/theme/variables'
|
||||||
|
|
||||||
const connectedLogo = require('../../assets/connect-wallet.svg')
|
const connectedLogo = require('../../assets/connect-wallet.svg')
|
||||||
|
|
||||||
|
@ -26,7 +26,10 @@ const styles = () => ({
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
},
|
||||||
connect: {
|
connect: {
|
||||||
padding: `${md} 32px`,
|
padding: `${md} ${lg}`,
|
||||||
|
},
|
||||||
|
connectText: {
|
||||||
|
letterSpacing: '1px',
|
||||||
},
|
},
|
||||||
img: {
|
img: {
|
||||||
margin: '0px 2px',
|
margin: '0px 2px',
|
||||||
|
@ -50,7 +53,7 @@ const ConnectDetails = ({ classes }: Props) => (
|
||||||
color="primary"
|
color="primary"
|
||||||
fullWidth
|
fullWidth
|
||||||
>
|
>
|
||||||
CONNECT
|
<Paragraph className={classes.connectText} size="sm" weight="regular" color="white" noMargin>CONNECT</Paragraph>
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|
|
@ -129,7 +129,7 @@ const UserDetails = ({
|
||||||
color="primary"
|
color="primary"
|
||||||
fullWidth
|
fullWidth
|
||||||
>
|
>
|
||||||
<Paragraph className={classes.disconnectText} size="sm" weight="regular" noMargin>DISCONNECT</Paragraph>
|
<Paragraph className={classes.disconnectText} size="sm" weight="regular" color="white" noMargin>DISCONNECT</Paragraph>
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|
|
@ -10,7 +10,7 @@ type Props = {
|
||||||
noMargin?: boolean,
|
noMargin?: boolean,
|
||||||
weight?: 'light' | 'regular' | 'bolder' | 'bold',
|
weight?: 'light' | 'regular' | 'bolder' | 'bold',
|
||||||
size?: 'sm' | 'md' | 'lg' | 'xl',
|
size?: 'sm' | 'md' | 'lg' | 'xl',
|
||||||
color?: 'soft' | 'medium' | 'dark' | 'fancy',
|
color?: 'soft' | 'medium' | 'dark' | 'white' | 'fancy' | 'primary',
|
||||||
transform?: 'capitalize' | 'lowercase' | 'uppercase',
|
transform?: 'capitalize' | 'lowercase' | 'uppercase',
|
||||||
children: React$Node,
|
children: React$Node,
|
||||||
className?: string,
|
className?: string,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
.paragraph {
|
.paragraph {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow-x: inherit;
|
overflow-x: inherit;
|
||||||
color: $fontColor;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.soft {
|
.soft {
|
||||||
|
@ -20,6 +19,14 @@
|
||||||
color: $fancy;
|
color: $fancy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.primary {
|
||||||
|
color: $fontColor,
|
||||||
|
}
|
||||||
|
|
||||||
|
.white {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
.capitalize {
|
.capitalize {
|
||||||
text-transform: capitalize
|
text-transform: capitalize
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue