Update variable JSONs

This commit is contained in:
Jeremy Thomas
2019-10-13 16:31:23 +01:00
parent 817c676a79
commit d0c84b97c9
26 changed files with 299 additions and 97 deletions

View File

@@ -9,7 +9,7 @@
},
"$box-background-color": {
"name": "$box-background-color",
"value": "$white",
"value": "$scheme-main",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 100%)"
@@ -23,7 +23,7 @@
},
"$box-shadow": {
"name": "$box-shadow",
"value": "0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)",
"value": "0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02)",
"type": "size"
},
"$box-padding": {
@@ -33,12 +33,12 @@
},
"$box-link-hover-shadow": {
"name": "$box-link-hover-shadow",
"value": "0 2px 3px rgba($black, 0.1), 0 0 0 1px $link",
"value": "0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link",
"type": "size"
},
"$box-link-active-shadow": {
"name": "$box-link-active-shadow",
"value": "inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link",
"value": "inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link",
"type": "size"
}
},

View File

@@ -2,14 +2,14 @@
"by_name": {
"$button-color": {
"name": "$button-color",
"value": "$grey-darker",
"value": "$text-strong",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 21%)"
},
"$button-background-color": {
"name": "$button-background-color",
"value": "$white",
"value": "$scheme-main",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 100%)"
@@ -21,7 +21,7 @@
},
"$button-border-color": {
"name": "$button-border-color",
"value": "$grey-lighter",
"value": "$border",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 86%)"
@@ -33,12 +33,12 @@
},
"$button-padding-vertical": {
"name": "$button-padding-vertical",
"value": "calc(0.375em - #{$button-border-width})",
"value": "calc(0.5em - #{$button-border-width})",
"type": "size"
},
"$button-padding-horizontal": {
"name": "$button-padding-horizontal",
"value": "0.75em",
"value": "1em",
"type": "size"
},
"$button-hover-color": {
@@ -116,14 +116,14 @@
},
"$button-disabled-background-color": {
"name": "$button-disabled-background-color",
"value": "$white",
"value": "$scheme-main",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 100%)"
},
"$button-disabled-border-color": {
"name": "$button-disabled-border-color",
"value": "$grey-lighter",
"value": "$border",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 86%)"
@@ -140,21 +140,21 @@
},
"$button-static-color": {
"name": "$button-static-color",
"value": "$grey",
"value": "$text-light",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 48%)"
},
"$button-static-background-color": {
"name": "$button-static-background-color",
"value": "$white-ter",
"value": "$scheme-main-ter",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 96%)"
},
"$button-static-border-color": {
"name": "$button-static-border-color",
"value": "$grey-lighter",
"value": "$border",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 86%)"

View File

@@ -7,6 +7,13 @@
"computed_type": "color",
"computed_value": "hsl(0, 0%, 96%)"
},
"$notification-code-background-color": {
"name": "$notification-code-background-color",
"value": "$scheme-main",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 100%)"
},
"$notification-radius": {
"name": "$notification-radius",
"value": "$radius",
@@ -22,6 +29,7 @@
},
"list": [
"$notification-background-color",
"$notification-code-background-color",
"$notification-radius",
"$notification-padding"
],

View File

@@ -2,10 +2,10 @@
"by_name": {
"$progress-bar-background-color": {
"name": "$progress-bar-background-color",
"value": "$border",
"value": "$border-light",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 86%)"
"computed_value": "hsl(0, 0%, 93%)"
},
"$progress-value-background-color": {
"name": "$progress-value-background-color",

View File

@@ -2,21 +2,21 @@
"by_name": {
"$table-color": {
"name": "$table-color",
"value": "$grey-darker",
"value": "$text-strong",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 21%)"
},
"$table-background-color": {
"name": "$table-background-color",
"value": "$white",
"value": "$scheme-main",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 100%)"
},
"$table-cell-border": {
"name": "$table-cell-border",
"value": "1px solid $grey-lighter",
"value": "1px solid $border",
"type": "size"
},
"$table-cell-border-width": {
@@ -77,7 +77,7 @@
},
"$table-row-hover-background-color": {
"name": "$table-row-hover-background-color",
"value": "$white-bis",
"value": "$scheme-main-bis",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 98%)"
@@ -98,14 +98,14 @@
},
"$table-striped-row-even-background-color": {
"name": "$table-striped-row-even-background-color",
"value": "$white-bis",
"value": "$scheme-main-bis",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 98%)"
},
"$table-striped-row-even-hover-background-color": {
"name": "$table-striped-row-even-hover-background-color",
"value": "$white-ter",
"value": "$scheme-main-ter",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 96%)"

View File

@@ -2,7 +2,7 @@
"by_name": {
"$title-color": {
"name": "$title-color",
"value": "$grey-darker",
"value": "$text-strong",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 21%)"
@@ -53,7 +53,7 @@
},
"$subtitle-color": {
"name": "$subtitle-color",
"value": "$grey-dark",
"value": "$text",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 29%)"
@@ -84,7 +84,7 @@
},
"$subtitle-strong-color": {
"name": "$subtitle-strong-color",
"value": "$grey-darker",
"value": "$text-strong",
"type": "variable",
"computed_type": "color",
"computed_value": "hsl(0, 0%, 21%)"