@tgam/design-tokens
v3.9.1
Published
The Globe and Mail's Design Tokens and assets
Keywords
Readme
TGAM Design Tokens
Hi! Welcome to the wonderful world of Design Tokens!
Install
npm install @tgam/design-tokens
Token Files
- css
- includes css variables and classes for colours, border, spacing, etc
- scss
- includes scss variables and mixins for colours, border, spacing, etc
- vectors
- all vectors used on the site (approx 85 at the moment)
Usage Examples
CSS
Colors
@import "~@tgam/design-tokens/css/colors.css";Text Styles (classes)
@import "~@tgam/design-tokens/text.css";SCSS
Colors
@import "~@tgam/design-tokens/scss/colors.scss";See the wiki for more information.
