Reformat code

This commit is contained in:
2021-05-11 17:26:08 +02:00
parent 2b725f6af2
commit c5ba12032d
72 changed files with 2501 additions and 1711 deletions

View File

@@ -1,19 +1,19 @@
package nl.astraeus.css.properties
interface CssValue {
fun css(): String
fun css(): String
}
open class CssProperty(
var value: String
): CssValue {
var value: String
) : CssValue {
override fun css(): String = value
override fun css(): String = value
}
fun text(value: String) = TextProperty(value)
class TextProperty(
value: String
): CssProperty(value)
value: String
) : CssProperty(value)