Skip to content

Commit

Permalink
Re-do of global namespace removal, and transform action update to sup…
Browse files Browse the repository at this point in the history
…port multi files (#49)

fix(pencil): Reformatting of Token structure due to Pro tier and multi-file sync, and re-adjustment of Token build process as a result

Co-authored-by: Ian Clarke <[email protected]>
Co-authored-by: iryanclarke <[email protected]>
  • Loading branch information
3 people authored Aug 4, 2022
1 parent a5026d5 commit 09255a6
Show file tree
Hide file tree
Showing 17 changed files with 526 additions and 598 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Style dictionary build
on:
push:
paths:
- 'data/tokens.json'
- 'config.json'
- 'build.js'
- "data/core.json"
- "config.json"
- "build.js"
branches-ignore:
- 'main'
- "main"

jobs:
transform_tokens:
Expand Down
13 changes: 4 additions & 9 deletions build/native/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

export const base : string;
export const emphasis : string;
export const subdued : string;
export const level0 : string;
export const level1 : string;
export const level2 : string;
export const level3 : string;
export const green100 : string;
export const green200 : string;
export const green300 : string;
Expand Down Expand Up @@ -57,4 +50,6 @@ export const grey400 : string;
export const grey500 : string;
export const grey600 : string;
export const grey700 : string;
export const grey800 : string;
export const grey800 : string;
export const shadeswhite : string;
export const shadesblack : string;
13 changes: 4 additions & 9 deletions build/native/colors.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

module.exports = {
"base": "#2E3A47",
"emphasis": "#36485C",
"subdued": "#596D84",
"level0": "#F5F7FA",
"level1": "#FFF",
"level2": "#FCFEFF",
"level3": "#FFF",
"green100": "#FAFFFC",
"green200": "#EBF2EF",
"green300": "#D1E0D9",
Expand Down Expand Up @@ -58,5 +51,7 @@ module.exports = {
"grey500": "#596D84",
"grey600": "#475A70",
"grey700": "#36485C",
"grey800": "#2E3A47"
"grey800": "#2E3A47",
"shadeswhite": "#FFFFFF",
"shadesblack": "#000000"
};
2 changes: 1 addition & 1 deletion build/native/typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

export const letterSpacingBase : number;
Expand Down
2 changes: 1 addition & 1 deletion build/native/typography.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

module.exports = {
Expand Down
13 changes: 4 additions & 9 deletions build/scss/colors.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@

// Do not edit directly
// Generated on Wed, 03 Aug 2022 13:50:24 GMT
// Generated on Thu, 04 Aug 2022 14:54:26 GMT

$base: #2E3A47;
$emphasis: #36485C;
$subdued: #596D84;
$level0: #F5F7FA;
$level1: #FFF;
$level2: #FCFEFF;
$level3: #FFF;
$green100: #FAFFFC;
$green200: #EBF2EF;
$green300: #D1E0D9;
Expand Down Expand Up @@ -56,4 +49,6 @@ $grey400: #C8D3E0;
$grey500: #596D84;
$grey600: #475A70;
$grey700: #36485C;
$grey800: #2E3A47;
$grey800: #2E3A47;
$shadeswhite: #FFFFFF;
$shadesblack: #000000;
2 changes: 1 addition & 1 deletion build/scss/typography.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Wed, 03 Aug 2022 13:50:24 GMT
// Generated on Thu, 04 Aug 2022 14:54:26 GMT

$letterSpacingBase: 0;
$paragraphSpacingBase: 0;
Expand Down
13 changes: 4 additions & 9 deletions build/ts/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

export const base : string;
export const emphasis : string;
export const subdued : string;
export const level0 : string;
export const level1 : string;
export const level2 : string;
export const level3 : string;
export const green100 : string;
export const green200 : string;
export const green300 : string;
Expand Down Expand Up @@ -57,4 +50,6 @@ export const grey400 : string;
export const grey500 : string;
export const grey600 : string;
export const grey700 : string;
export const grey800 : string;
export const grey800 : string;
export const shadeswhite : string;
export const shadesblack : string;
13 changes: 4 additions & 9 deletions build/ts/colors.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

module.exports = {
"base": "#2E3A47",
"emphasis": "#36485C",
"subdued": "#596D84",
"level0": "#F5F7FA",
"level1": "#FFF",
"level2": "#FCFEFF",
"level3": "#FFF",
"green100": "#FAFFFC",
"green200": "#EBF2EF",
"green300": "#D1E0D9",
Expand Down Expand Up @@ -58,5 +51,7 @@ module.exports = {
"grey500": "#596D84",
"grey600": "#475A70",
"grey700": "#36485C",
"grey800": "#2E3A47"
"grey800": "#2E3A47",
"shadeswhite": "#FFFFFF",
"shadesblack": "#000000"
};
2 changes: 1 addition & 1 deletion build/ts/typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

export const letterSpacingBase : number;
Expand Down
2 changes: 1 addition & 1 deletion build/ts/typography.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 03 Aug 2022 13:50:24 GMT
* Generated on Thu, 04 Aug 2022 14:54:26 GMT
*/

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"source": ["data/transformed-tokens.json"]
"source": ["data/transformed-core.json"]
}
1 change: 1 addition & 0 deletions data/$themes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading

0 comments on commit 09255a6

Please sign in to comment.