From f7e5d205b156060d2d06aa17af31007dbb9fc13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=D3=84=D5=A1?= Date: Sat, 18 Jan 2025 20:41:28 +0800 Subject: [PATCH] fix(theme): add missing shadow none (#4587) --- .changeset/stale-bears-wink.md | 5 +++++ packages/core/theme/src/components/modal.ts | 3 +++ packages/core/theme/src/components/popover.ts | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 .changeset/stale-bears-wink.md diff --git a/.changeset/stale-bears-wink.md b/.changeset/stale-bears-wink.md new file mode 100644 index 0000000000..5ca561eefc --- /dev/null +++ b/.changeset/stale-bears-wink.md @@ -0,0 +1,5 @@ +--- +"@heroui/theme": patch +--- + +add missing shadow none (#4586) diff --git a/packages/core/theme/src/components/modal.ts b/packages/core/theme/src/components/modal.ts index 4aeeb471f1..455bbd5a44 100644 --- a/packages/core/theme/src/components/modal.ts +++ b/packages/core/theme/src/components/modal.ts @@ -130,6 +130,9 @@ const modal = tv({ }, }, shadow: { + none: { + base: "shadow-none", + }, sm: { base: "shadow-small", }, diff --git a/packages/core/theme/src/components/popover.ts b/packages/core/theme/src/components/popover.ts index f09f76e83e..663b6a9ad0 100644 --- a/packages/core/theme/src/components/popover.ts +++ b/packages/core/theme/src/components/popover.ts @@ -132,6 +132,9 @@ const popover = tv({ full: {content: "rounded-full"}, }, shadow: { + none: { + content: "shadow-none", + }, sm: { content: "shadow-small", },