From 46fdbd423cbc6599359146e19d70c70f19b9179d Mon Sep 17 00:00:00 2001 From: Eugene Toder Date: Sat, 2 May 2026 11:08:38 -0400 Subject: [PATCH] Improve stripes for small cards --- public/index.html | 17 +++++++++++++++++ src/components/SetCard.js | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index c2d149e..87ee4c3 100644 --- a/public/index.html +++ b/public/index.html @@ -63,6 +63,14 @@ > + + + + + + ({ const SHAPES = ["squiggle", "oval", "diamond", "hourglass"]; const MASKS = ["", "", "url(#mask-stripes)", "url(#mask-checkers)"]; +const MASKS_SMALL = ["", "", "url(#mask-stripes-small)", "url(#mask-checkers)"]; function Symbol(props) { const classes = useStyles(); const color = props.color; const shape = SHAPES[props.shape]; const shade = props.shade; - const width = props.size === "sm" ? 7.1 : 33.6; + const width = props.size === "sm" ? 7.3 : 33.6; + const masks = props.size === "sm" ? MASKS_SMALL : MASKS; return ( {shade !== 1 && ( - + )}