@@ -67,13 +67,13 @@ export const GridContainer = styled(({ wallet, theme, ...rest }: GridContainerPr
6767 position: relative;
6868 padding: 0rem 3rem;
6969 margin: 0rem;
70- border-bottom: 1px solid var(--border-main );
70+ border-bottom: 1px solid var(--border-primary );
7171 background: var(--bg-primary);
7272
7373 @media (max-width: 850px) {
7474 display: flex;
7575 height: 10rem;
76- background: #222429 ;
76+ background: var(--bg-secondary) ;
7777 }
7878` ;
7979
@@ -93,15 +93,15 @@ export const ColorText = styled.div<ColorTextProps>`
9393 width: ${ ( props ) => props . width || '100%' } ;
9494 height: ${ ( props ) => props . height || '4.5rem' } ;
9595 margin: ${ ( props ) => props . margin || '0' } ;
96- font-size: 1.2rem ;
97- font-family: Avenir Next Medium ;
96+ font-size: var(--font-size-md) ;
97+ font-family: var(--font-primary) ;
9898 display: flex;
99- color: #fff ;
99+ color: var(--text-inverse) ;
100100 justify-content: center;
101101 flex-direction: column;
102102 align-items: center;
103- background: ${ ( props ) => props . background || '#383b45 ' } ;
104- border-radius: ${ ( props ) => props . radius || '1.5rem ' } ;
103+ background: ${ ( props ) => props . background || 'var(--bg-secondary) ' } ;
104+ border-radius: ${ ( props ) => props . radius || 'var(--radius-lg) ' } ;
105105 display: flex;
106106 justify-content: ${ ( props ) => props . justify || 'space-evenly' } ;
107107 flex-direction: ${ ( props ) => props . direction || 'row' } ;
@@ -110,7 +110,7 @@ export const ColorText = styled.div<ColorTextProps>`
110110 @media (max-width: 540px) {
111111 padding: ${ ( props ) => ( props . needBackground ? '0 2rem 0 2rem' : 'auto' ) } ;
112112 background: ${ ( props ) => ( props . needBackground ? 'transparent' : 'auto' ) } ;
113- font-size: 1.5rem ;
113+ font-size: var(--font-size-lg) ;
114114 }
115115` ;
116116
@@ -130,25 +130,31 @@ export const Textarea = styled(({ ...props }: TextareaProps) => (
130130) ) < TextareaProps > `
131131 width: ${ ( props ) => props . width || '100%' } ;
132132 height: ${ ( props ) => props . height || '5rem' } ;
133- font-family: Avenir Next ;
134- border: 0.1rem solid #3a475c ;
135- font-size: 1.1rem ;
133+ font-family: var(--font-primary) ;
134+ border: 1px solid var(--border-primary) ;
135+ font-size: var(--font-size-sm) ;
136136 letter-spacing: 0.01rem;
137- color: #f8faff ;
138- border-radius: 1.5rem ;
139- background: #222429 ;
137+ color: var(--text-primary) ;
138+ border-radius: var(--radius-lg) ;
139+ background: var(--bg-secondary) ;
140140 outline: none;
141141 padding: ${ ( props ) => props . padding || '1rem 7rem 1rem 2rem' } ;
142142 position: relative;
143143 line-height: 3rem;
144144 overflow: hidden;
145+ transition: border-color var(--animation-duration-fast) var(--animation-easing-default);
146+
147+ &:focus {
148+ border-color: var(--border-focus);
149+ }
145150
146151 &::placeholder {
147- font-size: 1.4rem;
152+ font-size: var(--font-size-md);
153+ color: var(--text-tertiary);
148154 }
149155
150156 @media (max-width: 540px) {
151- font-size: 1.4rem ;
157+ font-size: var(--font-size-md) ;
152158 line-height: 3rem;
153159 height: 6rem;
154160 }
@@ -158,11 +164,18 @@ export const ContainerForIcon = styled.div`
158164 cursor: pointer;
159165 width: 4rem;
160166 height: 3.5rem;
161- border-radius: 1.5rem ;
162- border: 0.2rem solid #3a475c ;
167+ border-radius: var(--radius-lg) ;
168+ border: 2px solid var(--border-primary) ;
163169 display: flex;
164170 justify-content: center;
165171 align-items: center;
172+ background: var(--bg-glass);
173+ transition: all var(--animation-duration-fast) var(--animation-easing-default);
174+
175+ &:hover {
176+ border-color: var(--border-focus);
177+ background: var(--bg-secondary);
178+ }
166179
167180 @media (max-width: 540px) {
168181 height: 4.5rem;
@@ -194,19 +207,27 @@ export const Card = styled.div<CardProps>`
194207 width: ${ ( props ) => props . width || '50rem' } ;
195208 height: ${ ( props ) => props . height || '40rem' } ;
196209 padding: ${ ( props ) => props . padding || '0' } ;
197- background: #222429;
198- border: 0.1rem solid #3a475c;
199- box-shadow: 0px 0px 16px rgba(125, 125, 131, 0.1);
200- border-radius: 2rem;
210+ background: var(--bg-glass);
211+ border: 1px solid var(--border-glass);
212+ box-shadow: var(--shadow-glass);
213+ border-radius: var(--radius-xl);
214+ backdrop-filter: var(--glass-backdrop);
201215 display: flex;
202216 justify-content: ${ ( props ) => props . justify || 'center' } ;
203217 flex-direction: column;
204218 align-items: center;
205- transition: 0.3s all ease-out;
219+ transition: all var(--animation-duration-normal) var(--animation-easing-default);
220+
221+ &:hover {
222+ transform: translateY(-4px);
223+ box-shadow: var(--shadow-xl);
224+ border-color: var(--border-focus);
225+ }
226+
206227 @media (max-width: 540px) {
207- background: #17181a ;
228+ background: var(--bg-secondary) ;
208229 border: none;
209- box-shadow: none ;
230+ box-shadow: var(--shadow-sm) ;
210231 height: ${ ( props ) => props . minHeight || '40rem' } ;
211232 width: ${ ( props ) => props . minWidth || '100%' } ;
212233 }
0 commit comments