From efacb9f3990f436e24f2ebb4d055970856165911 Mon Sep 17 00:00:00 2001 From: laffra Date: Sun, 12 Nov 2023 18:26:01 +0100 Subject: [PATCH] Make hello world a bit bolder --- examples/helloworld.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/helloworld.py b/examples/helloworld.py index ad597f9..574a88a 100644 --- a/examples/helloworld.py +++ b/examples/helloworld.py @@ -2,7 +2,12 @@ import ltk -hello = ltk.Text("Hello World") def create(): - return hello.attr("name", "Hello World") \ No newline at end of file + return ( + ltk.VBox(ltk.Text("Hello World")) + .css("padding", 100) + .css("background-color", "orange") + .css("font-size", 42) + .attr("name", "Hello World") + ) \ No newline at end of file