Theming
Adding a custom CSS file to your application
import io.kvision.utils.useModule
@JsModule("/kotlin/modules/css/kvapp.css")
external val kvappCss: dynamic
@JsModule("/kotlin/modules/css/other.css")
external val otherCss: dynamic
class App : Application() {
init {
useModule(kvappCss)
useModule(otherCss)
}
override fun start() {
// ...
}
}Replacing Bootstrap CSS with a custom one
Using free themes from Bootswatch
Using KVision without Bootstrap
Last updated