mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 10:14:29 -07:00
Derive ‘-invert’ sass variables from primary colors (#2594)
This commit is contained in:
committed by
Jeremy Thomas
parent
f6ed0ae356
commit
f99771e6fe
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user