A dark theme for Laravel Nova to save your tired eyes ๐
This theme works in any Laravel app that uses Nova. Just require it and you're done.
composer require david-griffiths/nova-dark-theme
(You can install multiple themes with Nova. So you don't have to choose between this and another - use them both!)
We use a css filter to invert the colors, then some manual tweaks for the sidebar and logo areas. So white becomes black, which you should keep in mind when adding any custom css colors.
One item it doesn't style for you is the Nova Code
field. I don't want impose a CodeMirror theme on you when you can pick one from here and set it like this:
Code::make('MyTextField')->options(['theme' => 'base16-light'])
(:exclamation: Remember to pick a light coloured CodeMirror theme if you want it to appear dark in Nova after the colors get inverted)
MIT License (MIT). Please see License File for more.