Closed tefygz closed 3 years ago
Hey @tefygz, you mean the styled.button component in HubOverviewAction.tsx? We use emotions theming for applying colors.
https://emotion.sh/docs/theming
The themes are in src/theme.ts
Hi @tefygz, one of the colors was hardcoded in ActionButton. This is now fixed with https://github.com/jina-ai/dashboard/pull/231.
If you're interested in working on issues like that, please check the issue https://github.com/jina-ai/dashboard/issues/209. or reach out to us. There are more css classes that we want to refactor into emotion style.
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days
In the ActionButton component, are the colors hard-coded?