mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2025-12-06 06:15:41 +00:00
now project is multiplatform and correctly working
This commit is contained in:
25
src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitText.kt
Normal file
25
src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitText.kt
Normal file
@@ -0,0 +1,25 @@
|
||||
package dev.inmo.jsuikit.modifiers
|
||||
|
||||
sealed class UIKitText(suffix: String) : UIKitModifier {
|
||||
override val classes: Array<String> = arrayOf("uk-text-$suffix")
|
||||
|
||||
object Lead : UIKitText("lead")
|
||||
object Meta : UIKitText("meta")
|
||||
|
||||
sealed class Alignment(suffix: String) : UIKitText(suffix) {
|
||||
object Left : Alignment("left")
|
||||
object Right : Alignment("right")
|
||||
object Center : Alignment("center")
|
||||
object Justify : Alignment("justify")
|
||||
}
|
||||
|
||||
sealed class Color(suffix: String) : UIKitText(suffix) {
|
||||
object Muted : Color("muted")
|
||||
object Emphasis : Color("emphasis")
|
||||
object Primary : Color("primary")
|
||||
object Secondary : Color("secondary")
|
||||
object Success : Color("success")
|
||||
object Warning : Color("warning")
|
||||
object Danger : Color("danger")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user