| | 6 | |
| | 7 | --- |
| | 8 | |
| | 9 | Update: |
| | 10 | |
| | 11 | @mbijon's Can you give a use case for clear? |
| | 12 | |
| | 13 | Generally for a theme option, I'd check whether the default color was selected. If it is, I wouldn't output an inline style, otherwise I would. |
| | 14 | |
| | 15 | But I could think that other folks might have always set up their options to output whatever value was returned from the colorpicker options (without checking if it was a default)- so if a user suddenly now has the ability to clear that, it will break certain theme implementations. |