LaraDumps
  • What is LaraDumps?
  • Get Started
    • Installation
    • Configuration
  • Commands
    • Simple
    • Color
    • Log Application
    • Show queries
    • Clear History
    • Custom Label
    • JSON Validate
    • Contains
    • Table
    • Screens
    • Diff
    • Model
  • Reference
    • Livewire
  • App
    • Host
    • IDE
Powered by GitBook
On this page
  1. Commands

Color

PreviousSimpleNextLog Application

Last updated 2 years ago

ds(['a' => 1, 'b' => 2])->danger()->label('danger');

ds(['a' => 1, 'b' => 2])->info()->label('info');

ds(['a' => 1, 'b' => 2])->success()->label('success');

ds(['a' => 1, 'b' => 2])->dark()->label('dark');

ds(['a' => 1, 'b' => 2])->warning()->label('warning');

ds(['a' => 1, 'b' => 2])->color('violet')->label('violet'); // invalid

ds(['a' => 1, 'b' => 2])->color('bg-violet-500')->label('violet-500');