From b939a0af2ddf0c5dcdf5dea8e339e3baa89cd49b Mon Sep 17 00:00:00 2001 From: Dominic Elm Date: Thu, 15 Aug 2024 07:30:29 +0200 Subject: [PATCH] chore: disable css shorthand to avoid conflicts --- packages/bolt/uno.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/bolt/uno.config.ts b/packages/bolt/uno.config.ts index 7f99b1a..664d058 100644 --- a/packages/bolt/uno.config.ts +++ b/packages/bolt/uno.config.ts @@ -104,6 +104,13 @@ export default defineConfig({ kdb: 'bg-bolt-elements-code-background text-bolt-elements-code-text py-1 px-1.5 rounded-md', 'max-w-chat': 'max-w-[var(--chat-max-width)]', }, + rules: [ + /** + * This shorthand doesn't exist in Tailwind and we overwrite it to avoid + * any conflicts with minified CSS classes. + */ + ['b', {}], + ], theme: { colors: { ...COLOR_PRIMITIVES,