Derive ‘-invert’ sass variables from primary colors (#2594)

This commit is contained in:
Wessel Kuipers
2019-10-13 11:10:26 +02:00
committed by Jeremy Thomas
parent f6ed0ae356
commit f99771e6fe
3 changed files with 17 additions and 16 deletions

View File

@@ -107,49 +107,49 @@
},
"$primary-invert": {
"name": "$primary-invert",
"value": "$turquoise-invert",
"value": "findColorInvert($primary)",
"type": "variable",
"computed_type": "color",
"computed_value": "#fff"
},
"$info-invert": {
"name": "$info-invert",
"value": "$cyan-invert",
"value": "findColorInvert($info)",
"type": "variable",
"computed_type": "color",
"computed_value": "#fff"
},
"$success-invert": {
"name": "$success-invert",
"value": "$green-invert",
"value": "findColorInvert($success)",
"type": "variable",
"computed_type": "color",
"computed_value": "#fff"
},
"$warning-invert": {
"name": "$warning-invert",
"value": "$yellow-invert",
"value": "findColorInvert($warning)",
"type": "variable",
"computed_type": "color",
"computed_value": "rgba(0, 0, 0, 0.7)"
},
"$danger-invert": {
"name": "$danger-invert",
"value": "$red-invert",
"value": "findColorInvert($danger)",
"type": "variable",
"computed_type": "color",
"computed_value": "#fff"
},
"$light-invert": {
"name": "$light-invert",
"value": "$dark",
"value": "findColorInvert($light)",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 21%)"
},
"$dark-invert": {
"name": "$dark-invert",
"value": "$light",
"value": "findColorInvert($dark)",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 96%)"
@@ -240,7 +240,7 @@
},
"$link-invert": {
"name": "$link-invert",
"value": "$blue-invert",
"value": "findColorInvert($link)",
"type": "variable",
"computed_type": "color",
"computed_value": "#fff"