filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.

Home Page:https://filamentphp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Are `primary`, `info`, `danger`, `warning` or `success` colors?

bilogic opened this issue · comments

Package

filament/filament

Package Version

3.2.88

Laravel Version

10.48.12

Livewire Version

3.5.0

PHP Version

8.2.18

Problem description

https://filamentphp.com/docs/3.x/support/blade-components/button#changing-the-color-of-a-button

primary, info, danger, warning and success are technically not colors. Only gray is a color.

Expected behavior

Instead of ->color(...), it would be more appropriate to call it ->tone(), ->theme() or something else

Steps to reproduce

N/A

Reproduction repository

https://github.com/bilogic/filament-issue

Relevant log output

No response

Donate 💰 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar

Hey @bilogic! We're sorry to hear that you've hit this issue. 💛

However, it doesn't look like you've provided much information on how to replicate the issue. Please edit your original post with clear steps we need to take.

At this rate of closure, it's impossible to give good feedback.

You submitted a bug report for what is basically a feature request or suggestion, which we ask for in Discussions