Skip to content

Commit 5ff5837

Browse files
committed
Update LargeButton.tsx
1 parent a25937e commit 5ff5837

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

components/src/atoms/buttons/LargeButton.tsx

+15-15
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
192192
193193
&:active {
194194
background-color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType]
195-
.activeBackgroundColor};
195+
.activeBackgroundColor};
196196
${activeColorFor(buttonType)};
197197
}
198198
&:active #btn-icon {
@@ -202,11 +202,11 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
202202
&:hover {
203203
color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType].hoverColor};
204204
background-color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType]
205-
.hoverBackgroundColor};
205+
.hoverBackgroundColor};
206206
207207
border: ${buttonType === 'stroke'
208-
? `2px solid ${COLORS.blue55}`
209-
: buttonType === 'primary'
208+
? `2px solid ${COLORS.blue55}`
209+
: buttonType === 'primary'
210210
? `4px solid ${COLORS.blue55}`
211211
: computedBorderStyle()};
212212
}
@@ -218,14 +218,14 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
218218
&:disabled {
219219
color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledColor};
220220
background-color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType]
221-
.disabledBackgroundColor};
221+
.disabledBackgroundColor};
222222
border: 4px solid ${COLORS.grey35};
223223
}
224224
225225
&[aria-disabled='true'] {
226226
color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledColor};
227227
background-color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType]
228-
.disabledBackgroundColor};
228+
.disabledBackgroundColor};
229229
border: 4px solid ${COLORS.grey35};
230230
}
231231
@@ -241,13 +241,13 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
241241
242242
&:active {
243243
background-color: ${computedDisabled
244-
? LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledBackgroundColor
245-
: LARGE_BUTTON_PROPS_BY_TYPE[buttonType].activeBackgroundColor};
244+
? LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledBackgroundColor
245+
: LARGE_BUTTON_PROPS_BY_TYPE[buttonType].activeBackgroundColor};
246246
${!computedDisabled && activeColorFor(buttonType)};
247247
outline: 4px solid
248248
${computedDisabled
249-
? LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledBackgroundColor
250-
: LARGE_BUTTON_PROPS_BY_TYPE[buttonType].activeBackgroundColor};
249+
? LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledBackgroundColor
250+
: LARGE_BUTTON_PROPS_BY_TYPE[buttonType].activeBackgroundColor};
251251
}
252252
253253
&:active #btn-icon {
@@ -256,14 +256,14 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
256256
257257
&:focus-visible {
258258
background-color: ${computedDisabled
259-
? LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledBackgroundColor
260-
: LARGE_BUTTON_PROPS_BY_TYPE[buttonType].focusVisibleBackgroundColor};
259+
? LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledBackgroundColor
260+
: LARGE_BUTTON_PROPS_BY_TYPE[buttonType].focusVisibleBackgroundColor};
261261
${!computedDisabled && activeColorFor(buttonType)};
262262
padding: calc(${SPACING.spacing24} + ${SPACING.spacing2});
263263
border: ${computedBorderStyle()};
264264
outline: ${computedDisabled
265-
? 'none'
266-
: `3px solid
265+
? 'none'
266+
: `3px solid
267267
${LARGE_BUTTON_PROPS_BY_TYPE[buttonType].focusVisibleOutlineColor}`};
268268
background-clip: padding-box;
269269
box-shadow: none;
@@ -272,7 +272,7 @@ export function LargeButton(props: LargeButtonProps): JSX.Element {
272272
&:disabled {
273273
color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType].disabledColor};
274274
background-color: ${LARGE_BUTTON_PROPS_BY_TYPE[buttonType]
275-
.disabledBackgroundColor};
275+
.disabledBackgroundColor};
276276
}
277277
}
278278
`

0 commit comments

Comments
 (0)