Skip to content

Commit

Permalink
fix: 타입 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn2468 committed Jan 27, 2024
1 parent 5c3938b commit e90f7ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions apps/preview/src/emotion.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import '@emotion/react';

import { palette, typo, breakpoint } from '@boolti/ui';

declare module '@emotion/react' {
export interface Theme {
palette: typeof palette;
typo: typeof typo;
breakpoint: typeof breakpoint;
}
}
3 changes: 2 additions & 1 deletion packages/ui/src/systems/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import typo from './typo';
import palette from './palette';
import breakpoint from './breakpoint';

export { typo, palette };
export { typo, palette, breakpoint };

0 comments on commit e90f7ca

Please sign in to comment.