@extends('adminlte::page') @section('title', 'Theme Generator') @php use ColorlibHQ\AdminLte\Support\ThemeColors; // Seed each control from config so the generator reflects the theme the app // is actually running, falling back to the stock AdminLTE 4 value when the // key is unset (null) or holds something that isn't a hex colour. $colors = [ 'primary_color' => ThemeColors::normalize(config('adminlte.primary_color')) ?? '#0d6efd', 'sidebar_color' => ThemeColors::normalize(config('adminlte.sidebar_color')) ?? '#343a40', 'navbar_color' => ThemeColors::normalize(config('adminlte.navbar_color')) ?? '#ffffff', 'footer_color' => ThemeColors::normalize(config('adminlte.footer_color')) ?? '#ffffff', ]; $sidebarTheme = config('adminlte.sidebar_theme', 'dark'); @endphp @section('content_header')
Every control below maps to a config/adminlte.php key and previews
live on this page. Copy the snippet when it looks right.