Skip to content

Commit

Permalink
feat: added input colour tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
CCAyl authored Aug 10, 2022
2 parents 39eed2e + b704644 commit 7d23881
Show file tree
Hide file tree
Showing 17 changed files with 222 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/native/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

export const green100 : string;
Expand Down
2 changes: 1 addition & 1 deletion build/native/colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

module.exports = {
Expand Down
18 changes: 16 additions & 2 deletions build/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 Tue, 09 Aug 2022 21:44:09 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

export const textBase : string;
Expand Down Expand Up @@ -79,4 +79,18 @@ export const disabledText : string;
export const disabledBackground : string;
export const disabledNakedContent : string;
export const disabledNakedBackground : string;
export const disabledBorder : string;
export const disabledBorder : string;
export const disabledInputBackground : string;
export const disabledInputLabelText : string;
export const inputBackgroundBase : string;
export const inputBackgroundHover : string;
export const inputBackgroundInformation : string;
export const inputTextBase : string;
export const inputTextInformation : string;
export const inputTextInformationError : string;
export const inputTextLabel : string;
export const inputTextFloatingLabel : string;
export const inputTextFloatingLabelError : string;
export const inputTextPlaceholder : string;
export const inputBorderBase : string;
export const inputBorderError : string;
18 changes: 16 additions & 2 deletions build/native/themes/light.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 09 Aug 2022 21:44:09 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

module.exports = {
Expand Down Expand Up @@ -80,5 +80,19 @@ module.exports = {
"disabledBackground": "#F5F7FA",
"disabledNakedContent": "#F5F7FA",
"disabledNakedBackground": "transparent",
"disabledBorder": "#C8D3E0"
"disabledBorder": "#C8D3E0",
"disabledInputBackground": "#E6EDF5",
"disabledInputLabelText": "#596D84",
"inputBackgroundBase": "#F5F7FA",
"inputBackgroundHover": "#F5F7FA",
"inputBackgroundInformation": "#FFFFFF",
"inputTextBase": "#475A70",
"inputTextInformation": "#475A70",
"inputTextInformationError": "#AF2645",
"inputTextLabel": "#475A70",
"inputTextFloatingLabel": "#3971A8",
"inputTextFloatingLabelError": "#AF2645",
"inputTextPlaceholder": "#596D84",
"inputBorderBase": "#E6EDF5",
"inputBorderError": "#AF2645"
};
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 Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 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 Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

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

// Do not edit directly
// Generated on Tue, 09 Aug 2022 21:44:08 GMT
// Generated on Wed, 10 Aug 2022 17:59:15 GMT

$green100: #FAFFFC;
$green200: #EBF2EF;
Expand Down
18 changes: 16 additions & 2 deletions build/scss/themes/light.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Tue, 09 Aug 2022 21:44:08 GMT
// Generated on Wed, 10 Aug 2022 17:59:15 GMT

$textBase: #2E3A47;
$textEmphasis: #36485C;
Expand Down Expand Up @@ -78,4 +78,18 @@ $disabledText: #596D84;
$disabledBackground: #F5F7FA;
$disabledNakedContent: #F5F7FA;
$disabledNakedBackground: transparent;
$disabledBorder: #C8D3E0;
$disabledBorder: #C8D3E0;
$disabledInputBackground: #E6EDF5;
$disabledInputLabelText: #596D84;
$inputBackgroundBase: #F5F7FA;
$inputBackgroundHover: #F5F7FA;
$inputBackgroundInformation: #FFFFFF;
$inputTextBase: #475A70;
$inputTextInformation: #475A70;
$inputTextInformationError: #AF2645;
$inputTextLabel: #475A70;
$inputTextFloatingLabel: #3971A8;
$inputTextFloatingLabelError: #AF2645;
$inputTextPlaceholder: #596D84;
$inputBorderBase: #E6EDF5;
$inputBorderError: #AF2645;
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 Tue, 09 Aug 2022 21:44:08 GMT
// Generated on Wed, 10 Aug 2022 17:59:15 GMT

$letterSpacingBase: 0;
$paragraphSpacingBase: 0;
Expand Down
2 changes: 1 addition & 1 deletion build/ts/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

export const green100 : string;
Expand Down
2 changes: 1 addition & 1 deletion build/ts/colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

module.exports = {
Expand Down
18 changes: 16 additions & 2 deletions build/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 Tue, 09 Aug 2022 21:44:09 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

export const textBase : string;
Expand Down Expand Up @@ -79,4 +79,18 @@ export const disabledText : string;
export const disabledBackground : string;
export const disabledNakedContent : string;
export const disabledNakedBackground : string;
export const disabledBorder : string;
export const disabledBorder : string;
export const disabledInputBackground : string;
export const disabledInputLabelText : string;
export const inputBackgroundBase : string;
export const inputBackgroundHover : string;
export const inputBackgroundInformation : string;
export const inputTextBase : string;
export const inputTextInformation : string;
export const inputTextInformationError : string;
export const inputTextLabel : string;
export const inputTextFloatingLabel : string;
export const inputTextFloatingLabelError : string;
export const inputTextPlaceholder : string;
export const inputBorderBase : string;
export const inputBorderError : string;
18 changes: 16 additions & 2 deletions build/ts/themes/light.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Tue, 09 Aug 2022 21:44:09 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

module.exports = {
Expand Down Expand Up @@ -80,5 +80,19 @@ module.exports = {
"disabledBackground": "#F5F7FA",
"disabledNakedContent": "#F5F7FA",
"disabledNakedBackground": "transparent",
"disabledBorder": "#C8D3E0"
"disabledBorder": "#C8D3E0",
"disabledInputBackground": "#E6EDF5",
"disabledInputLabelText": "#596D84",
"inputBackgroundBase": "#F5F7FA",
"inputBackgroundHover": "#F5F7FA",
"inputBackgroundInformation": "#FFFFFF",
"inputTextBase": "#475A70",
"inputTextInformation": "#475A70",
"inputTextInformationError": "#AF2645",
"inputTextLabel": "#475A70",
"inputTextFloatingLabel": "#3971A8",
"inputTextFloatingLabelError": "#AF2645",
"inputTextPlaceholder": "#596D84",
"inputBorderBase": "#E6EDF5",
"inputBorderError": "#AF2645"
};
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 Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 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 Tue, 09 Aug 2022 21:44:08 GMT
* Generated on Wed, 10 Aug 2022 17:59:15 GMT
*/

module.exports = {
Expand Down
66 changes: 66 additions & 0 deletions data/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,72 @@
"border": {
"value": "{colors.grey.400}",
"type": "color"
},
"input": {
"background": {
"value": "{colors.grey.300}",
"type": "color"
},
"LabelText": {
"value": "{colors.grey.500}",
"type": "color"
}
}
},
"input": {
"background": {
"base": {
"value": "{colors.grey.200}",
"type": "color"
},
"hover": {
"value": "{colors.grey.200}",
"type": "color"
},
"information": {
"value": "{colors.shades.white}",
"type": "color"
}
},
"text": {
"base": {
"value": "{colors.grey.600}",
"type": "color"
},
"information": {
"value": "{colors.grey.600}",
"type": "color"
},
"informationError": {
"value": "{colors.red.600}",
"type": "color"
},
"label": {
"value": "{colors.grey.600}",
"type": "color"
},
"floatingLabel": {
"value": "{colors.blue.600}",
"type": "color"
},
"floatingLabelError": {
"value": "{colors.red.600}",
"type": "color"
},
"placeholder": {
"value": "{colors.grey.500}",
"type": "color"
}
},
"border": {
"base": {
"value": "{colors.grey.300}",
"type": "color"
},
"error": {
"value": "{colors.red.600}",
"type": "color"
}
}
}
}
Expand Down
66 changes: 66 additions & 0 deletions transformed/transformed-light.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,72 @@
"border": {
"value": "#C8D3E0",
"type": "color"
},
"input": {
"background": {
"value": "#E6EDF5",
"type": "color"
},
"LabelText": {
"value": "#596D84",
"type": "color"
}
}
},
"input": {
"background": {
"base": {
"value": "#F5F7FA",
"type": "color"
},
"hover": {
"value": "#F5F7FA",
"type": "color"
},
"information": {
"value": "#FFFFFF",
"type": "color"
}
},
"text": {
"base": {
"value": "#475A70",
"type": "color"
},
"information": {
"value": "#475A70",
"type": "color"
},
"informationError": {
"value": "#AF2645",
"type": "color"
},
"label": {
"value": "#475A70",
"type": "color"
},
"floatingLabel": {
"value": "#3971A8",
"type": "color"
},
"floatingLabelError": {
"value": "#AF2645",
"type": "color"
},
"placeholder": {
"value": "#596D84",
"type": "color"
}
},
"border": {
"base": {
"value": "#E6EDF5",
"type": "color"
},
"error": {
"value": "#AF2645",
"type": "color"
}
}
}
}
Expand Down

0 comments on commit 7d23881

Please sign in to comment.