Color
Here are the guidelines on how we implement colour in code. This page should be used alongside Trade Me’s full colour palette.
UI Grey variables
Our use of UI (user interface) greys helps users to easily understand hierarchy of elements on a page, and to identify form elements that are being interacted with. As a warm, neutral tone, Bluff Oyster has been chosen for our UI greys from our Trade Me colour palette.
Example
Example
$tg-ui-grey-extra-extra-darkUsed to aid navigation, for example to indicate a selected tab.
Example
$tg-ui-grey-extra-darkUsed to indicate focus, for example on selected form elements.
Example
$tg-ui-grey-darkExample
$tg-ui-grey-mediumDefault variable for unselected form elements.
Example
$tg-ui-grey-lightPrimarily used to separate content, for example row dividers in tables.
Example
$tg-ui-grey-extra-lightUsed as a background colour for neutral interactive content, such as default buttons.
Example
$tg-ui-grey-backgroundAn alternative background colour to white. Used to indicate separate sections of content on a page, for example in box. Also used to indicate disabled form fields.
Validation color variables
We have consistent colours to represent validation success or failure. These variables are used for validation messaging across Tangram form components.
Example
Example
$tg-validation-successExample
$tg-validation-failBrand color variables
Example
Brand color variables coming soon! In the meantime, the #tangram Slack channel is always available for support.
Color stamp
A static, visual way of representing colour options. For an interactive version, use a color picker.