Updated PanelLayout footerButton styles

• Updated:
- PanelLayout footerButton styles
This commit is contained in:
mgabdev 2021-01-13 12:03:09 -05:00
parent 8d3ebdd983
commit 1899ddfbfb
1 changed files with 9 additions and 7 deletions

View File

@ -38,13 +38,15 @@ class PanelLayout extends React.PureComponent {
<div className={[_s.d, _s.mlAuto].join(' ')}> <div className={[_s.d, _s.mlAuto].join(' ')}>
<Button <Button
isText isText
radiusSmall
backgroundColor='none' backgroundColor='none'
color='brand' color='brand'
to={headerButtonTo} to={headerButtonTo}
href={headerButtonHref} href={headerButtonHref}
onClick={headerButtonAction} onClick={headerButtonAction}
className={[_s.px15, _s.py5, _s.bgSubtle_onHover].join(' ')}
> >
<Text size='small' color='inherit' weight='bold'> <Text color='inherit' weight='bold'>
{headerButtonTitle} {headerButtonTitle}
</Text> </Text>
</Button> </Button>
@ -73,17 +75,17 @@ class PanelLayout extends React.PureComponent {
{ {
(!!footerButtonTitle && (!!footerButtonAction || !!footerButtonTo || !!footerButtonHref)) && (!!footerButtonTitle && (!!footerButtonAction || !!footerButtonTo || !!footerButtonHref)) &&
<div className={_s.d}> <div className={[_s.d, _s.py10, _s.px10].join(' ')}>
<Button <Button
isText radiusSmall
color='none' color='primary'
backgroundColor='none' backgroundColor='tertiary'
to={footerButtonTo} to={footerButtonTo}
href={footerButtonHref} href={footerButtonHref}
onClick={footerButtonAction} onClick={footerButtonAction}
className={[_s.px15, _s.py15, _s.bgSubtle_onHover].join(' ')} className={[_s.px15, _s.py10, _s.bgSubtle_onHover].join(' ')}
> >
<Text color='brand' size='medium'> <Text color='inherit' size='medium' weight='medium' align='center'>
{footerButtonTitle} {footerButtonTitle}
</Text> </Text>
</Button> </Button>