Move dev widgets to the dedicated folder
This commit is contained in:
22
dev/fmt-test.lua
Normal file
22
dev/fmt-test.lua
Normal 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
|
||||
Reference in New Issue
Block a user