chore(badges): hex-only body_text_color + form color picker; renderer default black

This commit is contained in:
Scott Idem
2026-04-08 14:19:48 -04:00
parent 0aa32a5293
commit d5b2b557f3
3 changed files with 40 additions and 27 deletions

View File

@@ -1,4 +1,11 @@
import type { Config } from 'tailwindcss';
// Tailwind's shipped `Config` type may not include the `safelist` option
// depending on the installed types/version. Extend it locally so we can
// use `safelist` without TypeScript errors.
type ConfigWithSafelist = Config & {
safelist?: Array<string | { pattern: RegExp }>;
};
import { skeleton } from '@skeletonlabs/skeleton';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
@@ -40,6 +47,6 @@ const config = {
}
})
]
} satisfies Config;
} satisfies ConfigWithSafelist;
export default config;