fix: use colour from the palette for the spinner

main
Josue 4 years ago committed by Tsu-ba-me
parent 029714112b
commit 227685983f
  1. 3
      striker-ui/components/Spinner.tsx

@ -1,5 +1,6 @@
import { makeStyles } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/core/styles';
import CircularProgress from '@material-ui/core/CircularProgress'; import CircularProgress from '@material-ui/core/CircularProgress';
import { TEXT } from '../lib/consts/DEFAULT_THEME';
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
root: { root: {
@ -9,7 +10,7 @@ const useStyles = makeStyles(() => ({
marginTop: '3em', marginTop: '3em',
}, },
spinner: { spinner: {
color: '#FFF', color: TEXT,
variant: 'indeterminate', variant: 'indeterminate',
size: '50em', size: '50em',
}, },

Loading…
Cancel
Save