Skip to content

Commit

Permalink
chore: Theme.ts를 대문자 파일명으로 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakyeonko3 committed Aug 25, 2024
1 parent 011d2d8 commit 89d05e8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ pre-commit:
glob: '*.{js,ts,jsx,tsx,json,yaml,md}'
run: npm run prettier {staged_files}
type-check:
glob: '*.{ts,tsx}'
run: npm run typecheck {staged_files}
run: npm run type-check
# rubocop:
# tags: backend style
# glob: "*.rb"
Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';

import GlobalStyles from '@/styles/GlobalStyles';
import theme from '@/styles/theme.ts';
import theme from '@/styles/Theme.ts';

import App from './App.tsx';

Expand Down
2 changes: 1 addition & 1 deletion src/styles/GlobalStyles.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css, Global } from '@emotion/react';

import theme from '@/styles/theme';
import theme from '@/styles/Theme';

const GlobalStyles = () => {
return <Global styles={baseStyles} />;
Expand Down
2 changes: 1 addition & 1 deletion src/types/emotion.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@emotion/react';
import { ColorsType, FontSizeType } from '@/styles/theme';
import { ColorsType, FontSizeType } from '@/styles/Theme';

declare module '@emotion/react' {
export interface Theme {
Expand Down

0 comments on commit 89d05e8

Please sign in to comment.