File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ const HowItWorksPage: PageComponent = () => {
5151 return (
5252 < Box >
5353 < AnnouncementBanner
54+ variant = "secondary"
5455 imgSrc = { howItWorksIllustration }
5556 title = "Find more information about staking below, then go to the staking page."
5657 href = "/staking"
Original file line number Diff line number Diff line change @@ -53,7 +53,20 @@ const baseStyle: PartsStyleFunction<typeof parts> = (props) => {
5353 }
5454}
5555
56+ const secondaryVariant : PartsStyleFunction < typeof parts > = ( props ) => ( {
57+ container : {
58+ bg : mode ( "brand.50" , "#2B3036" ) ( props ) ,
59+ border : mode ( "none" , "1px solid" ) ( props ) ,
60+ borderColor : "brand.300" ,
61+ } ,
62+ } )
63+
64+ const variants = {
65+ secondary : secondaryVariant ,
66+ }
67+
5668export const AnnouncementBanner = {
5769 parts : parts . keys ,
5870 baseStyle,
71+ variants,
5972}
You can’t perform that action at this time.
0 commit comments