Skip to content

Commit

Permalink
fix(plasma-ui,plasma-web,plasma-b2c): Button Spinner checked color
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeti-or committed Sep 24, 2023
1 parent 5704f89 commit 5846129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plasma-core/src/components/Button/createButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { forwardRef } from 'react';

import { white } from '../../tokens';
import { ThemeProviderContextBase } from '../../types';

import { ButtonContentWrapper, ButtonLoader, ButtonRoot, ButtonText, StyledSpinner } from './Button';
Expand All @@ -21,7 +20,7 @@ export function createButton<T extends HTMLElement, P extends ButtonProps>(Root
contentRight,
square,
deviceScale,
loader = <StyledSpinner color={white} size={56} deviceScale={deviceScale} />,
loader = <StyledSpinner color="currentColor" size={56} deviceScale={deviceScale} />,
disabled,
isLoading,
type = 'button',
Expand Down

0 comments on commit 5846129

Please sign in to comment.