Named Colous in GTK+

Colours are convenient way to designate special parts of the user interface and provide semantic information. This is a proposal for a default set of named colours so application developers can use theme-defined colours instead of using hardcoded colour values.

State colous

Designate application/element states (e.g. search field active => state-attention )

  • state-all-correct
  • state-normal
  • state-error
  • state-warning
  • state-attention
  • state-inconsistent

Priorities

  • priority-low
  • priority-normal
  • priority-high
  • priority-critical
  • priority-done

Hightlights

To be used in lists?

  • highlight-primary-foreground
  • hightlight-secondary-foreground
  • highlight-tertiary-foreground
  • ...
  • hightlight-primary-background
  • hightlight-secondary-background
  • hightlight-tertiary-background
  • ...

Theme default colours

These may be used to draw charts and the like.

  • color-first
  • color-second
  • color-third
  • ...

Security

  • security-valid
  • security-revoked
  • security-broken
  • security-unsecure

User defined

Let the user color some elements? Nautilus folders and the like?

  • user-first
  • user-second
  • user-third
  • ...

Attic/Gtk+/NamedColours (last edited 2013-11-22 23:52:38 by WilliamJonMcCann)