Update [slug].png.ts de8b950b
Steve Simkins · 2024-09-02 18:34 1 file(s) · +2 −2
src/pages/og-image/[slug].png.ts +2 −2
36 36
};
37 37
38 38
const markup = (title: string, pubDate: string, description: string) => html`<div
39 -
	tw="flex flex-col w-full h-full bg-[#121212] text-[#C1C1C1]"
39 +
	tw="flex flex-col w-full h-full bg-[#000000] text-[#ffffff]"
40 40
>
41 41
	<div tw="flex flex-col flex-1 w-full p-10 justify-center">
42 42
		<p tw="text-2xl mb-6">${pubDate}</p>
43 43
		<h1 tw="text-6xl font-bold leading-snug text-white">${title}</h1>
44 44
		<h2 tw="text-2xl font-bold leading-snug text-white">${description}</h2>
45 45
	</div>
46 -
	<div tw="flex items-center justify-between w-full p-10 border-t border-[#FBCB96] text-xl">
46 +
	<div tw="flex items-center justify-between w-full p-10 border-t border-[#ffffff] text-xl">
47 47
		<div tw="flex items-center">
48 48
			<svg height="60" viewBox="0 0 467 433" fill="none" xmlns="http://www.w3.org/2000/svg">
49 49
				<path