Replace all:unset with explicit button/input resets across Foundry UI (#237)

Styletron's generated stylesheet ordering makes all:unset unreliable —
it can override font-size, border-radius, and background unpredictably.
Replace with appearance:none + targeted resets and clean up duplicate
CSS properties introduced during iterative fixes.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nicholas Kissel 2026-03-11 11:04:20 -07:00 committed by GitHub
parent e03484848e
commit 302bc7b674
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 158 additions and 154 deletions

View file

@ -130,7 +130,13 @@ export const TabStrip = memo(function TabStrip({
}
}}
className={css({
all: "unset",
appearance: "none",
WebkitAppearance: "none",
background: "none",
border: "none",
padding: "0",
margin: "0",
outline: "none",
minWidth: "72px",
maxWidth: "180px",
fontSize: "11px",