DEV Community

Cover image for Arctic Nord Theme for Filament PHP
Andréia Bohner
Andréia Bohner

Posted on • Edited on

Arctic Nord Theme for Filament PHP

The Filament PHP ecosystem just got a fresh new look! I'm excited to introduce the Nord Theme for Filament PHP. This beautifully designed theme features both light and dark modes and is inspired by the popular Nord color palette.
If you're looking for a clean, stylish, and visually soothing user interface for your Filament applications, this theme is your perfect match! ❄️ ⛄

Why the Nord Theme?

Nord is a beloved color palette derived from the icy blues, snowy tones of the Arctic and the mesmerizing hues of the Aurora Borealis. Designed for optimal readability and minimal eye strain, it blends Nordic aesthetics with cool, calming, and balanced dimmed pastel tones making it a ideal choice for a modern and elegant UI.

Nord theme palettes

This is the Filament Nord theme custom gray palette used to match the Nord's Polar Night and Snow Storm colors:

Custom Filament gray palette

Installation

Getting started with the Filament Nord Theme is simple. You can install it via Composer:

composer require andreia/filament-nord-theme
Enter fullscreen mode Exit fullscreen mode

To install the theme's required JS libraries (the forms, typography TailwindCSS plugins, and also postcss and autoprefixer) and create the postcss.config.js file if it not exists yet, run:

php artisan filament-nord-theme:install
Enter fullscreen mode Exit fullscreen mode

Add a new item to the input array of your vite.config.js file:

'vendor/andreia/filament-nord-theme/resources/css/theme.css'
Enter fullscreen mode Exit fullscreen mode

Compile the assets with:

npm run build
Enter fullscreen mode Exit fullscreen mode

Register the plugin on your panel (e.g. /app/Providers/Filament/AdminPanelProvider.php):

use Andreia\FilamentNordTheme\FilamentNordThemePlugin;

$panel
  ->plugin(FilamentNordThemePlugin::make())
Enter fullscreen mode Exit fullscreen mode

You are all set!

Theme Preview

Here's a preview of what the Filament demo project looks like with the Nord Theme applied:

Filament Nord Theme preview

Screenshots

Every detail is carefully thought out to create a eye-comfortable, and clean feeling.

Rounded corners dashboard widgets dark

Rounded corners dashboard widgets light

Rounded corners buttons light

Rounded corners button and widgets light

You can check more screenshots on my blog.

Give it a try and let me know your thoughts! You can find the project on GitHub: Filament Nord Theme.

Happy theming! 💛 ✨

Top comments (0)