Skip to content

Commit

Permalink
chore: 기존 컬러 상수 라이브러리로 대체
Browse files Browse the repository at this point in the history
  • Loading branch information
solar3070 committed Oct 22, 2023
1 parent dbd1199 commit 4808c92
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 87 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer/OriginFooter/style.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
import { colors } from '@src/lib/styles/colors';
import { colors } from '@sopt-makers/colors';

export const Root = styled.footer`
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Mobile/HeaderMenu.style.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import styled from '@emotion/styled';
import { colors } from '@sopt-makers/colors';
import Link from 'next/link';
import { css } from '@emotion/react';
import { FadeIn, FadeInDown, FadeOut, FadeOutUp } from '@src/lib/styles/animation';
import { colors } from '@src/lib/styles/colors';

type MenuType = 'idle' | 'open' | 'close';

Expand Down
4 changes: 2 additions & 2 deletions src/components/common/RoundButton/RoundButton.style.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
import { colors } from '@src/lib/styles/colors';
import { colors } from '@sopt-makers/colors';

interface StyleProps {
isReverse?: boolean;
Expand All @@ -14,7 +14,7 @@ export const Root = styled.button<StyleProps>`
border-radius: 99px;
background: ${colors.gray10};
color: ${colors.gray900};
color: ${colors.gray950};
font-size: 24px;
font-weight: 600;
line-height: 150%; /* 36px */
Expand Down
79 changes: 0 additions & 79 deletions src/lib/styles/colors.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import styled from '@emotion/styled';
import { colors } from '@sopt-makers/colors';
import { useRouter } from 'next/router';
import { Header } from '@src/components';
import RoundButton from '@src/components/common/RoundButton';
import { colors } from '@src/lib/styles/colors';

function Wrong() {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion src/views/ReviewPage/components/Description/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
import { colors } from '@src/lib/styles/colors';
import { colors } from '@sopt-makers/colors';

const Description = () => {
return <Title>SOPT 회원들의 활동 후기</Title>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from '@emotion/styled';
import { colors } from '@sopt-makers/colors';
import { css } from '@emotion/react';
import { ArrowDownAnimation, ArrowUpAnimation } from '@src/lib/styles/animation';
import { colors } from '@src/lib/styles/colors';

interface ButtonStyleProps {
isOpened: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/views/SopticlePage/components/Description/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
import { colors } from '@src/lib/styles/colors';
import { colors } from '@sopt-makers/colors';

const Description = () => {
return <Title>솝티클</Title>;
Expand Down

0 comments on commit 4808c92

Please sign in to comment.