From 4640f9d942ed6d9128a3213c324ae7edc1daf5c8 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Sat, 11 Apr 2020 13:25:42 +0100 Subject: [PATCH] Update variables documentation --- docs/_data/variables/components/media.json | 4 ++-- docs/_data/variables/components/modal.json | 4 ++-- docs/_data/variables/components/navbar.json | 2 +- docs/_data/variables/elements/button.json | 10 ++++++++-- docs/_data/variables/form/shared.json | 12 ++++++------ docs/_data/variables/layout/hero.json | 2 +- 6 files changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/_data/variables/components/media.json b/docs/_data/variables/components/media.json index b7ea1b53d..0f85fc064 100644 --- a/docs/_data/variables/components/media.json +++ b/docs/_data/variables/components/media.json @@ -2,8 +2,8 @@ "by_name": { "$media-border-color": { "name": "$media-border-color", - "value": "rgba($border, 0.5)", - "type": "color" + "value": "bulmaRgba($border, 0.5)", + "type": "compound" } }, "list": [ diff --git a/docs/_data/variables/components/modal.json b/docs/_data/variables/components/modal.json index a2123e68d..a213433df 100644 --- a/docs/_data/variables/components/modal.json +++ b/docs/_data/variables/components/modal.json @@ -7,8 +7,8 @@ }, "$modal-background-background-color": { "name": "$modal-background-background-color", - "value": "rgba($scheme-invert, 0.86)", - "type": "color" + "value": "bulmaRgba($scheme-invert, 0.86)", + "type": "compound" }, "$modal-content-width": { "name": "$modal-content-width", diff --git a/docs/_data/variables/components/navbar.json b/docs/_data/variables/components/navbar.json index 61c9fa3e1..8c71e6ff4 100644 --- a/docs/_data/variables/components/navbar.json +++ b/docs/_data/variables/components/navbar.json @@ -173,7 +173,7 @@ }, "$navbar-dropdown-boxed-shadow": { "name": "$navbar-dropdown-boxed-shadow", - "value": "0 8px 8px rgba($scheme-invert, 0.1), 0 0 0 1px rgba($scheme-invert, 0.1)", + "value": "0 8px 8px bulmaRgba($scheme-invert, 0.1), 0 0 0 1px bulmaRgba($scheme-invert, 0.1)", "type": "size" }, "$navbar-dropdown-item-hover-color": { diff --git a/docs/_data/variables/elements/button.json b/docs/_data/variables/elements/button.json index 4114538ec..5e07ebfc4 100644 --- a/docs/_data/variables/elements/button.json +++ b/docs/_data/variables/elements/button.json @@ -76,8 +76,8 @@ }, "$button-focus-box-shadow-color": { "name": "$button-focus-box-shadow-color", - "value": "rgba($link, 0.25)", - "type": "color" + "value": "bulmaRgba($link, 0.25)", + "type": "compound" }, "$button-active-color": { "name": "$button-active-color", @@ -100,6 +100,11 @@ "computed_type": "color", "computed_value": "hsl(0, 0%, 29%)" }, + "$button-text-decoration": { + "name": "$button-text-decoration", + "value": "underline", + "type": "string" + }, "$button-text-hover-background-color": { "name": "$button-text-hover-background-color", "value": "$background", @@ -177,6 +182,7 @@ "$button-active-color", "$button-active-border-color", "$button-text-color", + "$button-text-decoration", "$button-text-hover-background-color", "$button-text-hover-color", "$button-disabled-background-color", diff --git a/docs/_data/variables/form/shared.json b/docs/_data/variables/form/shared.json index a0f449fb8..b016afdc9 100644 --- a/docs/_data/variables/form/shared.json +++ b/docs/_data/variables/form/shared.json @@ -33,8 +33,8 @@ }, "$input-placeholder-color": { "name": "$input-placeholder-color", - "value": "rgba($input-color, 0.3)", - "type": "color" + "value": "bulmaRgba($input-color, 0.3)", + "type": "compound" }, "$input-hover-color": { "name": "$input-hover-color", @@ -71,8 +71,8 @@ }, "$input-focus-box-shadow-color": { "name": "$input-focus-box-shadow-color", - "value": "rgba($link, 0.25)", - "type": "color" + "value": "bulmaRgba($link, 0.25)", + "type": "compound" }, "$input-disabled-color": { "name": "$input-disabled-color", @@ -97,8 +97,8 @@ }, "$input-disabled-placeholder-color": { "name": "$input-disabled-placeholder-color", - "value": "rgba($input-disabled-color, 0.3)", - "type": "color" + "value": "bulmaRgba($input-disabled-color, 0.3)", + "type": "compound" }, "$input-arrow": { "name": "$input-arrow", diff --git a/docs/_data/variables/layout/hero.json b/docs/_data/variables/layout/hero.json index 93144f08e..d6cf2412a 100644 --- a/docs/_data/variables/layout/hero.json +++ b/docs/_data/variables/layout/hero.json @@ -28,4 +28,4 @@ "$hero-body-padding-large" ], "file_path": "layout/hero.sass" -} \ No newline at end of file +} \ No newline at end of file -- 2.47.2