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,23 +1,23 @@
package nl.astraeus.css.properties
class Content(
value: String
value: String
) : CssProperty(value) {
companion object {
val normal = Content("normal")
val none = Content("none")
val counter = Content("counter")
val openQuote = Content("open-quote")
val closeQuote = Content("close-quote")
val noOpenQuote = Content("no-open-quote")
val noCloseQuote = Content("no-close-quote")
val initial = Content("initial")
val inherit = Content("inherit")
companion object {
val normal = Content("normal")
val none = Content("none")
val counter = Content("counter")
val openQuote = Content("open-quote")
val closeQuote = Content("close-quote")
val noOpenQuote = Content("no-open-quote")
val noCloseQuote = Content("no-close-quote")
val initial = Content("initial")
val inherit = Content("inherit")
fun attr(attribute: String) = Content("attr($attribute)")
fun string(txt: String) = Content("\"$txt\"")
fun url(url: String) = Content("url($url)")
}
fun attr(attribute: String) = Content("attr($attribute)")
fun string(txt: String) = Content("\"$txt\"")
fun url(url: String) = Content("url($url)")
}
}