From 06e102f64d61a64a60620b5a16dcff8a70e34651 Mon Sep 17 00:00:00 2001 From: Lachlan Archibald Date: Thu, 22 Aug 2024 07:28:51 +1000 Subject: [PATCH 1/2] fix: Skill icons not adjusting with system theme This patch addresses an issue where the skill icons do not change according to the users' system theme preferences in Markdown output. If a skill is missing a separate dark icon, fall back to light icon. --- pages/create-profile.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/create-profile.js b/pages/create-profile.js index 792fab7..c690a2b 100644 --- a/pages/create-profile.js +++ b/pages/create-profile.js @@ -91,16 +91,16 @@ export default function CreateProfile() { <> {category.map((icon) => ( <> - - {icon.darkPath ? ( - <>{`${icon.name}`} - ) : ( - <>{`${icon.name}`} - )} + + {` + + + + + ${icon.name} + + + `} ))} From a6bf753c538f2fc5ebd245b8ee28d20e137be595 Mon Sep 17 00:00:00 2001 From: Lachlan Archibald Date: Fri, 23 Aug 2024 09:05:33 +1000 Subject: [PATCH 2/2] Reduce whitespace in markdown skills section --- pages/create-profile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/create-profile.js b/pages/create-profile.js index c690a2b..929a2f6 100644 --- a/pages/create-profile.js +++ b/pages/create-profile.js @@ -92,8 +92,7 @@ export default function CreateProfile() { {category.map((icon) => ( <> - {` - + {`