feat: new dynamic system

This commit is contained in:
TrèsAbhi committed 2024-08-08 14:18:22 -05:00
1 parent e8b8b19332
commit 94623c43eb
17 files changed
+895 -832

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import { EmbedConfigItem } from '.';
export enum EmbedItemType {
Number,
Radius,
Size,
SizeWithout0,
Color,
String,
RichText,
Boolean,
Slider,
}
export const radixGrays = [
'gray',
'mauve',
'slate',
'sage',
'olive',
'sand',
] as const;
export const radixTextWeights = ['light', 'regular', 'medium', 'bold'] as const;
export type EmbedConfigItemType<Type extends EmbedItemType> =
EmbedConfigItem & { type: Type };