@@ -38,7 +38,7 @@ export const Container = styled.main<{
3838 height: 100%;
3939 overflow: hidden;
4040 ` } ;
41- ` }
41+ ` } ;
4242` ;
4343
4444export const TabContainer = styled . div < {
@@ -59,7 +59,7 @@ export const TabContainer = styled.div<{
5959 overflow: hidden;
6060 ${ delayOutEffect ( 0 ) } ;
6161 ` } ;
62- ` }
62+ ` } ;
6363` ;
6464
6565export const InnerContainer = styled . div < {
@@ -77,7 +77,7 @@ export const InnerContainer = styled.div<{
7777 padding: 0;
7878 ${ delayOutEffect ( 0 ) } ;
7979 ` } ;
80- ` }
80+ ` } ;
8181` ;
8282
8383export const Templates = styled . div `
@@ -129,38 +129,37 @@ const activeStyles = css`
129129 ${ ( { theme } ) => css `
130130 background: ${ theme . background } ;
131131 color: white;
132- ` }
132+ ` } ;
133133` ;
134134
135135export const Button = styled . button < {
136- selected : boolean ;
136+ selected ? : boolean ;
137137} > `
138- ${ ( { selected, theme } ) => css `
139- position: relative;
140- padding: 1rem 2rem;
141- margin: 0;
142- border: none;
143- background: ${ theme . background2 } ;
144- color: rgba(255, 255, 255, 0.5);
145- font-family: 'Roboto', sans-serif;
146- font-size: 0.875rem;
147- font-weight: 500;
148- text-transform: uppercase;
149- transition: 0.15s ease all;
150- cursor: pointer;
151-
152- ${ selected &&
153- css `
154- ${ activeStyles } ;
155- ` } ;
138+ position: relative;
139+ padding: 1rem 2rem;
140+ margin: 0;
141+ border: none;
142+ background: ${ props => props . theme . background2 } ;
143+ color: rgba(255, 255, 255, 0.5);
144+ font-family: 'Roboto', sans-serif;
145+ font-size: 0.875rem;
146+ font-weight: 500;
147+ text-transform: uppercase;
148+ transition: 0.15s ease all;
149+ cursor: pointer;
156150
157- &:focus {
158- color: white;
159- }
160- &:hover {
161- color: white;
162- }
163- ` }
151+ ${ props =>
152+ props . selected &&
153+ css `
154+ ${ activeStyles } ;
155+ ` } ;
156+
157+ &:focus {
158+ color: white;
159+ }
160+ &:hover {
161+ color: white;
162+ }
164163` ;
165164
166165export const Title = styled . h2 `
0 commit comments