Skip to content

Commit

Permalink
feat(pencil): token updates of inverted and overlay (#158)
Browse files Browse the repository at this point in the history
* (feat)pencil: added tokens for inverted backgrounds + text, added OverlayModal and updated prim for OverlayTheme(dark mode only).  Applied changes to all 4 themes.

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* fixing theme: light, 'inverted/background/active'

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Built and updated design tokens

* Files compiled!

---------

Co-authored-by: brittany-fs <[email protected]>
Co-authored-by: Ian Clarke <[email protected]>
Co-authored-by: iryanclarke <[email protected]>
  • Loading branch information
4 people authored Feb 13, 2024
1 parent f111867 commit 0fdfc2f
Show file tree
Hide file tree
Showing 62 changed files with 559 additions and 79 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

module.exports = {green : {100:{
Expand Down
27 changes: 26 additions & 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

export const text : {emphasis:{
Expand Down Expand Up @@ -105,6 +105,10 @@ export const surface : {level0:{
name: string,
hex: string,
description: string
},overlayModal:{
name: string,
hex: string,

},overlayBackdrop:{
name: string,
hex: string,
Expand Down Expand Up @@ -605,4 +609,25 @@ export const accent : {forestTextBody:{
name: string,
hex: string,

}};
export const inverted : {backgroundBase:{
name: string,
hex: string,

},backgroundHover:{
name: string,
hex: string,

},backgroundActive:{
name: string,
hex: string,

},textEmphasis:{
name: string,
hex: string,

},textBody:{
name: string,
hex: string,

}};
29 changes: 27 additions & 2 deletions 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

module.exports = {text : {emphasis:{
Expand Down Expand Up @@ -103,8 +103,12 @@ surface : {level0:{
description: "Used for elements that are absolutely positioned to overlay content on the page. Is always a dark background regardless of theme. Ex: Things like Toasts and Tooltips"
},overlayTheme:{
name: "surface.overlayTheme",
hex: "#1D2124",
hex: "#2D3238",
description: "Used for elements that are absolutely positioned to overlay content on the page. Matches the base color of the theme. Ex: Snackbar"
},overlayModal:{
name: "surface.overlayModal",
hex: "#1D2124",

},overlayBackdrop:{
name: "surface.overlayBackdrop",
hex: "#000000",
Expand Down Expand Up @@ -605,4 +609,25 @@ accent : {forestTextBody:{
name: "accent.sandBackgroundMuted2",
hex: "#6B5024",

}},
inverted : {backgroundBase:{
name: "inverted.backgroundBase",
hex: "#E8E9EA",

},backgroundHover:{
name: "inverted.backgroundHover",
hex: "#BCBDBF",

},backgroundActive:{
name: "inverted.backgroundActive",
hex: "#98999B",

},textEmphasis:{
name: "inverted.textEmphasis",
hex: "#141719",

},textBody:{
name: "inverted.textBody",
hex: "#1D2124",

}},};
27 changes: 26 additions & 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

export const text : {emphasis:{
Expand Down Expand Up @@ -109,6 +109,10 @@ export const surface : {level0:{
name: string,
hex: string,
description: string
},overlayModal:{
name: string,
hex: string,

}};
export const primary : {textBase:{
name: string,
Expand Down Expand Up @@ -601,4 +605,25 @@ export const accent : {forestTextBody:{
name: string,
hex: string,

}};
export const inverted : {backgroundBase:{
name: string,
hex: string,

},backgroundHover:{
name: string,
hex: string,

},backgroundActive:{
name: string,
hex: string,

},textEmphasis:{
name: string,
hex: string,

},textBody:{
name: string,
hex: string,

}};
27 changes: 26 additions & 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

module.exports = {text : {emphasis:{
Expand Down Expand Up @@ -109,6 +109,10 @@ surface : {level0:{
name: "surface.overlayBackdrop",
hex: "#36485C",
description: "Used to overlay & de-emphasize the page to draw focus to certain areas. Ex: Used with Modals, Drawers"
},overlayModal:{
name: "surface.overlayModal",
hex: "#FFFFFF",

}},
primary : {textBase:{
name: "primary.textBase",
Expand Down Expand Up @@ -601,4 +605,25 @@ accent : {forestTextBody:{
name: "accent.sandBackgroundMuted2",
hex: "#DACCAA",

}},
inverted : {backgroundBase:{
name: "inverted.backgroundBase",
hex: "#2E3A47",

},backgroundHover:{
name: "inverted.backgroundHover",
hex: "#36485C",

},backgroundActive:{
name: "inverted.backgroundActive",
hex: "#475A70",

},textEmphasis:{
name: "inverted.textEmphasis",
hex: "#FFFFFF",

},textBody:{
name: "inverted.textBody",
hex: "#F5F7FA",

}},};
27 changes: 26 additions & 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

export const text : {emphasis:{
Expand Down Expand Up @@ -109,6 +109,10 @@ export const surface : {level0:{
name: string,
hex: string,
description: string
},overlayModal:{
name: string,
hex: string,

}};
export const primary : {textBase:{
name: string,
Expand Down Expand Up @@ -601,4 +605,25 @@ export const accent : {forestTextBody:{
name: string,
hex: string,

}};
export const inverted : {backgroundBase:{
name: string,
hex: string,

},backgroundHover:{
name: string,
hex: string,

},backgroundActive:{
name: string,
hex: string,

},textEmphasis:{
name: string,
hex: string,

},textBody:{
name: string,
hex: string,

}};
27 changes: 26 additions & 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 Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

module.exports = {text : {emphasis:{
Expand Down Expand Up @@ -109,6 +109,10 @@ surface : {level0:{
name: "surface.overlayBackdrop",
hex: "#36485C",
description: "Used to overlay & de-emphasize the page to draw focus to certain areas. Ex: Used with Modals, Drawers"
},overlayModal:{
name: "surface.overlayModal",
hex: "#FFFFFF",

}},
primary : {textBase:{
name: "primary.textBase",
Expand Down Expand Up @@ -601,4 +605,25 @@ accent : {forestTextBody:{
name: "accent.sandBackgroundMuted2",
hex: "#DACCAA",

}},
inverted : {backgroundBase:{
name: "inverted.backgroundBase",
hex: "#2E3A47",

},backgroundHover:{
name: "inverted.backgroundHover",
hex: "#36485C",

},backgroundActive:{
name: "inverted.backgroundActive",
hex: "#475A70",

},textEmphasis:{
name: "inverted.textEmphasis",
hex: "#FFFFFF",

},textBody:{
name: "inverted.textBody",
hex: "#F5F7FA",

}},};
27 changes: 26 additions & 1 deletion dist/documentation/themes/lightDS3.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 13 Feb 2024 15:21:28 GMT
* Generated on Tue, 13 Feb 2024 18:51:30 GMT
*/

export const text : {emphasis:{
Expand Down Expand Up @@ -109,6 +109,10 @@ export const surface : {level0:{
name: string,
hex: string,
description: string
},overlayModal:{
name: string,
hex: string,

}};
export const primary : {textBase:{
name: string,
Expand Down Expand Up @@ -601,4 +605,25 @@ export const accent : {forestTextBody:{
name: string,
hex: string,

}};
export const inverted : {backgroundBase:{
name: string,
hex: string,

},backgroundHover:{
name: string,
hex: string,

},backgroundActive:{
name: string,
hex: string,

},textEmphasis:{
name: string,
hex: string,

},textBody:{
name: string,
hex: string,

}};
Loading

0 comments on commit 0fdfc2f

Please sign in to comment.