Tradeshift / elements

Tradeshift Elements - Reusable Tradeshift UI Components as Web Components https://tradeshift.github.io/elements
Other
15 stars 17 forks source link

Set theme-ready variables #4

Open sampi opened 5 years ago

sampi commented 5 years ago

eg: --ts-color-bg, --ts-color-primary

DocGroth commented 5 years ago

From http://ui.tradeshift.com/v12/#appendix/colors/

All Core Colors have a reserved for special meaning within Tradeshift’s UI:

@ts-color-blue Main color of the primary action (CTA) Accent color Link color Active states @ts-color-green Positive statuses Accepting agreements Creating new objects on the platform @ts-color-orange Warning messages / icons Highlight important information (note) @ts-color-red Danger messages (deletion confirmation) Rejecting action / Negative actions Error states and messages @ts-color-purple Reserved for Ada (Tradeshift’s machine learning assistant) @ts-color-pink Reserved for Tradeshift GO.

@mihneaz will find color names

DocGroth commented 5 years ago

@mihneaz Do we still want this?