refactor api

This commit is contained in:
Timi
2026-08-27 16:08:56 +08:00
parent 6fa75b3045
commit eef7a78fe9
62 changed files with 835 additions and 2057 deletions
+10
View File
@@ -58,3 +58,13 @@ each(@tuiColors, {
background: @value;
}
});
.build-width-class(@width, @max) when (@width =< @max) {
.w-@{width} {
width: unit((@width / 16), rem);
}
.build-width-class((@width + 10), @max);
}
.build-width-class(80, 600);