> What Design wants, from what I understood, is an easy way for developers to 
> specify that an action is destructive/neutral/positive, something like that.
That way, the developer specifies the kind of action, and the SDK takes care of 
using the right colour, following the guidelines provided by the Design team.

It could be a new property in Action, or it could be a delegate
template, such as ActionDelegate { property Enum type:
destructive/neutral/positive ... etc etc ... }

Right... and this would bring new values in Palette each... I'd try to
avoid that. Also I'd try to avoid classifying the actions into these
criteria. Or any criteria. It is all about the visualization of a
specific action, the Action should not have any hints for the visuals...
Also, what if a developer decides to color the same way his icons as the
default negative action is colored?

We had yesterday a HO with Rae and Jamie, let's hope they will update
the bug with the solution soon.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1603452

Title:
  [SDK] Change leading action background to red and icon to white

Status in Ubuntu UI Toolkit:
  New
Status in Ubuntu UX:
  In Progress
Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  We'd like to change the leading action background from light grey back
  to red. And switch the icon from red to white. However, I have spoken
  to Andrea and the problem is regarding when a leading action is
  disabled. Outlined as follows:

  the default action delegate is just an Item { Icon {} } so it has no
  background, see: http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-
  ui-
  
toolkit/staging/view/2033/src/Ubuntu/Components/Themes/Ambiance/1.3/ListItemStyle.qml#L120

  Moreover, the whole ListItemActions panel uses only one colour for the
  background http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
  
toolkit/staging/view/2033/src/Ubuntu/Components/Themes/Ambiance/1.3/ListItemStyle.qml#L51

  Therefore if there are several actions in the leading action slot, all
  will be disabled. Can we change the API so that there is flexibility
  when choosing one action to be disabled rather than all of them?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1603452/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to