-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use theme provided by theme.js file and not css. #197
Comments
belongs to #191 |
See also first changes in #199 |
It's enough for now that for our OJS use case that the use can set the important theme values manually. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the [theme.js] every used color should be written. (Primary, Seccondary, warning, success, error, ...)
These colors should be used throughout the UI and imported from the Theme instead of setting them in the css files.
For example in the check.css
The theme of the color should be used instead.
How To:
import { useTheme } from '@material-ui/core/styles';
The text was updated successfully, but these errors were encountered: