feat: left sided name

This commit is contained in:
TrèsAbhi committed 2024-09-01 17:00:02 -05:00
1 parent 8b183269d1
commit 4f80169f9b
5 files changed
+128 -114

No files matched your search

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