A sweet light and dark theme for Filament PHP.

Check out how the theme looks when applied to Filament demo project:
[!IMPORTANT]
Regarding the payment, at the moment there is a limitation because Stripe does not support fee transfers between the Netherlands (where AnyStack is based) and Brazil (where I am currently based). If you encounter any issues related to this, you can contact me via email at andreiabohner@gmail.com, and I can provide an alternative.
Filament Cotton Candy Theme uses AnyStack to handle payment, licensing, and distribution. You can buy it here.
During the purchasing process, AnyStack will provide you with a license key. Once your license key is activated, you can proceed with the Composer installation described below.
Add the Filament Cotton Candy package to the repositories section of your composer.json file:
{ "repositories": [ { "type": "composer", "url": "https://filament-cotton-candy-theme.composer.sh" } ]}
Once the repository has been added to the composer.json file, you can install like any other Composer package using the composer require command:
composer require filament-handbook/filament-cotton-candy-theme
Next, you will be prompted to provide your username and password.
Loading composer repositories with package informationAuthentication required (filament-cotton-candy.composer.sh):Username: [license-email]Password: [license-key]
Your username will be your email address and the password will be your license key. For example, let's say we have the following email and license activation:
Contact email: your@email.comLicense key: 04c21df8f-4890-7024-y2vk-6bny143ta642
You will need to enter the above information as follows when prompted for your credentials:
Loading composer repositories with package informationAuthentication required (filament-cotton-candy.composer.sh):Username: your@email.comPassword: 04c21df8f-4890-7024-y2vk-6bny143ta642
Add a new item to the input array of your vite.config.js file:
'vendor/filament-handbook/filament-cotton-candy-theme/resources/css/theme.css'
Run:
npm run build
Register the plugin on your panel (e.g. /app/Providers/Filament/AdminPanelProvider.php):
use FilamentHandbook\FilamentCottonCandyTheme\FilamentCottonCandyThemePlugin; $panel ->plugin(FilamentCottonCandyThemePlugin::make())
You're all set!
Cotton Candy theme comes with 8 sweet color palettes:
Pink candy vibes 💗
Soft purple sweetness 💜
Warm peachy tones
Fresh minty greens
Creamy vanilla yellows
Dreamy blue cotton candy
Vibrant blue jelly candy
Sweet apricot orange
You can use any of these palettes to override colors in your panel:
use FilamentHandbook\FilamentCottonCandyTheme\Color;use FilamentHandbook\FilamentCottonCandyTheme\FilamentCottonCandyThemePlugin; $panel ->colors([ 'primary' => Color::CandyLavender, 'secondary' => Color::CandyMint, 'accent' => Color::CandyApricot, ]) ->plugin(FilamentCottonCandyThemePlugin::make())
By default, the primary color is CandyGum.
| Login Light | Login Dark |
|---|---|
|
|
| Dashboard Light | Dashboard Dark |
|---|---|
|
|
| User Menu Light | User Menu Dark |
|---|---|
|
|
| Create Product Light | Create Product Dark |
|---|---|
|
|
| Order List Light | Order List Dark |
|---|---|
|
|
| Create Order Light | Create Order Dark |
|---|---|
|
|
Andréia is a full-stack web developer and an enthusiastic open-source contributor & maintainer. She loves coding, reading, and learning new things every day! You can learn more about Andréia on her GitHub profile.