← Back to team overview

touch-packages team mailing list archive

[Bug 1186968] Re: Need a way to expose and access common colors for a theme

 

** Changed in: ubuntu-ux
       Status: Fix Committed => Fix Released

-- 
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/1186968

Title:
  Need a way to expose and access common colors for a theme

Status in Ubuntu UI Toolkit:
  Fix Released
Status in Ubuntu UX bugs:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  The UITK should somehow expose the common colors that make up the
  current style’s visual identity, so that application authors can refer
  to those colors in their code without having to hardcode them.

  An example of such a color is the Ubuntu Orange that’s tied to the
  Ambiance theme. In another theme, it might be a completely different
  color, but application developers shouldn’t have to care, they should
  be able to refer to this color by a named property and know that their
  applications will look right, regardless of the current theme.

  I’m not sure how this should be exposed to application developers.
  Maybe a custom SystemPalette component (see http://qt-
  project.org/doc/qt-5.0/qtquick/qml-qtquick2-systempalette.html)?

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