Commit 0688c907 by PLN (Algolia)

404: fix dead boot (stray bootedRef ReferenceError killed every sketch since the…

404: fix dead boot (stray bootedRef ReferenceError killed every sketch since the code-curtain commit), difference-blend the bottom bar over the artwork
parent f95bb6f2
......@@ -111,7 +111,6 @@ export default function NotFoundHydra({ sketches }) {
height: h,
});
instance.eval(sanitize(piece.source));
bootedRef.current.push(piece);
setCurrent(piece);
return true;
} catch (ex) {
......@@ -176,10 +175,10 @@ export default function NotFoundHydra({ sketches }) {
};
const barLink = {
color: 'var(--text-muted)',
color: '#e8e8f0',
textDecoration: 'none',
fontSize: '0.75rem',
opacity: 0.55,
opacity: 0.6,
};
return (
......@@ -210,6 +209,10 @@ export default function NotFoundHydra({ sketches }) {
justifyContent: 'space-between',
alignItems: 'baseline',
fontFamily: 'var(--font-mono, monospace)',
// difference blend: white stays white over the dark void, flips
// negative where the work behind runs bright — readable always
mixBlendMode: 'difference',
color: '#e8e8f0',
}}
>
<a href="/" onClick={(e) => e.stopPropagation()} style={barLink}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment