feat(tabs): improve tab styling and make tabs user stylable

This commit is contained in:
CJ van den Berg 2025-01-29 16:06:58 +01:00
parent 80e8f0ebda
commit 917462a6e3
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 241 additions and 56 deletions

View file

@ -577,7 +577,7 @@ fn config_eql(comptime T: type, a: T, b: T) bool {
else => {},
}
switch (@typeInfo(T)) {
.Bool, .Int, .Float => return a == b,
.Bool, .Int, .Float, .Enum => return a == b,
else => {},
}
@compileError("unsupported config type " ++ @typeName(T));