Skip to content

Commit

Permalink
feat: Fixed DS3 theme and updated colors
Browse files Browse the repository at this point in the history
* Fixing build?

* Transformed tokens

* Built and updated design tokens

* Ugh

* gnnhnh

* Transformed tokens

* Built and updated design tokens

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Themz

* Transformed tokens

* Built and updated design tokens

* Fixings

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Compiled

* Whoops

* Transformed tokens

* Built and updated design tokens

* Files compiled!

---------

Co-authored-by: Ian Clarke <[email protected]>
Co-authored-by: iryanclarke <[email protected]>
  • Loading branch information
3 people authored Jun 19, 2023
1 parent ad7a97c commit f02b7de
Show file tree
Hide file tree
Showing 66 changed files with 162 additions and 85 deletions.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const themes = [
"core-light",
"core-dark",
"light",
"light-ds3",
"lightDS3",
"dark",
"emerson",
];
Expand Down
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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const text : {emphasis:{
Expand Down
6 changes: 3 additions & 3 deletions 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {text : {emphasis:{
Expand Down Expand Up @@ -112,7 +112,7 @@ surface : {level0:{
}},
primary : {textBase:{
name: "primary.textBase",
hex: "#307553",
hex: "#36485C",
description: "Used as the text or fill colour for interactive and static primary components such as links, text, and icons"
},textHover:{
name: "primary.textHover",
Expand All @@ -124,7 +124,7 @@ primary : {textBase:{
description: "Used as the pressed text or fill colour for interactive primary components such as links and text buttons"
},backgroundBase:{
name: "primary.backgroundBase",
hex: "#307553",
hex: "#36485C",
description: "Used as the background for primary components such as plain buttons. Paired with text.onBackground for contrast"
},backgroundHover:{
name: "primary.backgroundHover",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const text : {emphasis:{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {green : {100 : "#0C291E",200 : "#13402F",300 : "#1A5740",400 : "#256E53",500 : "#288563",600 : "#42AD86",700 : "#86D6B9",800 : "#DBFFF1"},
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"},
Expand Down
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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const theme: string;
Expand Down
4 changes: 2 additions & 2 deletions dist/tokens/native/themes/light.js

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

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const theme: string;
Expand Down

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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 GMT

$textEmphasis: #1A1D21;
$textBody: #22272B;
Expand Down
6 changes: 3 additions & 3 deletions 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 GMT

$textEmphasis: #36485C;
$textBody: #475A70;
Expand Down Expand Up @@ -28,10 +28,10 @@ $surfaceInteractiveActive: #E6EDF5;
$surfaceOverlayDark: #2E3A47;
$surfaceOverlayTheme: #FFFFFF;
$surfaceOverlayBackdrop: #36485C;
$primaryTextBase: #307553;
$primaryTextBase: #36485C;
$primaryTextHover: #275E43;
$primaryTextActive: #244C38;
$primaryBackgroundBase: #307553;
$primaryBackgroundBase: #36485C;
$primaryBackgroundHover: #275E43;
$primaryBackgroundActive: #244C38;
$primaryBackgroundMuted: #EBF2EF;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
// Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {green : {100 : "#0C291E",200 : "#13402F",300 : "#1A5740",400 : "#256E53",500 : "#288563",600 : "#42AD86",700 : "#86D6B9",800 : "#DBFFF1"},
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand Down
2 changes: 1 addition & 1 deletion 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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"},
Expand Down
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 Wed, 31 May 2023 20:32:50 GMT
* Generated on Mon, 19 Jun 2023 19:41:15 GMT
*/

export const theme: string;
Expand Down
Loading

0 comments on commit f02b7de

Please sign in to comment.