@@ -23,14 +23,14 @@ export const PreviewOverlay = styled.div`
2323// visibility: ${props => (props.visible ? 'visible' : 'hidden')};
2424
2525export const PreviewWrapper = styled . div `
26- color: ${ theme ( 'drawer .font' ) } ;
26+ color: ${ theme ( 'preview .font' ) } ;
2727 box-sizing: border-box;
2828 transition: transform 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
2929 font-family: Roboto, sans-serif;
3030 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
3131 border-radius: 0px;
3232 height: 100%;
33- width: ${ props => ( props . type === 'user ' ? '40%' : '70%' ) } ;
33+ width: ${ props => ( props . type === 'account ' ? '40%' : '70%' ) } ;
3434 right: 0;
3535 position: fixed;
3636 transform: ${ props => doTransform ( props . visible ) } ;
@@ -42,7 +42,7 @@ export const PreviewWrapper = styled.div`
4242`
4343export const PreviewContent = styled . div `
4444 width: 90%;
45- background-color: ${ theme ( 'drawer .bg' ) } ;
45+ background-color: ${ theme ( 'preview .bg' ) } ;
4646 height: 100%;
4747 box-shadow: -5px 0px 14px 0px rgba(189, 189, 189, 0.37);
4848 padding: 20px;
@@ -64,7 +64,7 @@ const closeWith = '40px'
6464export const CloserInner = styled . div `
6565 width: ${ closeWith } ;
6666 height: 45px;
67- background-color: ${ theme ( 'drawer .bg' ) } ;
67+ background-color: ${ theme ( 'preview .bg' ) } ;
6868 transform-origin: right center 0;
6969 transform: rotate3d(0, 1, 0, -30deg);
7070 box-shadow: -7px 4px 19px 0px rgba(50, 50, 50, 0.2);
@@ -77,15 +77,15 @@ export const Closer = styled.div`
7777 height: ${ closeWith } ;
7878 perspective: ${ closeWith } ;
7979 cursor: pointer;
80- display: ${ props => ( props . type === 'user ' ? 'none' : 'block' ) } ;
80+ display: ${ props => ( props . type === 'account ' ? 'none' : 'block' ) } ;
8181
8282 &:after {
8383 content: '✕';
8484 position: absolute;
8585 top: 9px;
8686 right: 6px;
8787 font-size: large;
88- color: ${ theme ( 'drawer .font' ) } ;
88+ color: ${ theme ( 'preview .font' ) } ;
8989 font-weight: lighter;
9090 }
9191`
0 commit comments