@@ -23,14 +23,14 @@ export const PreviewOverlay = styled.div`
23
23
// visibility: ${props => (props.visible ? 'visible' : 'hidden')};
24
24
25
25
export const PreviewWrapper = styled . div `
26
- color:${ theme ( 'drawer .font' ) } ;
26
+ color:${ theme ( 'preview .font' ) } ;
27
27
box-sizing: border-box;
28
28
transition: transform 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
29
29
font-family: Roboto, sans-serif;
30
30
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
31
31
border-radius: 0px;
32
32
height: 100%;
33
- width:${ props => ( props . type === 'user ' ?'40%' :'70%' ) } ;
33
+ width:${ props => ( props . type === 'account ' ?'40%' :'70%' ) } ;
34
34
right: 0;
35
35
position: fixed;
36
36
transform:${ props => doTransform ( props . visible ) } ;
@@ -42,7 +42,7 @@ export const PreviewWrapper = styled.div`
42
42
`
43
43
export const PreviewContent = styled . div `
44
44
width: 90%;
45
- background-color:${ theme ( 'drawer .bg' ) } ;
45
+ background-color:${ theme ( 'preview .bg' ) } ;
46
46
height: 100%;
47
47
box-shadow: -5px 0px 14px 0px rgba(189, 189, 189, 0.37);
48
48
padding: 20px;
@@ -64,7 +64,7 @@ const closeWith = '40px'
64
64
export const CloserInner = styled . div `
65
65
width:${ closeWith } ;
66
66
height: 45px;
67
- background-color:${ theme ( 'drawer .bg' ) } ;
67
+ background-color:${ theme ( 'preview .bg' ) } ;
68
68
transform-origin: right center 0;
69
69
transform: rotate3d(0, 1, 0, -30deg);
70
70
box-shadow: -7px 4px 19px 0px rgba(50, 50, 50, 0.2);
@@ -77,15 +77,15 @@ export const Closer = styled.div`
77
77
height:${ closeWith } ;
78
78
perspective:${ closeWith } ;
79
79
cursor: pointer;
80
- display:${ props => ( props . type === 'user ' ?'none' :'block' ) } ;
80
+ display:${ props => ( props . type === 'account ' ?'none' :'block' ) } ;
81
81
82
82
&:after {
83
83
content: '✕';
84
84
position: absolute;
85
85
top: 9px;
86
86
right: 6px;
87
87
font-size: large;
88
- color:${ theme ( 'drawer .font' ) } ;
88
+ color:${ theme ( 'preview .font' ) } ;
89
89
font-weight: lighter;
90
90
}
91
91
`