Skip to content

Commit 1616699

Browse files
committed
Updated readme
1 parent 5ed92bd commit 1616699

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
An awesome Swift CSS DSL library using result builders.
44

55
```swift
6-
@MediaBuilder func buildCSS() -> [Media] {
6+
let css = Stylesheet {
77
Media {
88
All {
99
Background("#222")
@@ -35,7 +35,8 @@ An awesome Swift CSS DSL library using result builders.
3535
.pseudo(.hover)
3636
}
3737
}
38-
38+
39+
print(StylesheetRenderer().render(css))
3940
```
4041

4142
## Credits & references

0 commit comments

Comments
 (0)