question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Style customisation in the button widget.

See original GitHub issue

Summary

As a user, I should be able to change button style as follows:

  • The background colour can change with a hex code
  • font colour can change with hex code
  • elevation (box-shadow)
  • There should be button variant contained (solid button), outlined (only borders), text (text buttons)
  • Button can be multiple sizes: Large, Medium, Small
  • Button can have an end icon or start icon
  • Button end/start icon can have a dropdown group as well. (button adornment)

These changes should also extend to the button widget used elsewhere, Ex: in the table widget.

Motivation

I should be able to customize the button beyond primary/secondary/danger types.

RACI matrix

Attributes Members
Responsible @wmdev0808
Accountable @somangshu
Consulted @areyabhishek, @momcilo-appsmith
Informed @Nikhil-Nandagopal

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
somangshucommented, Jul 15, 2021

@Nikhil-Nandagopal another discussion happened. Here is what was proposed

  • The button style has: Primary, Secondary, Info, Warning, Danger, Success, Custom
  • If the custom option is selected we will show background, font, hover colour which can change.
  • The rest of the styling prop remains as it is

cc: @areyabhishek @momcilo-appsmith

1reaction
Nikhil-Nandagopalcommented, Jul 15, 2021

@somangshu I agree that we should have this but it doesn’t solve the user request of “Can I change the button color”. We’ve heard this way too many times so is it also possible to give a simple color picker that just overwrites the style?

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Buttons and Button Themes - Flutter documentation
A new set of basic material button widgets and themes have been added to Flutter. The original classes have been deprecated and will...
Read more >
ttk Style Tutorial - Customizing your Tkinter Widgets in Python
In this Tkinter ttk Tutorial, we will explore how to use the Style Class to customize the look and feel of our widgets....
Read more >
Tips for styling custom page wrappers and widgets
Tips for styling custom page wrappers and widgets ... new code to embed by clicking the "Options" button underneath the widget code section....
Read more >
How to Use the Button Widget in Elementor
Learn about the button widget to easily design and customize buttons without the need for ... Type: Select from 5 styles of buttons...
Read more >
Advanced customization of Web Widget (Classic) - Zendesk help
Displaying the widget in a different language; Prefill forms with user contact information; Disabling ticket attachments; Re-positioning the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found