Opened 10 years ago
Closed 8 years ago
#25110 closed enhancement (wontfix)
additional button colors
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Administration | Keywords: | dev-feedback ui-feedback needs-patch |
Focuses: | ui | Cc: |
Description
currently there exists button-primary (blue) and button-secondary (gray). however, many times I've seen the need to include some sort of 'warning' button as well, in red. I have a CSS patch ready, but wanted to get some feedback on whether this would be worthwhile before I clean it up a bit to make sure it matches all the other UI elements.
Change History (9)
#3
@
10 years ago
for something existing currently in core admin, perhaps the 'empty trash' button. but this would be available to theme and plugin authors (similar to the two existing classes I mentioned above) to encourage standardization.
#4
@
10 years ago
I can see the case for "empty trash". We've talked about other button colors before (go/danger/stop) - maybe we should talk about it again.
#5
@
10 years ago
Orange! WordPress Orange! But seriously, I think it's worth discussing.
#8
@
8 years ago
I'd love to see "go/danger/stop" buttons standardized. I've been involved in projects that need "stop" buttons for sure.
Unfortunately, I can only think of use cases for plugins/themes. Currently in core, I'm not sure how I feel about potentially dangerous buttons (like Empty Trash) having attention called to them that isn't there already. The red "Move to Trash" link and others like it get the job done.
But again, I would LOVE to see something to use in plugins/themes. If the enhancement could be made for that alone, I'm all for it.
#9
@
8 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
This seems to be a non-starter now because of the color schemes that came in 3.8, in which primary buttons may be different colors, including red. Color-only for indicating that something is important is also a non-starter for those who can't see those colors.
I guess my question would be - when is something dangerous a button as opposed to a link? See "Move to trash" in the publish metabox, for example.