From 5c20b65413ef376ab745f45b00301d7e730e7b37 Mon Sep 17 00:00:00 2001 From: Jens Mohrmann Date: Sun, 21 Dec 2025 22:08:01 +0100 Subject: [PATCH] tweak fretboard --- src/components/FretboardHint.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/FretboardHint.tsx b/src/components/FretboardHint.tsx index 53a2235..1232828 100644 --- a/src/components/FretboardHint.tsx +++ b/src/components/FretboardHint.tsx @@ -64,7 +64,7 @@ export function FretboardHint({ tuning, positions, maxFrets = 15 }: FretboardHin y={paddingY} width={width - (paddingX * 2) - nutWidth} height={height - (paddingY * 2)} - fill="#4a3e35" // Dark wood color + fill="#999999" // Requested dark gray stroke="none" /> @@ -74,7 +74,7 @@ export function FretboardHint({ tuning, positions, maxFrets = 15 }: FretboardHin y={paddingY} width={nutWidth} height={height - (paddingY * 2)} - fill="#ddd" // Bone/plastic color + fill="#333" // Dark nut /> {/* Fret Markers (Dots) on fretboard */} @@ -87,14 +87,14 @@ export function FretboardHint({ tuning, positions, maxFrets = 15 }: FretboardHin // Draw two dots return ( - - + + ); } return ( - + ); })} @@ -109,8 +109,8 @@ export function FretboardHint({ tuning, positions, maxFrets = 15 }: FretboardHin y1={paddingY} x2={x} y2={height - paddingY} - stroke="#silver" - strokeWidth={2} + stroke="#CCCCCC" // Lighter frets + strokeWidth={1} /> ); })} @@ -120,7 +120,8 @@ export function FretboardHint({ tuning, positions, maxFrets = 15 }: FretboardHin const y = getStringY(i); // i=0 is LOW pitch (thickest). - const visualThickness = 3 - (i * 0.3); // 0 -> 3, 5 -> 1.5 + // Bolder: Increase base thick + const visualThickness = 4 - (i * 0.4); // 4 down to ~2 return ( ); })}