Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement standard color #22

Open
gsouf opened this issue Oct 9, 2015 · 1 comment
Open

Implement standard color #22

gsouf opened this issue Oct 9, 2015 · 1 comment

Comments

@gsouf
Copy link
Owner

gsouf commented Oct 9, 2015

Implement standard colors for text, panel, buttons, etc..

We would take example on bootstrap colors:

  • success
  • info
  • warning
  • danger

Some first though examples:

Per element construction

$builder->submit("Send", "send", "success");
$builder->submit("Delete", "delete", "danger");

Universal but needs more implementation in render engine

$builder->submit("Send", "send")->isSuccess(); 
$builder->submit("Delete", "delete")->isDanger();
@gsouf
Copy link
Owner Author

gsouf commented Nov 13, 2016

Also allow raw colors

$builder->submit("Delete", "delete", "#FFA256");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant