Commit 2be3656a authored by tom's avatar tom

another color for loader

parent b9e0a338
import { Box, Text } from '@chakra-ui/react'; import { Box, Text, useColorModeValue } from '@chakra-ui/react';
import { keyframes } from '@chakra-ui/system'; import { keyframes } from '@chakra-ui/system';
import React from 'react'; import React from 'react';
...@@ -22,7 +22,7 @@ const ContentLoader = () => { ...@@ -22,7 +22,7 @@ const ContentLoader = () => {
animation: `${ runnerAnimation } 700ms ease-in-out infinite alternate`, animation: `${ runnerAnimation } 700ms ease-in-out infinite alternate`,
left: '100%', left: '100%',
top: 0, top: 0,
backgroundColor: 'blue.300', backgroundColor: useColorModeValue('blackAlpha.400', 'whiteAlpha.400'),
borderRadius: 'full', borderRadius: 'full',
}} }}
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment