diff --git a/templates/web-template/src/main/kotlin/Main.kt b/templates/web-template/src/main/kotlin/Main.kt index e21755d84d..40b8da8a84 100644 --- a/templates/web-template/src/main/kotlin/Main.kt +++ b/templates/web-template/src/main/kotlin/Main.kt @@ -8,4 +8,4 @@ fun main() { Text("This is a template!") } } -} \ No newline at end of file +} diff --git a/tutorials/Web/Building_UI/README.md b/tutorials/Web/Building_UI/README.md index f0e614e30b..7a34668260 100644 --- a/tutorials/Web/Building_UI/README.md +++ b/tutorials/Web/Building_UI/README.md @@ -165,7 +165,7 @@ Div( padding(20.px) // custom property - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } ) { /* content goes here */ } ``` @@ -247,9 +247,9 @@ fun main() { padding(20.px) // custom property - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } }) { Text("Text in Div with inline style") } } } -``` \ No newline at end of file +``` diff --git a/tutorials/Web/Style_Dsl/README.md b/tutorials/Web/Style_Dsl/README.md index d6366f572c..0fc24de954 100644 --- a/tutorials/Web/Style_Dsl/README.md +++ b/tutorials/Web/Style_Dsl/README.md @@ -16,7 +16,7 @@ Div({ padding(20.px) // custom property (or not supported out of a box) - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } }) { /* content goes here */ } ``` @@ -38,7 +38,7 @@ object AppStylesheet : StyleSheet() { padding(20.px) // custom property (or not supported out of a box) - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } } @@ -84,7 +84,7 @@ object AppStylesheet : StyleSheet() { // raw selector "h1, h2, h3, h4, h5, h6" style { - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } @@ -175,7 +175,7 @@ object AppStylesheet : StyleSheet() { padding(20.px) // custom property (or not supported out of a box) - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } } @@ -196,7 +196,7 @@ fun main() { padding(20.px) // custom property (or not supported out of a box) - property("font-family", value("Arial, Helvetica, sans-serif")) + property("font-family", "Arial, Helvetica, sans-serif") } }) { /* content goes here */ } @@ -208,4 +208,4 @@ fun main() { } } } -``` \ No newline at end of file +```