Skip to content

Commit

Permalink
fix(box-shadow): Add conditional to formatter to prevent empty object…
Browse files Browse the repository at this point in the history
… in core files

fix(box-shadow): Add conditional to formatter to prevent empty object in core files
  • Loading branch information
alexandra-lim authored May 23, 2023
2 parents 449cbb8 + f27d435 commit 95f3285
Show file tree
Hide file tree
Showing 46 changed files with 59 additions and 56 deletions.
2 changes: 1 addition & 1 deletion dist/documentation/core-dark-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/core-dark-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/core-light-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/core-light-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/dark.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/dark.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/emerson.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/emerson.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/light.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/light.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/borders.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const radiusBase : number;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/borders.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions dist/tokens/native/core-dark-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand All @@ -9,4 +9,4 @@ export const red : {100 : string,200 : string,300 : string,400 : string,500 : st
export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const shades : {white : string,black : string,transparent : string};export const boxShadows: {};
export const shades : {white : string,black : string,transparent : string};
4 changes: 2 additions & 2 deletions dist/tokens/native/core-dark-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {green : {100 : "#0C291E",200 : "#13402F",300 : "#1A5740",400 : "#256E53",500 : "#288563",600 : "#42AD86",700 : "#86D6B9",800 : "#DBFFF1"},
Expand All @@ -9,4 +9,4 @@ red : {100 : "#290F16",200 : "#451522",300 : "#611D30",400 : "#8F2843",500 : "#B
purple : {100 : "#200F29",200 : "#33193F",300 : "#432652",400 : "#542F66",500 : "#693B80",600 : "#865C99",700 : "#B990CC",800 : "#F0F1FF"},
orange : {100 : "#29170C",200 : "#4A2915",300 : "#663A1E",400 : "#8A4E29",500 : "#AD6234",600 : "#CF7945",700 : "#E7AA84",800 : "#FFE3D1"},
grey : {100 : "#101012",200 : "#1A1D21",300 : "#22272B",400 : "#2D3238",500 : "#515357",600 : "#616568",700 : "#98999B",800 : "#E8E9EA"},
shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},boxShadows: {},};
shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},};
4 changes: 2 additions & 2 deletions dist/tokens/native/core-light-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand All @@ -10,4 +10,4 @@ export const purple : {100 : string,200 : string,300 : string,400 : string,500 :
export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const shades : {white : string,black : string,transparent : string};
export const yellow : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};export const boxShadows: {};
export const yellow : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
4 changes: 2 additions & 2 deletions dist/tokens/native/core-light-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"},
Expand All @@ -10,4 +10,4 @@ purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 :
orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"},
grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"},
shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},
yellow : {100 : "#faf8f2",200 : "#fcf3dd",300 : "#fce7b1",400 : "#fcd97e",500 : "#fccb4c",600 : "#ffc121",700 : "#f7b200",800 : "#e5a500"},boxShadows: {},};
yellow : {100 : "#faf8f2",200 : "#fcf3dd",300 : "#fce7b1",400 : "#fcd97e",500 : "#fccb4c",600 : "#ffc121",700 : "#f7b200",800 : "#e5a500"},};
2 changes: 1 addition & 1 deletion dist/tokens/native/themes/dark.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const theme: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/themes/dark.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tokens/native/themes/emerson.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const theme: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/themes/emerson.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tokens/native/themes/light.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const theme: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/themes/light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tokens/native/typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const letterSpacingBase : number;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/typography.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/borders.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:47 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$radiusBase: 8px;
$radiusCircle: 50%;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/core-dark-colors.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:48 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$green100: #0C291E;
$green200: #13402F;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/core-light-colors.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:48 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$green100: #FAFFFC;
$green200: #EBF2EF;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/themes/dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:48 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$textEmphasis: #E8E9EA;
$textBody: #98999B;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/themes/emerson.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:48 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$textEmphasis: #1A1D21;
$textBody: #22272B;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/themes/light.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:48 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$textEmphasis: #36485C;
$textBody: #475A70;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/scss/typography.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 May 2023 16:40:47 GMT
// Generated on Fri, 19 May 2023 18:16:35 GMT

$letterSpacingBase: 0;
$paragraphSpacingBase: 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/ts/borders.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const radiusBase : string;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/ts/borders.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions dist/tokens/ts/core-dark-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand All @@ -9,4 +9,4 @@ export const red : {100 : string,200 : string,300 : string,400 : string,500 : st
export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const shades : {white : string,black : string,transparent : string};export const boxShadows: {};
export const shades : {white : string,black : string,transparent : string};
4 changes: 2 additions & 2 deletions dist/tokens/ts/core-dark-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {green : {100 : "#0C291E",200 : "#13402F",300 : "#1A5740",400 : "#256E53",500 : "#288563",600 : "#42AD86",700 : "#86D6B9",800 : "#DBFFF1"},
Expand All @@ -9,4 +9,4 @@ red : {100 : "#290F16",200 : "#451522",300 : "#611D30",400 : "#8F2843",500 : "#B
purple : {100 : "#200F29",200 : "#33193F",300 : "#432652",400 : "#542F66",500 : "#693B80",600 : "#865C99",700 : "#B990CC",800 : "#F0F1FF"},
orange : {100 : "#29170C",200 : "#4A2915",300 : "#663A1E",400 : "#8A4E29",500 : "#AD6234",600 : "#CF7945",700 : "#E7AA84",800 : "#FFE3D1"},
grey : {100 : "#101012",200 : "#1A1D21",300 : "#22272B",400 : "#2D3238",500 : "#515357",600 : "#616568",700 : "#98999B",800 : "#E8E9EA"},
shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},boxShadows: {},};
shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},};
4 changes: 2 additions & 2 deletions dist/tokens/ts/core-light-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand All @@ -10,4 +10,4 @@ export const purple : {100 : string,200 : string,300 : string,400 : string,500 :
export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
export const shades : {white : string,black : string,transparent : string};
export const yellow : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};export const boxShadows: {};
export const yellow : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
4 changes: 2 additions & 2 deletions dist/tokens/ts/core-light-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"},
Expand All @@ -10,4 +10,4 @@ purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 :
orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"},
grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"},
shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},
yellow : {100 : "#faf8f2",200 : "#fcf3dd",300 : "#fce7b1",400 : "#fcd97e",500 : "#fccb4c",600 : "#ffc121",700 : "#f7b200",800 : "#e5a500"},boxShadows: {},};
yellow : {100 : "#faf8f2",200 : "#fcf3dd",300 : "#fce7b1",400 : "#fcd97e",500 : "#fccb4c",600 : "#ffc121",700 : "#f7b200",800 : "#e5a500"},};
2 changes: 1 addition & 1 deletion dist/tokens/ts/themes/dark.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const theme: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/ts/themes/dark.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tokens/ts/themes/emerson.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const theme: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/ts/themes/emerson.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tokens/ts/themes/light.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 12 May 2023 16:40:48 GMT
* Generated on Fri, 19 May 2023 18:16:35 GMT
*/

export const theme: string;
Expand Down
Loading

0 comments on commit 95f3285

Please sign in to comment.