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

Choice of icons & color #8

Closed
GOinfo-Ltd opened this issue Jul 8, 2020 · 3 comments
Closed

Choice of icons & color #8

GOinfo-Ltd opened this issue Jul 8, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@GOinfo-Ltd
Copy link

Hi

Me again.

Would it be possible to add a way for the user to choose the icon that shows on the left of the button ?
Maybe using fontawesome could be enough, but it'd be nice to have the choice of custom icon as well.

Also, a customisation of the colors of the button would be nice.

Thank you again !

@derjust derjust added the enhancement New feature or request label Jul 22, 2020
derjust added a commit that referenced this issue Oct 8, 2020
As per #8 allowing to select the icon.
Color seems to be a bit harder due to CSS wrestling
@derjust derjust mentioned this issue Oct 8, 2020
@derjust
Copy link
Contributor

derjust commented Oct 10, 2020

Here we go:
Grafana comes with a list of Icons - so re-using those & the ability to specify custom colors:
(A preview of the icon in the selectbox is not possible as the Grafana API doesn't allow for such an element).
Color_and_Icon

derjust added a commit that referenced this issue Oct 10, 2020
As per #8 allowing to select the icon.
Color seems to be a bit harder due to CSS wrestling
@derjust
Copy link
Contributor

derjust commented Oct 10, 2020

Fixed with PR #8

@derjust derjust closed this as completed Oct 10, 2020
@GOinfo-Ltd
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants