From fcbc37e9559e493b769fe19d211494f23a1a4df1 Mon Sep 17 00:00:00 2001 From: hyesung oh Date: Mon, 4 Jul 2022 15:05:55 +0900 Subject: [PATCH] fix Resume contact button bugs (#82) * fix: Resume contact button order * fix: following shadow color to primary color * design: moving resume contact button --- apps/resume/src/components/ContactButton/ContactButton.tsx | 4 ++-- apps/resume/src/pages/_app.tsx | 2 +- packages/core/styles/theme/darkTheme.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/resume/src/components/ContactButton/ContactButton.tsx b/apps/resume/src/components/ContactButton/ContactButton.tsx index 168679de..4042e799 100644 --- a/apps/resume/src/components/ContactButton/ContactButton.tsx +++ b/apps/resume/src/components/ContactButton/ContactButton.tsx @@ -24,8 +24,8 @@ const Div = styled.div` right: 2rem; @media ${config.media.xsMax} { - bottom: 0.5rem; - right: 0.75rem; + bottom: 1rem; + right: 1.25rem; } `; diff --git a/apps/resume/src/pages/_app.tsx b/apps/resume/src/pages/_app.tsx index 63e09086..a6bf9dc3 100644 --- a/apps/resume/src/pages/_app.tsx +++ b/apps/resume/src/pages/_app.tsx @@ -25,8 +25,8 @@ export default function ResumeApp({ Component, pageProps }: AppProps) { <KbarComponent /> - <ContactButton /> <Component {...pageProps} /> + <ContactButton /> </KBarProvider> </NextUIProvider> </NextThemesProvider> diff --git a/packages/core/styles/theme/darkTheme.ts b/packages/core/styles/theme/darkTheme.ts index fcbbbb2a..a73e62de 100644 --- a/packages/core/styles/theme/darkTheme.ts +++ b/packages/core/styles/theme/darkTheme.ts @@ -10,6 +10,7 @@ export const darkTheme = createTheme({ selection: getColor(darkSelection, theme.colors.selection.value), code: getColor(darkCode, theme.colors.code.value), codeLight: getColor(darkCodeLight, theme.colors.codeLight.value), + primaryShadow: getColor(darkPrimary, theme.colors.primary.value), }, }, });