Add block documentation

This commit is contained in:
Jeremy Thomas
2020-09-17 00:30:49 +01:00
parent 98090feaf8
commit 9e0c9a35db
27 changed files with 597 additions and 33 deletions

View File

@@ -63,6 +63,11 @@
"name": "$file-name-max-width",
"value": "16em",
"type": "size"
},
"$file-colors": {
"name": "$file-colors",
"value": "$form-colors",
"type": "variable"
}
},
"list": [
@@ -75,7 +80,8 @@
"$file-name-border-color",
"$file-name-border-style",
"$file-name-border-width",
"$file-name-max-width"
"$file-name-max-width",
"$file-colors"
],
"file_path": "form/file.sass"
}

View File

@@ -14,12 +14,18 @@
"name": "$textarea-min-height",
"value": "8em",
"type": "size"
},
"$textarea-colors": {
"name": "$textarea-colors",
"value": "$form-colors",
"type": "variable"
}
},
"list": [
"$textarea-padding",
"$textarea-max-height",
"$textarea-min-height"
"$textarea-min-height",
"$textarea-colors"
],
"file_path": "form/input-textarea.sass"
}

View File

@@ -0,0 +1,13 @@
{
"by_name": {
"$select-colors": {
"name": "$select-colors",
"value": "$form-colors",
"type": "variable"
}
},
"list": [
"$select-colors"
],
"file_path": "form/select.sass"
}

View File

@@ -1,5 +1,12 @@
{
"by_name": {
"$form-colors": {
"name": "$form-colors",
"value": "$colors",
"type": "variable",
"computed_type": "function",
"computed_value": "mergeColorMaps((\"white\": ($white, $black), \"black\": ($black, $white), \"light\": ($light, $light-invert), \"dark\": ($dark, $dark-invert), \"primary\": ($primary, $primary-invert, $primary-light, $primary-dark), \"link\": ($link, $link-invert, $link-light, $link-dark), \"info\": ($info, $info-invert, $info-light, $info-dark), \"success\": ($success, $success-invert, $success-light, $success-dark), \"warning\": ($warning, $warning-invert, $warning-light, $warning-dark), \"danger\": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors)"
},
"$input-color": {
"name": "$input-color",
"value": "$text-strong",
@@ -130,6 +137,7 @@
}
},
"list": [
"$form-colors",
"$input-color",
"$input-background-color",
"$input-border-color",

View File

@@ -20,12 +20,18 @@
"type": "variable",
"computed_type": "size",
"computed_value": "0.75rem"
},
"$label-colors": {
"name": "$label-colors",
"value": "$form-colors",
"type": "variable"
}
},
"list": [
"$label-color",
"$label-weight",
"$help-size"
"$help-size",
"$label-colors"
],
"file_path": "form/tools.sass"
}