Skip to content

Commit

Permalink
Merge pull request #231 from sopt-makers/feat/#230-makers-frontend-li…
Browse files Browse the repository at this point in the history
…brary

[SP2] @sopt-makers/colors 적용
  • Loading branch information
solar3070 authored Oct 22, 2023
2 parents 480f73f + dc197fc commit ef8bb91
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 87 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@amplitude/analytics-browser": "^2.3.0",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@sopt-makers/colors": "^2.2.0",
"@types/qs": "6.9.7",
"axios": "^0.27.2",
"classcat": "^5.0.4",
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 ef8bb91

Please sign in to comment.