File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,9 +23,17 @@ const StyledPattern = styled.div`
2323 }
2424` ;
2525
26- const Memo = styled . span `
27- color: ${ props => props . theme . ATLANTIS } ;
26+ const SubHeader = styled . span `
27+ background-color: ${ props => props . theme . titleBackground } ;
28+ color: ${ props => props . theme . header } ;
2829 display: block;
30+ margin-bottom: 8px;
31+ padding: 4px;
32+ text-transform: uppercase;
33+ ` ;
34+
35+ const Type = styled . span `
36+ text-transform: capitalize;
2937` ;
3038
3139const StyledLink = styled ( Link ) `
@@ -40,7 +48,6 @@ const StyledLink = styled(Link)`
4048 }
4149` ;
4250
43- // const Pattern = ({ match, mode }) => {
4451class Pattern extends React . Component {
4552 componentDidMount ( ) {
4653 this . props . reset ( ) ;
@@ -62,11 +69,11 @@ class Pattern extends React.Component {
6269 < React . Fragment >
6370 < h2 > { pattern . name } </ h2 >
6471 < p >
65- < Memo > Type:</ Memo >
66- { pattern . type } pattern
72+ < SubHeader > Type:</ SubHeader >
73+ < Type > { pattern . type } pattern</ Type >
6774 </ p >
6875 < p >
69- < Memo > Description:</ Memo >
76+ < SubHeader > Description:</ SubHeader >
7077 { `This pattern ${ pattern . hint } .` }
7178 </ p >
7279
You can’t perform that action at this time.
0 commit comments