Skip to content

Commit

Permalink
Add customizable border radius to progressbar (#2224)
Browse files Browse the repository at this point in the history
* Add customizable border radius to progressbar

* Update variables
  • Loading branch information
Come2Daddy authored and jgthms committed May 17, 2019
1 parent 3348a22 commit 99aeecc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/_data/variables/elements/progress.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
"name": "$progress-indeterminate-duration",
"value": "1.5s",
"type": "string"
},
"$progress-border-radius": {
"name": "$progress-border-radius",
"value": "$radius-rounded",
"type": "variable"
}
},
"list": [
"$progress-bar-background-color",
"$progress-value-background-color",
"$progress-indeterminate-duration"
"$progress-indeterminate-duration",
"$progress-border-radius"
],
"file_path": "elements/progress.sass"
}
3 changes: 2 additions & 1 deletion sass/elements/progress.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$progress-bar-background-color: $border !default
$progress-value-background-color: $text !default
$progress-border-radius: $radius-rounded !default

$progress-indeterminate-duration: 1.5s !default

Expand All @@ -8,7 +9,7 @@ $progress-indeterminate-duration: 1.5s !default
-moz-appearance: none
-webkit-appearance: none
border: none
border-radius: $radius-rounded
border-radius: $progress-border-radius
display: block
height: $size-normal
overflow: hidden
Expand Down

0 comments on commit 99aeecc

Please sign in to comment.