fix: port to core 5

This commit is contained in:
TrèsAbhi committed 2024-09-08 10:46:12 -05:00
1 parent 3d23ea1497
commit 7249c3be9e
24 files changed
+41 -53

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
type Name =
| `color-${'background' | `panel-${'solid' | 'translucent'}` | 'surface' | 'overlay'}`
| `radius-${1 | 2 | 3 | 4 | 5 | 6 | 'full'}`
| `space-${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}`
| string;
export function Var(name: Name) {
return `var(--${name})`;
}