diff --git a/src/core/drive/progress_bar.js b/src/core/drive/progress_bar.js index 10c004101..4e87edc50 100644 --- a/src/core/drive/progress_bar.js +++ b/src/core/drive/progress_bar.js @@ -8,13 +8,15 @@ export class ProgressBar { static get defaultCSS() { return unindent` .turbo-progress-bar { - position: fixed; - display: block; - top: 0; - left: 0; - height: 3px; - background: #0076ff; - z-index: 2147483647; + position: var(--progress-bar-position, fixed); + display: var(--progress-bar-display, block); + top: var(--progress-bar-top, 0); + left: var(--progress-bar-left, 0); + height: var(--progress-bar-height, 3px); + background-color: var(--progress-bar-backgroundc-color, #0076ff); + border-radius: var(--progress-bar-border-radius, 0); + box-shadow: var(--progress-bar-box-shadow, none); + z-index: var(--progress-bar-z-index, 2147483647); transition: width ${ProgressBar.animationDuration}ms ease-out, opacity ${ProgressBar.animationDuration / 2}ms ${ProgressBar.animationDuration / 2}ms ease-in;