-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Design token POC and landing page content
- Loading branch information
nlaitine
committed
Dec 14, 2018
1 parent
c49160b
commit bcac29a
Showing
8 changed files
with
853 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ Trello board: https://trello.com/b/2VvbnblC/flame | |
|
||
# Support | ||
|
||
Slack channel: #flame | ||
Slack channel: #flame |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
global: | ||
type: color | ||
category: buttons | ||
imports: | ||
- "./colors.yml" | ||
props: | ||
button_background: | ||
value: "{!ELECTRIC_BLUE}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
aliases: | ||
# Primary colors | ||
ELECTRIC_BLUE: "#00A7E0" | ||
SKY_BLUE: "#80CAED" | ||
BABY_BLUE: "#C2E3F6" | ||
STONE_GRAY: "#58595B" | ||
TERMINAL_BLACK: "#000000" | ||
# Secondary colors | ||
NETWORK_GRAY_FULL: "#618291" | ||
NETWORK_GRAY_BLEND: "#A7BCCA" | ||
NETWORK_GRAY_LIGHT: "#DBE0E7" | ||
RAIN_PURPLE_FULL: "#494A95" | ||
RAIN_PURPLE_BLEND: "#8C8ABF" | ||
RAIN_PURPLE_LIGHT: "#C4C3E1" | ||
# Tertiary colors | ||
OCEAN_GREEN_FULL: "#00988C" | ||
OCEAN_GREEN_BLEND: "#87BFB9" | ||
OCEAN_GREEN_LIGHT: "#C8E0DD" | ||
CRIMSON_RED_FULL: "#AC3E52" | ||
CRIMSON_RED_BLEND: "#C98E8F" | ||
CRIMSON_RED_LIGHT: "#E4C8C6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
aliases: | ||
# Font families | ||
LATO: "'Lato', sans-serif" | ||
INDUSTRYINC: "'IndustryInc', sans-serif" | ||
HEURISTICA: "'Heuristica', serif" | ||
# Font weights | ||
FONT_WEIGHT:_LIGHT: "300" | ||
FONT_WEIGHT_REGULAR: "400" | ||
FONT_WEIGHT_BOLD: "700" | ||
# Font sizes | ||
FONT_SIZE_1: "0.625rem" | ||
FONT_SIZE_2: "0.75rem" | ||
FONT_SIZE_3: "0.8125rem" | ||
FONT_SIZE_4: "0.875rem" | ||
FONT_SIZE_5: "1rem" | ||
FONT_SIZE_6: "1.125rem" | ||
FONT_SIZE_7: "1.25rem" | ||
FONT_SIZE_8: "1.5rem" | ||
FONT_SIZE_9: "1.75rem" | ||
FONT_SIZE_10: "2rem" | ||
FONT_SIZE_11: "2.625rem" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const theo = require('theo'); | ||
|
||
theo.convert({ | ||
transform: { | ||
type: 'web', | ||
file: '../design-tokens/button.yml' | ||
}, | ||
format: { | ||
type: 'custom-properties.css' | ||
} | ||
}).then(css => { | ||
console.log(css); | ||
}).catch(error => console.log(`Tokenizer error: ${error}`)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.