From 7498630579b343c94dc3bc6728a08e00b9541e42 Mon Sep 17 00:00:00 2001 From: Joe Bell <7349341+joe-bell@users.noreply.github.com> Date: Sat, 18 Jan 2025 16:07:28 +0200 Subject: [PATCH] docs(beta): tweak examples to use single strings --- .../content/docs/getting-started/polymorphism.mdx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/docs/beta/src/content/docs/getting-started/polymorphism.mdx b/docs/beta/src/content/docs/getting-started/polymorphism.mdx index 4bbcaf3..32f8ca1 100644 --- a/docs/beta/src/content/docs/getting-started/polymorphism.mdx +++ b/docs/beta/src/content/docs/getting-started/polymorphism.mdx @@ -35,18 +35,8 @@ const button = cva({ base: "button", variants: { intent: { - primary: [ - "bg-blue-500", - "text-white", - "border-transparent", - "hover:bg-blue-600", - ], - secondary: [ - "bg-white", - "text-gray-800", - "border-gray-400", - "hover:bg-gray-100", - ], + primary: "bg-blue-500 text-white border-transparent hover:bg-blue-600", + secondary: "bg-white text-gray-800 border-gray-400 hover:bg-gray-100", }, }, defaultVariants: {