@@ -41,7 +41,29 @@ const styles = {
4141 justifyContent : 'flex-start' as 'flex-start' ,
4242 alignItems : 'center' as 'center' ,
4343 } ,
44+ buttonLarge : ( theme : Theme ) => ( {
45+ padding : '0.2rem 1rem' ,
46+ border : `solid 1px ${ theme [ '$color-line1-3' ] } ` ,
47+ borderRadius : '3px' ,
48+ minHeight : '2rem' ,
49+ fontSize : '16px' ,
50+ backgroundColor : 'white' ,
51+ lineHeight : '1.5rem' ,
52+ color : theme [ '$color-text1-4' ] ,
53+ '&:hover,&:focus' : css ( {
54+ backgroundColor : theme [ '$color-fill1-1' ] ,
55+ borderColor : theme [ '$color-line1-4' ] ,
56+ } ) ,
57+ } ) ,
58+ tutorialTitle : ( theme : Theme ) => ( {
59+ color : theme [ '$color-text1-3' ] ,
60+ fontSize : '12px' ,
61+ } ) ,
4462 buttonContainer : {
63+ display : 'flex' as 'flex' ,
64+ flexDirection : 'column' as 'column' ,
65+ justifyContent : 'center' as 'center' ,
66+ alignItems : 'center' as 'center' ,
4567 margin : '0.5rem' ,
4668 } ,
4769}
@@ -72,9 +94,10 @@ export const StartPage = (props: Props) => (
7294 </ div >
7395 { props . tutorial && (
7496 < div css = { styles . buttonContainer } >
75- < Button size = "large" onClick = { props . onContinue } style = { { padding : '0 1rem' } } >
76- Continue Current Tutorial
77- </ Button >
97+ < button onClick = { props . onContinue } css = { styles . buttonLarge } >
98+ Continue Tutorial
99+ < div css = { styles . tutorialTitle } > "{ props . tutorial . summary . title } "</ div >
100+ </ button >
78101 </ div >
79102 ) }
80103 </ div >
0 commit comments