class AppStyleSheet : Stylesheet() { companion object { val editor by cssclass() val infoToolbox by cssclass() val animationSheetsToolbox by cssclass() val editorBgColor = c(39, 50, 56)!! val editorTextColor = c(121, 139, 149)!! val toggleBtn by cssclass("toggle-button") val selected by cssclass() } init { s(editor) { backgroundColor += editorBgColor s(infoToolbox) { s(label) { textFill = editorTextColor } } s(animationSheetsToolbox) { s(toggleBtn) { backgroundColor += Color.RED backgroundInsets = multi(box(0.px), box(1.px), box(2.px)) backgroundRadius = multi(box(3.px), box(2.px), box(1.px)) } } } } }