mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
migrate 1
This commit is contained in:
1 parent
c637343593
commit
9839d4eef5
14 files changed
+263
-183
No files matched your search
@@ -0,0 +1,3 @@
|
||||
export function classNames(...classes: (string | undefined)[]) {
|
||||
return classes.filter(Boolean).join(" ");
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import type * as colors from "@radix-ui/colors";
|
||||
|
||||
const ignoreEndings = ["A", "P3", "Dark", "DarkA", "DarkP3"] as const;
|
||||
|
||||
export type Color = Exclude<
|
||||
keyof typeof colors,
|
||||
`${string}${(typeof ignoreEndings)[number]}` | "__esModule"
|
||||
>;
|
||||
|
||||
export type ColorWithBW = Color | "black" | "white";
|
||||
Reference in new issue
Block a user