aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-pace/src/main/kotlin/pl
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-pace/src/main/kotlin/pl')
-rw-r--r--kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt6
1 files changed, 1 insertions, 5 deletions
diff --git a/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt b/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt
index e429ff77..ceb4cc10 100644
--- a/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt
+++ b/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt
@@ -171,11 +171,7 @@ enum class PaceTheme(var paceThemeString: String) {
class Pace {
companion object {
fun init() {
- setNewTheme(PaceColor.Blue, PaceTheme.Flash)
- }
-
- fun setNewTheme(color: PaceColor, theme: PaceTheme) {
- require("pace-progressbar/themes/${color.paceColorString}/pace-theme-${theme.paceThemeString}.css")
+ require("pace-progressbar/themes/blue/pace-theme-flash.css")
}
fun setOptions(options: PaceOptions) {