TableTower/assets/ui/frame_corner.svg
RobinFiredrake f9aa66d74d Beaded card frames and per-card / per-thread colours
CardFrame draws the user's frame_corner/frame_border art around each card,
tiling the bead strip so it fits any size; a small shader recolours the art
to the theme's trim (or the card's own colour). Themes choose the border
(Tarot: beaded, Felt: plain). Cards (RollTable.color) and threads
(TableEntry.pipe_color, JSON "color") can have their own colour from the
inspector's Colour row (presets, Theme, or any colour).

tools/run_tests.sh imports first and prints at most 8 lines per failing suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:20:46 -06:00

11 lines
2.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="200" height="194" viewBox="0 0 200 194">
<!-- Top-left frame corner. Rotate/mirror for the other three.
The dark tabs are 28px wide to line up with frame_border.svg's strip. -->
<g fill="#1c0329">
<rect x="172" y="19" width="28" height="28"/>
<rect x="15" y="170" width="28" height="24"/>
</g>
<path fill="#823c07" d="M123.7,0.8 C133.6,0.8 141.6,1.2 148.7,1.8 C155.7,2.4 161.1,3.4 165.9,4.5 C170.8,5.6 174.7,7.0 177.6,8.5 C180.6,10.0 182.3,11.7 183.6,13.5 C184.9,15.3 185.1,17.3 185.4,19.5 C185.6,21.7 185.4,24.0 185.1,26.4 C184.7,28.9 184.0,31.5 183.1,34.1 C182.1,36.7 181.0,39.3 179.3,42.0 C177.7,44.7 175.8,47.3 173.2,50.0 C170.6,52.7 167.2,55.3 163.5,58.0 C159.8,60.7 155.2,63.3 150.7,66.1 C146.2,68.9 141.4,71.8 136.4,74.8 C131.4,77.8 126.1,80.9 120.8,84.1 C115.5,87.3 109.7,90.7 104.6,94.0 C99.4,97.3 94.3,100.7 89.9,104.0 C85.5,107.3 81.6,110.7 78.2,114.0 C74.9,117.3 72.1,120.7 69.6,124.0 C67.1,127.3 65.2,130.7 63.4,134.0 C61.6,137.3 60.1,140.7 58.8,144.0 C57.4,147.3 56.3,150.7 55.0,153.9 C53.7,157.1 52.6,160.3 51.2,163.2 C49.8,166.1 48.2,168.9 46.6,171.4 C44.9,173.9 43.1,176.1 41.3,178.1 C39.6,180.1 37.9,181.9 36.0,183.4 C34.1,185.0 32.4,186.3 30.2,187.4 C28.0,188.4 25.4,189.2 22.8,189.6 C20.2,190.0 17.1,190.0 14.8,189.6 C12.4,189.2 10.2,188.4 8.8,187.4 C7.3,186.3 6.5,185.0 5.9,183.4 C5.2,181.9 5.1,180.1 4.8,178.1 C4.5,176.1 4.4,173.9 4.2,171.4 C4.1,168.9 3.9,166.1 3.7,163.2 C3.5,160.3 3.2,157.1 3.0,153.9 C2.8,150.7 2.5,147.3 2.3,144.0 C2.1,140.7 1.9,137.3 1.8,134.0 C1.6,130.7 1.4,127.3 1.3,124.0 C1.2,120.7 1.1,117.3 1.0,114.0 C0.9,110.7 0.8,107.3 0.7,104.0 C0.6,100.7 0.4,97.3 0.3,94.0 C0.2,90.7 0.1,87.3 0.1,84.1 C0.0,80.9 0.0,77.8 0.1,74.8 C0.1,71.8 0.2,68.9 0.4,66.1 C0.5,63.3 0.8,60.7 1.0,58.0 C1.2,55.3 1.4,52.7 1.6,50.0 C1.7,47.3 1.6,44.7 1.7,42.0 C1.7,39.3 1.6,36.7 1.8,34.1 C2.0,31.5 2.3,28.9 2.9,26.4 C3.5,24.0 4.1,21.7 5.5,19.5 C6.9,17.3 8.1,15.3 11.5,13.5 C14.9,11.7 18.9,10.0 25.8,8.5 C32.6,7.0 42.2,5.6 52.8,4.5 C63.3,3.4 77.4,2.4 89.2,1.8 C101.0,1.2 113.8,0.8 123.7,0.8 Z"/>
<!-- Inner groove -->
<path fill="#662c00" d="M166.0,54.0 C162.5,53.2 154.3,50.3 145.0,49.5 C135.7,48.7 120.8,49.0 110.0,49.0 C99.2,49.0 88.0,49.3 80.0,49.5 C72.0,49.7 66.3,49.6 62.0,50.0 C57.7,50.4 56.2,50.7 54.0,52.0 C51.8,53.3 50.1,55.0 49.0,58.0 C47.9,61.0 47.9,63.0 47.5,70.0 C47.1,77.0 46.8,88.3 46.5,100.0 C46.2,111.7 45.6,130.0 45.5,140.0 C45.4,150.0 45.7,154.7 46.0,160.0 C46.3,165.3 47.2,170.0 47.5,172.0 C48.0,170.3 49.6,167.3 50.5,162.0 C51.4,156.7 52.4,148.7 53.0,140.0 C53.6,131.3 53.7,120.0 54.0,110.0 C54.3,100.0 54.8,87.3 55.0,80.0 C55.2,72.7 55.2,69.0 55.5,66.0 C55.8,63.0 55.9,62.8 57.0,62.0 C58.1,61.2 54.8,61.2 62.0,61.0 C69.2,60.8 88.0,61.1 100.0,61.0 C112.0,60.9 125.3,60.9 134.0,60.5 C142.7,60.1 146.7,59.6 152.0,58.5 C157.3,57.4 163.7,54.8 166.0,54.0 Z"/>
</svg>