From 32a6236a25b69f6be4b36cb6aba870c6dad6c22d Mon Sep 17 00:00:00 2001 From: Elsie Date: Mon, 29 Jul 2024 15:24:32 -0500 Subject: [PATCH] Dynamically swap themes for asciinema (#931) --- client/src/components/AsciinemaFrame.tsx | 5 +++-- client/src/pages/Home.tsx | 11 +++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/client/src/components/AsciinemaFrame.tsx b/client/src/components/AsciinemaFrame.tsx index d3e8efb0..2899b3ca 100644 --- a/client/src/components/AsciinemaFrame.tsx +++ b/client/src/components/AsciinemaFrame.tsx @@ -4,9 +4,10 @@ const AsciinemaFrame: FC<{ id: string autoplay?: boolean loop?: boolean -}> = ({ id, autoplay, loop }) => ( + dark?: boolean +}> = ({ id, autoplay, loop, dark }) => (