From cfbd21d8437d508b32f6dece87259776931ad7e2 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Fri, 29 Nov 2024 19:59:29 +0000 Subject: [PATCH] feat: some more koikatsu (#56) ### Explanation _No response_ ### Issue _No response_ ### Attestations - [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [ ] I have pinned the dependencies to a specific patch version. ### Style - [ ] I have run the linter and resolved any errors. - [ ] My pull request uses an appropriate title, matching the conventional commit standards. - [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [ ] My contribution adds new code, and I have added tests to cover it. - [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [ ] All new and existing tests pass locally with my changes. - [ ] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning _No response_ Reviewed-on: https://codeberg.org/nhcarrigan/portfolio/pulls/56 Co-authored-by: Naomi Carrigan Co-committed-by: Naomi Carrigan --- src/app/page.tsx | 6 +++--- src/config/Koikatsu.ts | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index dab2f60..ce35214 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,9 +51,9 @@ const adjustColorLuminosity const generateColorPair = (): { background: string; color: string } => { const backgroundColor = generateRandomColor(); const backgroundLuminance = getLuminance(backgroundColor); - const textColor = backgroundLuminance > 0.5 ? - adjustColorLuminosity(backgroundColor, 0) : - adjustColorLuminosity(backgroundColor, 5); + const textColor = backgroundLuminance > 0.5 + ? adjustColorLuminosity(backgroundColor, 0) + : adjustColorLuminosity(backgroundColor, 5); return { background: backgroundColor, diff --git a/src/config/Koikatsu.ts b/src/config/Koikatsu.ts index 083a579..5b8b4b1 100644 --- a/src/config/Koikatsu.ts +++ b/src/config/Koikatsu.ts @@ -30,4 +30,11 @@ export const Koikatsu = [ "CharaStudio-2024-11-18-10-27-48-Render.png", "CharaStudio-2024-11-18-10-29-25-Render.png", "CharaStudio-2024-11-18-10-30-05-Render.png", + "CharaStudio-2024-11-22-19-12-18-Render.png", + "CharaStudio-2024-11-22-19-13-00-Render.png", + "CharaStudio-2024-11-22-19-13-44-Render.png", + "CharaStudio-2024-11-22-19-15-24-Render.png", + "CharaStudio-2024-11-22-19-16-16-Render.png", + "CharaStudio-2024-11-22-19-16-51-Render.png", + "CharaStudio-2024-11-28-11-11-56-Render.png", ];