Skip to content

Commit

Permalink
init: theme 타입 정의 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperdad committed Jul 4, 2024
1 parent e2f7a0c commit 20c5482
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/styles/styled.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "styled-components";
import { ColorType, FontType } from "./theme";

declare module "styled-components" {
export interface DefaultTheme {
colors: ColorType;
fonts: FontType;
}
}

0 comments on commit 20c5482

Please sign in to comment.