From cb6a81715a81d759f99e87e4985513bf4cfb3bac Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Wed, 24 Jul 2024 17:58:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(boxes)=20screen=20boxes=20are=20no?= =?UTF-8?q?t=20at=20all=20boxes=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is meant to be updated soon, it's not ideal at all. This Screen/Box stuff is really meh anyway, needs some rework. --- src/frontend/panda.config.ts | 2 +- src/frontend/src/primitives/Box.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/panda.config.ts b/src/frontend/panda.config.ts index c62eb20a..41ba16a9 100644 --- a/src/frontend/panda.config.ts +++ b/src/frontend/panda.config.ts @@ -166,7 +166,7 @@ const config: Config = { colors: { default: { text: { value: '{colors.gray.900}' }, - bg: { value: '{colors.slate.50}' }, + bg: { value: 'white' }, subtle: { value: '{colors.gray.100}' }, 'subtle-text': { value: '{colors.gray.600}' }, }, diff --git a/src/frontend/src/primitives/Box.tsx b/src/frontend/src/primitives/Box.tsx index 7c06f1f7..46c15f8f 100644 --- a/src/frontend/src/primitives/Box.tsx +++ b/src/frontend/src/primitives/Box.tsx @@ -16,6 +16,8 @@ const box = cva({ width: '38rem', maxWidth: '100%', textAlign: 'center', + borderColor: 'transparent', + paddingY: 0, }, popover: { padding: 'boxPadding.xs',