Answer the question
In order to leave comments, you need to log in
How to change color of evergreen ui spinner?
documentation site https://evergreen.segment.com/get-started/theming/
In order to style your app, you must wrap it in the ThemeProvider component. This component uses the React.Context API under the hood.
ThemeProvider is not imported from import {ThemeProvider} from 'evergreen-ui';
how to change spinner color?????
Answer the question
In order to leave comments, you need to log in
const newTheme = {
...defaultTheme,
spinnerColor: 'green' //сюда писать цвет
}
const ThemedApp = () => (
<ThemeProvider
value={newTheme}
>
<Spinner />
</ThemeProvider>
)
render(
<ThemedApp />
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question