Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into feat/#23
  • Loading branch information
hwinkr committed Apr 10, 2023
2 parents 663c884 + 75b5cce commit 88cf4bb
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 23 deletions.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/chore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Chore
about: 간단한 작업 수정 이슈
title: 'Chore'
labels: '⚒️ chore'
---

## 👨‍🔧 버그 수정 사항

<!-- 어떤 작업을 하는지 알려주세요. -->

- [ ] chore-1

## 📖 참고 사항

<!-- 레퍼런스, 스크린샷 등을 넣어 주세요. -->
4 changes: 2 additions & 2 deletions src/styles/ThemeProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ThemeProvider as Provider } from '@emotion/react';
import Global from '@styles/Global';
import { ReactNode } from 'react';

import { theme } from './theme';
import { THEME } from './theme';

interface ThemeProviderProps {
children: ReactNode;
Expand All @@ -12,7 +12,7 @@ const ThemeProvider = ({ children }: ThemeProviderProps) => {
return (
<>
<Global />
<Provider theme={theme}>{children}</Provider>
<Provider theme={THEME}>{children}</Provider>
</>
);
};
Expand Down
22 changes: 11 additions & 11 deletions src/styles/ThemeProvider/theme.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { Theme } from '@emotion/react';

export const theme: Theme = {
background: '#EAEAEA',
export const THEME: Theme = {
BACKGROUND: '#EAEAEA',

text: {
black: '#000000',
gray: '#808080',
white: '#FFFFFF',
TEXT: {
BLACK: '#000000',
GRAY: '#808080',
WHITE: '#FFFFFF',
},

primary: '#71BC5C',
PRIMARY: '#71BC5C',

button: {
green: '#71BC5C',
gray: '#E7E7E7',
BUTTON: {
GREEN: '#71BC5C',
GRAY: '#E7E7E7',
},

modalBackground: 'rgba(0, 0, 0, 0.6)',
MODAL_BACKGROUND: 'rgba(0, 0, 0, 0.6)',
};
20 changes: 10 additions & 10 deletions src/styles/emotion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import '@emotion/react';

declare module '@emotion/react' {
export interface Theme {
background: string; // EAEAEA
text: {
black: string;
gray: string;
white: string;
BACKGROUND: string; // EAEAEA
TEXT: {
BLACK: string;
GRAY: string;
WHITE: string;
};

primary: string; // 71BC5C
PRIMARY: string; // 71BC5C

button: {
green: string;
gray: string;
BUTTON: {
GREEN: string;
GRAY: string;
};

modalBackground: string;
MODAL_BACKGROUND: string;
}
}

0 comments on commit 88cf4bb

Please sign in to comment.