mod(style): styling and color revamp now with fewer characters to print to the terminal

This commit is contained in:
2025-02-04 17:51:28 +01:00
parent 2bfacc0e98
commit 9c06ced658
4 changed files with 64 additions and 154 deletions

View File

@@ -22,8 +22,12 @@ pub fn main() !void {
var renderer = zterm.Renderer.Buffered.init(allocator);
defer renderer.deinit();
var container = try App.Container.init(allocator, .{});
try container.append(try App.Container.init(allocator, .{}));
var container = try App.Container.init(allocator, .{
.border = .{ .color = .green, .corners = .rounded },
});
try container.append(try App.Container.init(allocator, .{
.border = .{ .color = .light_green, .corners = .squared },
}));
defer container.deinit();
// NOTE: should the min-size here be required?