Move dev widgets to the dedicated folder

This commit is contained in:
Evgeny
2024-09-12 09:11:40 +03:00
parent d063132df2
commit 11a8cf2ad6
7 changed files with 70 additions and 1 deletions

22
dev/fmt-test.lua Normal file
View File

@@ -0,0 +1,22 @@
local fmt = require "fmt"
function on_resume()
ui:show_lines{
fmt.bold("bold"),
fmt.italic("italic"),
fmt.underline("underline"),
fmt.primary("primary"),
fmt.secondary("secondary"),
fmt.red("red"),
fmt.green("green"),
fmt.blue("blue"),
fmt.colored("lime", "#00FF00"),
fmt.bg_colored(fmt.colored("lime background", "#000000"), "#00FF00"),
fmt.small("small font"),
fmt.big("big font"),
fmt.strike("The crossed out text"),
fmt.space().."start with space",
fmt.space(4).."start with tab",
fmt.escape("<b>not parsed</b>"),
}
end