mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 19:34:30 -07:00
Update variables include template
This commit is contained in:
@@ -1,115 +1,186 @@
|
||||
{
|
||||
"dir_name": "elements",
|
||||
"file_name": "button",
|
||||
"file_relative_path": "elements/button.sass",
|
||||
"file_line_from": 1,
|
||||
"file_line_to": 27,
|
||||
"file_url": "https://github.com/jgthms/bulma/blob/master/sass/elements/button.sass#L1,L27",
|
||||
"vars": {
|
||||
"button-color": {
|
||||
"id": "button-color",
|
||||
"by_name": {
|
||||
"$button-color": {
|
||||
"name": "$button-color",
|
||||
"value": "$grey-darker"
|
||||
"value": "$grey-darker",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 21%)"
|
||||
},
|
||||
"button-background-color": {
|
||||
"id": "button-background-color",
|
||||
"$button-background-color": {
|
||||
"name": "$button-background-color",
|
||||
"value": "$white"
|
||||
"value": "$white",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 100%)"
|
||||
},
|
||||
"button-border-color": {
|
||||
"id": "button-border-color",
|
||||
"$button-border-color": {
|
||||
"name": "$button-border-color",
|
||||
"value": "$grey-lighter"
|
||||
"value": "$grey-lighter",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 86%)"
|
||||
},
|
||||
"button-hover-color": {
|
||||
"id": "button-hover-color",
|
||||
"$button-border-width": {
|
||||
"name": "$button-border-width",
|
||||
"value": "$control-border-width",
|
||||
"type": "variable",
|
||||
"computed_type": "string"
|
||||
},
|
||||
"$button-padding-vertical": {
|
||||
"name": "$button-padding-vertical",
|
||||
"value": "calc(0.375em - #{$button-border-width})",
|
||||
"type": "compound"
|
||||
},
|
||||
"$button-padding-horizontal": {
|
||||
"name": "$button-padding-horizontal",
|
||||
"value": "0.75em",
|
||||
"type": "size"
|
||||
},
|
||||
"$button-hover-color": {
|
||||
"name": "$button-hover-color",
|
||||
"value": "$link-hover"
|
||||
"value": "$link-hover",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 21%)"
|
||||
},
|
||||
"button-hover-border-color": {
|
||||
"id": "button-hover-border-color",
|
||||
"$button-hover-border-color": {
|
||||
"name": "$button-hover-border-color",
|
||||
"value": "$link-hover-border"
|
||||
"value": "$link-hover-border",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 71%)"
|
||||
},
|
||||
"button-focus-color": {
|
||||
"id": "button-focus-color",
|
||||
"$button-focus-color": {
|
||||
"name": "$button-focus-color",
|
||||
"value": "$link-focus"
|
||||
"value": "$link-focus",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 21%)"
|
||||
},
|
||||
"button-focus-border-color": {
|
||||
"id": "button-focus-border-color",
|
||||
"$button-focus-border-color": {
|
||||
"name": "$button-focus-border-color",
|
||||
"value": "$link-focus-border"
|
||||
"value": "$link-focus-border",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(217, 71%, 53%)"
|
||||
},
|
||||
"button-focus-box-shadow-size": {
|
||||
"id": "button-focus-box-shadow-size",
|
||||
"$button-focus-box-shadow-size": {
|
||||
"name": "$button-focus-box-shadow-size",
|
||||
"value": "0 0 0 0.125em"
|
||||
"value": "0 0 0 0.125em",
|
||||
"type": "size"
|
||||
},
|
||||
"button-focus-box-shadow-color": {
|
||||
"id": "button-focus-box-shadow-color",
|
||||
"$button-focus-box-shadow-color": {
|
||||
"name": "$button-focus-box-shadow-color",
|
||||
"value": "rgba($link, 0.25)"
|
||||
"value": "rgba($link, 0.25)",
|
||||
"type": "compound"
|
||||
},
|
||||
"button-active-color": {
|
||||
"id": "button-active-color",
|
||||
"$button-active-color": {
|
||||
"name": "$button-active-color",
|
||||
"value": "$link-active"
|
||||
"value": "$link-active",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 21%)"
|
||||
},
|
||||
"button-active-border-color": {
|
||||
"id": "button-active-border-color",
|
||||
"$button-active-border-color": {
|
||||
"name": "$button-active-border-color",
|
||||
"value": "$link-active-border"
|
||||
"value": "$link-active-border",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 29%)"
|
||||
},
|
||||
"button-text-color": {
|
||||
"id": "button-text-color",
|
||||
"$button-text-color": {
|
||||
"name": "$button-text-color",
|
||||
"value": "$text"
|
||||
"value": "$text",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 29%)"
|
||||
},
|
||||
"button-text-hover-background-color": {
|
||||
"id": "button-text-hover-background-color",
|
||||
"$button-text-hover-background-color": {
|
||||
"name": "$button-text-hover-background-color",
|
||||
"value": "$background"
|
||||
"value": "$background",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 96%)"
|
||||
},
|
||||
"button-text-hover-color": {
|
||||
"id": "button-text-hover-color",
|
||||
"$button-text-hover-color": {
|
||||
"name": "$button-text-hover-color",
|
||||
"value": "$text-strong"
|
||||
"value": "$text-strong",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 21%)"
|
||||
},
|
||||
"button-disabled-background-color": {
|
||||
"id": "button-disabled-background-color",
|
||||
"$button-disabled-background-color": {
|
||||
"name": "$button-disabled-background-color",
|
||||
"value": "$white"
|
||||
"value": "$white",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 100%)"
|
||||
},
|
||||
"button-disabled-border-color": {
|
||||
"id": "button-disabled-border-color",
|
||||
"$button-disabled-border-color": {
|
||||
"name": "$button-disabled-border-color",
|
||||
"value": "$grey-lighter"
|
||||
"value": "$grey-lighter",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 86%)"
|
||||
},
|
||||
"button-disabled-shadow": {
|
||||
"id": "button-disabled-shadow",
|
||||
"$button-disabled-shadow": {
|
||||
"name": "$button-disabled-shadow",
|
||||
"value": "none"
|
||||
"value": "none",
|
||||
"type": "string"
|
||||
},
|
||||
"button-disabled-opacity": {
|
||||
"id": "button-disabled-opacity",
|
||||
"$button-disabled-opacity": {
|
||||
"name": "$button-disabled-opacity",
|
||||
"value": "0.5"
|
||||
"value": "0.5",
|
||||
"type": "string"
|
||||
},
|
||||
"button-static-color": {
|
||||
"id": "button-static-color",
|
||||
"$button-static-color": {
|
||||
"name": "$button-static-color",
|
||||
"value": "$grey"
|
||||
"value": "$grey",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 48%)"
|
||||
},
|
||||
"button-static-background-color": {
|
||||
"id": "button-static-background-color",
|
||||
"$button-static-background-color": {
|
||||
"name": "$button-static-background-color",
|
||||
"value": "$white-ter"
|
||||
"value": "$white-ter",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 96%)"
|
||||
},
|
||||
"button-static-border-color": {
|
||||
"id": "button-static-border-color",
|
||||
"$button-static-border-color": {
|
||||
"name": "$button-static-border-color",
|
||||
"value": "$grey-lighter"
|
||||
"value": "$grey-lighter",
|
||||
"type": "variable",
|
||||
"computed_type": "color",
|
||||
"computed_value": "hsl(0, 0%, 86%)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"list": [
|
||||
"$button-color",
|
||||
"$button-background-color",
|
||||
"$button-border-color",
|
||||
"$button-border-width",
|
||||
"$button-padding-vertical",
|
||||
"$button-padding-horizontal",
|
||||
"$button-hover-color",
|
||||
"$button-hover-border-color",
|
||||
"$button-focus-color",
|
||||
"$button-focus-border-color",
|
||||
"$button-focus-box-shadow-size",
|
||||
"$button-focus-box-shadow-color",
|
||||
"$button-active-color",
|
||||
"$button-active-border-color",
|
||||
"$button-text-color",
|
||||
"$button-text-hover-background-color",
|
||||
"$button-text-hover-color",
|
||||
"$button-disabled-background-color",
|
||||
"$button-disabled-border-color",
|
||||
"$button-disabled-shadow",
|
||||
"$button-disabled-opacity",
|
||||
"$button-static-color",
|
||||
"$button-static-background-color",
|
||||
"$button-static-border-color"
|
||||
],
|
||||
"file_path": "elements/button.sass"
|
||||
}
|
||||
Reference in New Issue
Block a user