Changing Nova tailwind config #4782
-
|
How would I, for example, change the greys used by Nova from Slate to Neutral? Normally I would do this by extending the theme in the tailwind config file. |
Beta Was this translation helpful? Give feedback.
Answered by
davidhemphill
Sep 7, 2022
Replies: 1 comment
-
|
You can create a custom asset ( /* Nova Asset CSS */
:root {
--colors-gray-100: 255, 0, 0 /** <-- RGB values **/
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davidhemphill
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can create a custom asset (
php artisan nova:asset) that overrides the published CSS variables. For example, your custom asset's CSS file could look something like this: