Blade Components uses Tailwind CSS for its default styling. If you already have Tailwind installed in your project, just add the following configuration to your resources/css/app.css file:
@import'tailwindcss';@import'../../vendor/ddfsn/blade-components/resources/css/blade-components.css';@source '../../vendor/ddfsn/blade-components/resources/**/*.blade.php';@custom-variant dark (&:where(.dark, .dark *));
Please refer to the Tailwind documentation if you don't have Tailwind CSS installed already.
By default, Blade Components will apply the dark mode appearance automatically by applying the .dark class to the html element. Dark mode is chosen based on the user's system preference or previously selected appearance.
If you don't want Blade Components to handle this for you, you can remove the @ddfsnAppearance directive from your layout file.
Blade Components comes with a "default theme". You can customize this to your liking, for a detailed explanation please refer to the theming documentation.