diff --git a/app/src/components/ThemeSamplePage.js b/app/src/components/ThemeSamplePage.js index 80083a7e..fc898fd9 100644 --- a/app/src/components/ThemeSamplePage.js +++ b/app/src/components/ThemeSamplePage.js @@ -398,7 +398,7 @@ export function ThemeSamplePage() { />)}
- The top edge carries the file type's colour, so a grid of results is + The bottom edge carries the file type's colour, so a grid of results is scannable by kind before any title is read. It comes from a token, so night and amber render the accent in their own single hue rather than four.
diff --git a/app/src/components/ui/Surfaces.tsx b/app/src/components/ui/Surfaces.tsx index 7389727e..1951aa99 100644 --- a/app/src/components/ui/Surfaces.tsx +++ b/app/src/components/ui/Surfaces.tsx @@ -148,7 +148,8 @@ export function Card({media, title, meta, children, onClick, color, className}: flexDirection: 'column', // An accent edge rather than a tinted surface: the design rules keep surfaces // flat, and a 3px edge survives night mode without becoming a bright patch. - borderTop: color ? `3px solid var(--${color})` : undefined, + // Along the bottom, where it does not compete with the poster's top edge. + borderBottom: color ? `3px solid var(--${color})` : undefined, }} > {media &&