rafyakbar/arasy-theme

Arasy Theme — a modern FilamentPHP v5 theme plugin inspired by TailAdmin design language. Features a fresh brand color palette, Outfit typography, consistent border radius, and full dark mode support.

Maintainers

Package info

github.com/rafyakbar/arasy-theme

Homepage

Language:CSS

pkg:composer/rafyakbar/arasy-theme

Transparency log

Statistics

Installs: 42

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.2.0 2026-07-20 06:05 UTC

This package is auto-updated.

Last update: 2026-07-20 06:26:30 UTC


README

Packagist Filament v5 Downloads License

A modern FilamentPHP v5 theme plugin inspired by the TailAdmin design language — vibrant indigo accents, Outfit typography, consistent border radius, sleek custom scrollbar, and full dark mode support.

Table of Contents

Features

  • Brand Color Palette — Carefully crafted primary (indigo), success (green), warning (amber), danger (red), info (blue), and gray scales
  • Outfit Font — Clean, modern sans-serif typeface loaded via Google Font Provider
  • IBM Plex Mono — Monospace font for code, stats, and tabular data
  • Design Tokens — CSS custom properties for border radius, shadows, colors, and transitions
  • Full Dark Mode — Every surface, border, text, and shadow has a dark variant including the sidebar
  • Consistent Border Radius — 16px cards, 8px inputs, 24px modals, pill badges
  • Sleek Custom Scrollbar — Thin (4px), rounded pill-style thumb, sidebar nav gets an even thinner (3px) variant; colors adapt to light/dark mode
  • Sidebar Brand Name — Optional brand name display beside the logo, responsive to collapse state
  • Collapsed Sidebar Logo — Logo stays visible and centered when sidebar is collapsed (opt-in via withCollapsedLogo())
  • Cluster Sub-Navigation — Styled cluster navigation matching the sidebar appearance
  • Auth Pages — Dark-themed login, register, and password reset pages with brand block
  • Plain CSS — No build step required for the theme; loaded as a Filament asset
  • One-Command Setupphp artisan arasy:install detects your panel and publishes assets

Compatibility

Package Version Filament Version PHP Version
^1.0 v5.x ^8.2

Requirements

  • PHP 8.2+
  • Laravel 10+
  • Filament v5.0+

Screenshots

Light Mode Dark Mode

Light Mode — Collapsed Sidebar Dark Mode — Collapsed Sidebar

Light Mode — Cluster Dark Mode — Cluster

Installation

composer require rafyakbar/arasy-theme

Automatic Setup

php artisan arasy:install

This will detect your Filament panel, publish the theme CSS, and print next steps.

Manual Setup

  1. Register the plugin in your PanelProvider:
use ArasyTheme\ArasyThemePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(ArasyThemePlugin::make());
}
  1. Build your frontend assets:
npm run build

Usage & Configuration

The plugin works with zero configuration. All options are opt-in.

Quick Start

use ArasyTheme\ArasyThemePlugin;

ArasyThemePlugin::make()
    ->withSidebarBrandName()    // Show brand name beside logo
    ->withCollapsedLogo();      // Show logo when sidebar is collapsed

Sidebar Brand Name

When your panel has a logo set via ->brandLogo(), you can display the brand name next to it:

// PanelProvider
$panel
    ->brandLogo(asset('images/logo.svg'))
    ->brandLogoHeight('2.5rem')
    ->plugin(
        ArasyThemePlugin::make()
            ->withSidebarBrandName()
    );

The brand name uses the panel's ->brandName() value and matches the sidebar styling — 1.25rem font size, 600 weight, responsive to sidebar collapse.

Collapsed Sidebar Logo

By default, the logo is hidden when the sidebar is collapsed. Enable it with withCollapsedLogo():

ArasyThemePlugin::make()
    ->withCollapsedLogo();

The collapsed logo is centered vertically and horizontally using absolute positioning. When the sidebar expands, it disappears automatically via Alpine.js reactivity.

Custom Logo & Branding

Your logo can be any image type (SVG, PNG, etc.) and any size. The theme ensures proper sizing via brandLogoHeight():

$panel
    ->brandLogo(asset('img/logo.png'))
    ->brandLogoHeight('2rem')
    ->brandName(config('app.name'))
    ->plugin(
        ArasyThemePlugin::make()
            ->withSidebarBrandName()
            ->withCollapsedLogo()
    );

What's Included

File Structure

arasy-theme/
├── src/
│   ├── ArasyThemePlugin.php           # Filament plugin class
│   ├── ArasyThemeServiceProvider.php   # Package service provider
│   └── Console/
│       └── InstallCommand.php          # php artisan arasy:install
├── resources/
│   ├── css/
│   │   └── arasy.css                   # Main theme stylesheet
│   └── views/
│       └── sidebar-brand-name.blade.php # Brand name blade view
├── composer.json
├── CHANGELOG.md
└── LICENSE.md

CSS Architecture

The stylesheet arasy.css is organized into these sections:

Section Description
Design Tokens CSS custom properties for colors, radius, shadows
Dark Mode Tokens Same properties overridden for .dark class
Body & Layout Background, text color, topbar
Sidebar Background, border, item styling, active states
Collapsed Sidebar Centered logo, brand name visibility when collapsed
Sidebar Brand Name Logo-adjacent brand text
Cluster Sub-Navigation Styling for cluster page navigation
Content Area Topbar and main content margins for sidebar layout
Components Cards, buttons, form inputs, badges, tables, tabs
Sleek Scrollbar Thin custom scrollbar with dark mode support
Utilities Monospace helper class

Changelog

See CHANGELOG.md for version history.

License

Distributed under the MIT License.