Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f9a9c89e4f | |||
| 6ba98fa6b6 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@panic/web-ui",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"license": "AGPL-3.0-only",
|
||||
"description": "Core components for panic.haus web applications",
|
||||
"type": "module",
|
||||
|
||||
@@ -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