Skip to content

Commit

Permalink
tokens changes
Browse files Browse the repository at this point in the history
added textErrorInverse token and changed backgroundContainerError palette same as errorLow
  • Loading branch information
paulasuarezb committed Apr 16, 2024
1 parent c1ebb26 commit 5957863
Show file tree
Hide file tree
Showing 9 changed files with 106 additions and 24 deletions.
14 changes: 12 additions & 2 deletions tokens/blau.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,11 @@
"type": "color",
"description": "blauRed"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"success": {
"value": "{palette.blauGreen}",
"type": "color",
Expand Down Expand Up @@ -679,9 +684,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.blauRed10}",
"type": "color",
"description": "darkModeGrey"
"description": "blauRed10"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1103,6 +1108,11 @@
"type": "color",
"description": "blauRed"
},
"textErrorInverse": {
"value": "{palette.grey2}",
"type": "color",
"description": "grey2"
},
"success": {
"value": "{palette.blauGreen}",
"type": "color",
Expand Down
14 changes: 12 additions & 2 deletions tokens/movistar.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"promo": {
"value": "{palette.purple}",
"type": "color",
Expand Down Expand Up @@ -679,9 +684,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.movistarBlueDark}",
"type": "color",
"description": "darkModeGrey"
"description": "movistarBlueDark"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1113,6 +1118,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.darkModeGrey2}",
"type": "color",
"description": "darkModeGrey2"
},
"promo": {
"value": "{palette.purple}",
"type": "color",
Expand Down
18 changes: 14 additions & 4 deletions tokens/o2-new.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"description": "white"
},
"backgroundContainerError": {
"value": "{palette.white}",
"value": "{palette.o2Red10}",
"type": "color",
"description": "white"
"description": "o2Red10"
},
"backgroundContainerHover": {
"value": "rgba({palette.darkModeBlack}, 0.03)",
Expand Down Expand Up @@ -492,6 +492,11 @@
"type": "color",
"description": "o2Red45"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"promo": {
"value": "{palette.o2Pink}",
"type": "color",
Expand Down Expand Up @@ -711,9 +716,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.darkModeGrey6}",
"type": "color",
"description": "darkModeGrey"
"description": "darkModeGrey6"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1145,6 +1150,11 @@
"type": "color",
"description": "o2Red45"
},
"textErrorInverse": {
"value": "{palette.grey30}",
"type": "color",
"description": "grey30"
},
"promo": {
"value": "{palette.o2Pink}",
"type": "color",
Expand Down
18 changes: 14 additions & 4 deletions tokens/o2.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"description": "white"
},
"backgroundContainerError": {
"value": "{palette.white}",
"value": "{palette.pepper10}",
"type": "color",
"description": "white"
"description": "pepper10"
},
"backgroundContainerHover": {
"value": "rgba({palette.darkModeBlack}, 0.03)",
Expand Down Expand Up @@ -460,6 +460,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"promo": {
"value": "{palette.o2Purple}",
"type": "color",
Expand Down Expand Up @@ -679,9 +684,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.darkModeGrey6}",
"type": "color",
"description": "darkModeGrey"
"description": "darkModeGrey6"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1113,6 +1118,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.grey2}",
"type": "color",
"description": "grey2"
},
"promo": {
"value": "{palette.o2Purple}",
"type": "color",
Expand Down
2 changes: 2 additions & 0 deletions tokens/schema/skin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"promo",
"error",
"textError",
"textErrorInverse",
"highlight",
"success",
"warning",
Expand Down Expand Up @@ -256,6 +257,7 @@
"promo": { "$ref": "#/definitions/constantProperties" },
"error": { "$ref": "#/definitions/constantProperties" },
"textError": { "$ref": "#/definitions/constantProperties" },
"textErrorInverse": { "$ref": "#/definitions/constantProperties" },
"highlight": { "$ref": "#/definitions/constantProperties" },
"success": { "$ref": "#/definitions/constantProperties" },
"warning": { "$ref": "#/definitions/constantProperties" },
Expand Down
14 changes: 12 additions & 2 deletions tokens/telefonica.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,11 @@
"type": "color",
"description": "coral"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"success": {
"value": "{palette.turquoise}",
"type": "color",
Expand Down Expand Up @@ -679,9 +684,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.darkModeGrey6}",
"type": "color",
"description": "darkModeGrey"
"description": "darkModeGrey6"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1103,6 +1108,11 @@
"type": "color",
"description": "coral"
},
"textErrorInverse": {
"value": "{palette.grey2}",
"type": "color",
"description": "grey2"
},
"success": {
"value": "{palette.turquoise}",
"type": "color",
Expand Down
18 changes: 14 additions & 4 deletions tokens/tu.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"description": "white"
},
"backgroundContainerError": {
"value": "{palette.white}",
"value": "{palette.red10}",
"type": "color",
"description": "white"
"description": "red10"
},
"backgroundContainerHover": {
"value": "rgba({palette.grey9}, 0.03)",
Expand Down Expand Up @@ -450,6 +450,11 @@
"type": "color",
"description": "red"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"success": {
"value": "{palette.green}",
"type": "color",
Expand Down Expand Up @@ -679,9 +684,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.darkModeGrey6}",
"type": "color",
"description": "darkModeGrey"
"description": "darkModeGrey6"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1103,6 +1108,11 @@
"type": "color",
"description": "red"
},
"textErrorInverse": {
"value": "{palette.grey2}",
"type": "color",
"description": "grey2"
},
"success": {
"value": "{palette.green}",
"type": "color",
Expand Down
14 changes: 12 additions & 2 deletions tokens/vivo-new.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"description": "white"
},
"backgroundContainerError": {
"value": "{palette.white}",
"value": "{palette.pepperLight10}",
"type": "color",
"description": "white"
"description": "pepperLight10"
},
"backgroundContainerHover": {
"value": "rgba({palette.darkModeBlack}, 0.03)",
Expand Down Expand Up @@ -460,6 +460,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"promo": {
"value": "{palette.vivoPurple}",
"type": "color",
Expand Down Expand Up @@ -1113,6 +1118,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.grey2}",
"type": "color",
"description": "grey2"
},
"promo": {
"value": "{palette.vivoPurpleLight80}",
"type": "color",
Expand Down
18 changes: 14 additions & 4 deletions tokens/vivo.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"description": "white"
},
"backgroundContainerError": {
"value": "{palette.white}",
"value": "{palette.pepperLight10}",
"type": "color",
"description": "white"
"description": "pepperLight10"
},
"backgroundContainerHover": {
"value": "rgba({palette.darkModeBlack}, 0.03)",
Expand Down Expand Up @@ -460,6 +460,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"promo": {
"value": "{palette.vivoPurple}",
"type": "color",
Expand Down Expand Up @@ -679,9 +684,9 @@
"description": "darkModeGrey"
},
"backgroundContainerError": {
"value": "{palette.darkModeGrey}",
"value": "{palette.darkModeGrey6}",
"type": "color",
"description": "darkModeGrey"
"description": "darkModeGrey6"
},
"backgroundContainerHover": {
"value": "rgba({palette.white}, 0.03)",
Expand Down Expand Up @@ -1113,6 +1118,11 @@
"type": "color",
"description": "pepper"
},
"textErrorInverse": {
"value": "{palette.grey2}",
"type": "color",
"description": "grey2"
},
"promo": {
"value": "{palette.vivoPurpleLight80}",
"type": "color",
Expand Down

0 comments on commit 5957863

Please sign in to comment.