How i can change color of description
return $table
->columns([
Tables\Columns\ImageColumn::make('icon')->label('Иконка')
->default(function () {
return asset('images/pusher-logo.jpeg');
}),
Tables\Columns\TextColumn::make('title')->label('Text')
->description(fn (Sending $record): string => $record->body),
Tables\Columns\TextColumn::make('created_at')->dateTime()->label('Дата и Время'),
Tables\Columns\TextColumn::make('sent_count')->label('Отправлено'),
Tables\Columns\TextColumn::make('delivered_count')->label('Доставлено')
->description(fn (Sending $record): string => $record->delivered_count === 0 ? 'N/A' : number_format(($record->delivered_count / $record->sent_count * 100), 2) . '%'),
Tables\Columns\TextColumn::make('viewed_count')->label('Просмотрено')
->description(fn (Sending $record): string => $record->delivered_count === 0 ? 'N/A' : number_format(($record->viewed_count / $record->delivered_count * 100), 2) . '%')->color('primary'),
])
i changed color but its not changing color of description0 Replies