Skip to content

Commit

Permalink
buttonLink danger tokens (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost authored Dec 5, 2023
1 parent 07d4f66 commit eb316f1
Show file tree
Hide file tree
Showing 8 changed files with 216 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tokens/blau.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "blauRed70"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.blauRed10}",
"type": "color",
"description": "blauRed10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.blauRed10}",
"type": "color",
"description": "blauRed10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.blauPurple10}",
"type": "color",
Expand Down Expand Up @@ -677,6 +692,21 @@
"type": "color",
"description": "blauRed70"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.blauPurple}, 0.3)",
"type": "color",
"description": "blauPurple"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.blauPurple}, 0.3)",
"type": "color",
"description": "blauPurple"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.blauPurple}, 0.3)",
"type": "color",
"description": "blauPurple"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.blauPurple}, 0.3)",
"type": "color",
Expand Down
30 changes: 30 additions & 0 deletions tokens/movistar-legacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "pepper55"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.movistarBlue10}",
"type": "color",
Expand Down Expand Up @@ -677,6 +692,21 @@
"type": "color",
"description": "pepper55"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
Expand Down
30 changes: 30 additions & 0 deletions tokens/movistar.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "pepper55"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.movistarBlue10}",
"type": "color",
Expand Down Expand Up @@ -678,6 +693,21 @@
"type": "color",
"description": "pepper55"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
Expand Down
30 changes: 30 additions & 0 deletions tokens/o2.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "pepper60"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.o2BluePrimary10}",
"type": "color",
Expand Down Expand Up @@ -677,6 +692,21 @@
"type": "color",
"description": "pepper60"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
Expand Down
6 changes: 6 additions & 0 deletions tokens/schema/skin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
"buttonDangerBackground",
"buttonDangerBackgroundSelected",
"buttonDangerBackgroundHover",
"buttonLinkDangerBackgroundSelected",
"buttonLinkDangerBackgroundInverse",
"buttonLinkDangerBackgroundInverseSelected",
"buttonLinkBackgroundSelected",
"buttonLinkBackgroundInverseSelected",
"buttonPrimaryBackground",
Expand Down Expand Up @@ -189,6 +192,9 @@
"buttonDangerBackground": { "$ref": "#/definitions/constantProperties" },
"buttonDangerBackgroundSelected": { "$ref": "#/definitions/constantProperties" },
"buttonDangerBackgroundHover": { "$ref": "#/definitions/constantProperties" },
"buttonLinkDangerBackgroundSelected": { "$ref": "#/definitions/constantProperties" },
"buttonLinkDangerBackgroundInverse": { "$ref": "#/definitions/constantProperties" },
"buttonLinkDangerBackgroundInverseSelected": { "$ref": "#/definitions/constantProperties" },
"buttonLinkBackgroundSelected": { "$ref": "#/definitions/constantProperties" },
"buttonLinkBackgroundInverseSelected": { "$ref": "#/definitions/constantProperties" },
"buttonPrimaryBackground": { "$ref": "#/definitions/constantProperties" },
Expand Down
30 changes: 30 additions & 0 deletions tokens/telefonica.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "coral80"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.coral10}",
"type": "color",
"description": "coral10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.coral10}",
"type": "color",
"description": "coral10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.grey1}",
"type": "color",
Expand Down Expand Up @@ -677,6 +692,21 @@
"type": "color",
"description": "coral80"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
Expand Down
30 changes: 30 additions & 0 deletions tokens/vivo-new.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "pepperDark"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.vivoPurpleLight10}",
"type": "color",
Expand Down Expand Up @@ -677,6 +692,21 @@
"type": "color",
"description": "pepperDark"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
Expand Down
30 changes: 30 additions & 0 deletions tokens/vivo.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@
"type": "color",
"description": "pepperDark"
},
"buttonLinkDangerBackgroundSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkDangerBackgroundInverse": {
"value": "{palette.white}",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "{palette.pepper10}",
"type": "color",
"description": "pepper10"
},
"buttonLinkBackgroundSelected": {
"value": "{palette.vivoPurpleLight10}",
"type": "color",
Expand Down Expand Up @@ -677,6 +692,21 @@
"type": "color",
"description": "pepperDark"
},
"buttonLinkDangerBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverse": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkDangerBackgroundInverseSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
"description": "white"
},
"buttonLinkBackgroundSelected": {
"value": "rgba({palette.white}, 0.08)",
"type": "color",
Expand Down

0 comments on commit eb316f1

Please sign in to comment.