andrewinci/Insulator

View on GitHub
app/src/main/kotlin/insulator/ui/style/CheckBoxStyle.kt

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
package insulator.ui.style

import tornadofx.Stylesheet
import tornadofx.box
import tornadofx.multi
import tornadofx.px

class CheckBoxStyle : Stylesheet() {

    init {
        root {
            checkBox {
                box {
                    focusColor = theme.backgroundColor
                    backgroundInsets = multi(box(0.0.px))
                    backgroundColor = multi(theme.backgroundColor)
                    borderRadius = multi(box(0.0.px))
                    borderInsets = multi(box(1.0.px))
                    borderColor = multi(box(theme.mainColor))
                }
                textFill = theme.black
            }
        }
    }
}