This commit is contained in:
@@ -25,7 +25,7 @@ function resolveTailwindToneColor(tone: string | undefined): string | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
const colorSource = tailwindColors as Record<string, unknown>;
|
||||
const colorSource = tailwindColors as unknown as Record<string, unknown>;
|
||||
const lastDashIndex = normalizedTone.lastIndexOf('-');
|
||||
|
||||
if (lastDashIndex === -1) {
|
||||
|
||||
Reference in New Issue
Block a user