From 7eef970965007fb8b088acee064175c6d9816a04 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 22 Feb 2025 14:45:33 -0600 Subject: [PATCH] Finalize frost colors --- app/admin/recipe/page.tsx | 22 +++++++++++----------- src/components/Badge.tsx | 2 +- src/photo/PhotoRecipe.tsx | 11 ++++++----- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/app/admin/recipe/page.tsx b/app/admin/recipe/page.tsx index 2237b8a0..af6cbb9f 100644 --- a/app/admin/recipe/page.tsx +++ b/app/admin/recipe/page.tsx @@ -7,7 +7,17 @@ export default async function AdminRecipePage() { const { filmSimulation } = photosHidden[0]; const { fujifilmRecipe } = photosHidden[0]; return ( -
+
+ {photos.map(photo => + , + )} - {photos.map(photo => - , - )}
); } diff --git a/src/components/Badge.tsx b/src/components/Badge.tsx index 4b2a936b..ddd98811 100644 --- a/src/components/Badge.tsx +++ b/src/components/Badge.tsx @@ -33,7 +33,7 @@ export default function Badge({ contrast === 'high' ? 'text-invert bg-invert' : contrast === 'frosted' - ? 'text-black bg-white/30 border border-white/20' + ? 'text-black bg-neutral-100/30 border border-neutral-200/40' : 'text-medium bg-gray-300/30 dark:bg-gray-700/50', interactive && (contrast === 'high' ? 'hover:opacity-70' diff --git a/src/photo/PhotoRecipe.tsx b/src/photo/PhotoRecipe.tsx index fcd17ea9..7f10dd95 100644 --- a/src/photo/PhotoRecipe.tsx +++ b/src/photo/PhotoRecipe.tsx @@ -61,8 +61,9 @@ export default function PhotoRecipe({ className?: string, ) => (
@@ -80,7 +81,7 @@ export default function PhotoRecipe({ 'w-[18rem] self-start', 'p-3', 'rounded-lg shadow-2xl', - 'bg-white/60 backdrop-blur-xl border border-white/30', + 'bg-white/60 backdrop-blur-xl border border-neutral-200/30', 'space-y-3', 'text-[13px] text-black', 'saturate-200', @@ -135,7 +136,7 @@ export default function PhotoRecipe({ : grainEffect?.roughness === 'weak' ? 'Wk' : 'OFF'} - {' / '} + {'/'} {grainEffect?.size === 'large' ? 'LG' : grainEffect?.size === 'small' @@ -143,7 +144,7 @@ export default function PhotoRecipe({ , 'Grain', )} - {renderDataSquare(bwAdjustment, 'BW')} + {renderDataSquare(bwAdjustment, 'BW ADJ')} {renderDataSquare(bwMagentaGreen, 'BW M/G')} )}