@@ -136,28 +136,32 @@ const generateStyle = (
136136 default : {
137137 color : componentTheme . primaryColor ,
138138 background : componentTheme . primaryBackground ,
139- borderColor : componentTheme . primaryBorderColor
139+ borderColor : componentTheme . primaryBorderColor ,
140+ boxShadow : componentTheme . primaryBoxShadow
140141 } ,
141142 active : {
142143 background : componentTheme . primaryActiveBackground ,
143144 boxShadow : componentTheme . primaryActiveBoxShadow
144145 } ,
145146 hover : {
146- background : componentTheme . primaryHoverBackground
147+ background : componentTheme . primaryHoverBackground ,
148+ boxShadow : componentTheme . primaryHoverBoxShadow
147149 }
148150 }
149151 : {
150152 default : {
151153 color : componentTheme . primaryGhostColor ,
152154 borderColor : componentTheme . primaryGhostBorderColor ,
153- background : componentTheme . primaryGhostBackground
155+ background : componentTheme . primaryGhostBackground ,
156+ boxShadow : componentTheme . primaryBoxShadow
154157 } ,
155158 active : {
156159 background : componentTheme . primaryGhostActiveBackground ,
157160 boxShadow : componentTheme . primaryGhostActiveBoxShadow
158161 } ,
159162 hover : {
160- background : componentTheme . primaryGhostHoverBackground
163+ background : componentTheme . primaryGhostHoverBackground ,
164+ boxShadow : componentTheme . primaryHoverBoxShadow
161165 }
162166 } ,
163167
@@ -166,28 +170,32 @@ const generateStyle = (
166170 default : {
167171 color : componentTheme . secondaryColor ,
168172 background : componentTheme . secondaryBackground ,
169- borderColor : componentTheme . secondaryBorderColor
173+ borderColor : componentTheme . secondaryBorderColor ,
174+ boxShadow : componentTheme . secondaryBoxShadow
170175 } ,
171176 active : {
172177 background : componentTheme . secondaryActiveBackground ,
173178 boxShadow : componentTheme . secondaryActiveBoxShadow
174179 } ,
175180 hover : {
176- background : componentTheme . secondaryHoverBackground
181+ background : componentTheme . secondaryHoverBackground ,
182+ boxShadow : componentTheme . secondaryHoverBoxShadow
177183 }
178184 }
179185 : {
180186 default : {
181187 color : componentTheme . secondaryGhostColor ,
182188 borderColor : componentTheme . secondaryGhostBorderColor ,
183- background : componentTheme . secondaryGhostBackground
189+ background : componentTheme . secondaryGhostBackground ,
190+ boxShadow : componentTheme . secondaryGhostBoxShadow
184191 } ,
185192 active : {
186193 background : componentTheme . secondaryGhostActiveBackground ,
187194 boxShadow : componentTheme . secondaryGhostActiveBoxShadow
188195 } ,
189196 hover : {
190- background : componentTheme . secondaryGhostHoverBackground
197+ background : componentTheme . secondaryGhostHoverBackground ,
198+ boxShadow : componentTheme . secondaryGhostHoverBoxShadow
191199 }
192200 } ,
193201
@@ -196,28 +204,32 @@ const generateStyle = (
196204 default : {
197205 color : componentTheme . primaryInverseColor ,
198206 background : componentTheme . primaryInverseBackground ,
199- borderColor : componentTheme . primaryInverseBorderColor
207+ borderColor : componentTheme . primaryInverseBorderColor ,
208+ boxShadow : componentTheme . primaryInverseBoxShadow
200209 } ,
201210 active : {
202211 background : componentTheme . primaryInverseActiveBackground ,
203212 boxShadow : componentTheme . primaryInverseActiveBoxShadow
204213 } ,
205214 hover : {
206- background : componentTheme . primaryInverseHoverBackground
215+ background : componentTheme . primaryInverseHoverBackground ,
216+ boxShadow : componentTheme . primaryInverseHoverBoxShadow
207217 }
208218 }
209219 : {
210220 default : {
211221 color : componentTheme . primaryInverseGhostColor ,
212222 borderColor : componentTheme . primaryInverseGhostBorderColor ,
213- background : componentTheme . primaryInverseGhostBackground
223+ background : componentTheme . primaryInverseGhostBackground ,
224+ boxShadow : componentTheme . primaryInverseGhostBoxShadow
214225 } ,
215226 active : {
216227 background : componentTheme . primaryInverseGhostActiveBackground ,
217228 boxShadow : componentTheme . primaryInverseGhostActiveBoxShadow
218229 } ,
219230 hover : {
220- background : componentTheme . primaryInverseGhostHoverBackground
231+ background : componentTheme . primaryInverseGhostHoverBackground ,
232+ boxShadow : componentTheme . primaryInverseGhostHoverBoxShadow
221233 }
222234 } ,
223235
@@ -226,28 +238,32 @@ const generateStyle = (
226238 default : {
227239 color : componentTheme . successColor ,
228240 background : componentTheme . successBackground ,
229- borderColor : componentTheme . successBorderColor
241+ borderColor : componentTheme . successBorderColor ,
242+ boxShadow : componentTheme . successBoxShadow
230243 } ,
231244 active : {
232245 background : componentTheme . successActiveBackground ,
233246 boxShadow : componentTheme . successActiveBoxShadow
234247 } ,
235248 hover : {
236- background : componentTheme . successHoverBackground
249+ background : componentTheme . successHoverBackground ,
250+ boxShadow : componentTheme . successHoverBoxShadow
237251 }
238252 }
239253 : {
240254 default : {
241255 color : componentTheme . successGhostColor ,
242256 borderColor : componentTheme . successGhostBorderColor ,
243- background : componentTheme . successGhostBackground
257+ background : componentTheme . successGhostBackground ,
258+ boxShadow : componentTheme . successGhostBoxShadow
244259 } ,
245260 active : {
246261 background : componentTheme . successGhostActiveBackground ,
247262 boxShadow : componentTheme . successGhostActiveBoxShadow
248263 } ,
249264 hover : {
250- background : componentTheme . successGhostHoverBackground
265+ background : componentTheme . successGhostHoverBackground ,
266+ boxShadow : componentTheme . successGhostHoverBoxShadow
251267 }
252268 } ,
253269
@@ -256,28 +272,32 @@ const generateStyle = (
256272 default : {
257273 color : componentTheme . dangerColor ,
258274 background : componentTheme . dangerBackground ,
259- borderColor : componentTheme . dangerBorderColor
275+ borderColor : componentTheme . dangerBorderColor ,
276+ boxShadow : componentTheme . dangerBoxShadow
260277 } ,
261278 active : {
262279 background : componentTheme . dangerActiveBackground ,
263280 boxShadow : componentTheme . dangerActiveBoxShadow
264281 } ,
265282 hover : {
266- background : componentTheme . dangerHoverBackground
283+ background : componentTheme . dangerHoverBackground ,
284+ boxShadow : componentTheme . dangerHoverBoxShadow
267285 }
268286 }
269287 : {
270288 default : {
271289 color : componentTheme . dangerGhostColor ,
272290 borderColor : componentTheme . dangerGhostBorderColor ,
273- background : componentTheme . dangerGhostBackground
291+ background : componentTheme . dangerGhostBackground ,
292+ boxShadow : componentTheme . dangerGhostBoxShadow
274293 } ,
275294 active : {
276295 background : componentTheme . dangerGhostActiveBackground ,
277296 boxShadow : componentTheme . dangerGhostActiveBoxShadow
278297 } ,
279298 hover : {
280- background : componentTheme . dangerGhostHoverBackground
299+ background : componentTheme . dangerGhostHoverBackground ,
300+ boxShadow : componentTheme . dangerGhostHoverBoxShadow
281301 }
282302 }
283303 }
0 commit comments