-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
The ToolsPanel component comes with an ellipsis menu. This ellipsis menu serves two purposes:
- To make available design tools that are occasionally but not always useful
- To clear various such properties back to their default state
This panel is in part created to allow more design tools in a legible state, without encumbering the panel with repeated "Reset" buttons. In most cases, after all, you can select "Default" from a drop-down, or select and clear a line-height value, accomplishing the same. here's what it looks like today:
For the cases where it still needs to be clearer how to reset a value back to its defaults, however, we can improve the clarity of the menu.
Shown left, a Typography panel with the default font size shown, but no value chosen. Shown right, the panel with the additional non-default Font and Appearance tools shown, including a value picked for font size. The main changes are:
- Sections have subheadings delineating default tools (always shown in the panel) and additional tools.
- The default tool is no longer a full button that gets disabled when it has no set value, instead it gets an explicit "Reset" button on the right.
- Additional tool can be cleared and removed by unchecking, just as today.
Note that these improvements do not preclude additional enhancements, but they could be a starting point. See also #43082.

