From d73c2d49f073504149812200248eb29a60478609 Mon Sep 17 00:00:00 2001 From: Miguel Romero Karam Date: Tue, 4 Jun 2024 00:59:54 +0200 Subject: [PATCH] 0.5.52 --- lib/cli/src/version.ts | 2 +- lib/plugins/unocss/preset-shadcn/mod.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cli/src/version.ts b/lib/cli/src/version.ts index a2df21bb..c929ccc4 100644 --- a/lib/cli/src/version.ts +++ b/lib/cli/src/version.ts @@ -1,5 +1,5 @@ // latest version of netzo/cli (see https://github.com/netzo/netzo/releases) -export const VERSION = "0.5.51"; +export const VERSION = "0.5.52"; // minimum version of Deno required to run this CLI // (see https://github.com/denoland/deployctl/blob/main/src/version.ts) diff --git a/lib/plugins/unocss/preset-shadcn/mod.ts b/lib/plugins/unocss/preset-shadcn/mod.ts index d97f1019..0f6c453c 100644 --- a/lib/plugins/unocss/preset-shadcn/mod.ts +++ b/lib/plugins/unocss/preset-shadcn/mod.ts @@ -969,6 +969,8 @@ export function presetShadcn(options: PresetShadcnOptions = {}): Preset { "data-[side=right]:slide-in-from-left-2", "data-[side=top]:slide-in-from-bottom-2", ], + // destructive button: + ...['inline-flex', 'items-center', 'justify-center', 'whitespace-nowrap', 'font-medium', 'transition-colors', 'focus-visible:outline-none', 'focus-visible:ring-1', 'focus-visible:ring-ring', 'disabled:pointer-events-none', 'disabled:opacity-50', 'bg-destructive', 'text-destructive-foreground', 'shadow-sm', 'hover:bg-opacity-90', 'h-8', 'rounded-md', 'px-3', 'text-xs', 'mx-2'] ]), ],