Skip to content

Commit

Permalink
Merge pull request #126 from prgrms-fe-devcourse/125-feature/theme-type
Browse files Browse the repository at this point in the history
Feat: styled.d.ts
  • Loading branch information
shlee9999 authored Oct 1, 2024
2 parents 70f56f3 + 7dc0880 commit 9860e51
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/styles/styled.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import 'styled-components';

declare module 'styled-components' {
export interface DefaultTheme {
layout: {
max_width: string;
};
colors: {
black: string;
gray: string;
text_gray: string;
bg_gray: string;
white: string;
primary: string;
text_primary: string;
yellow: string;
silver: string;
bronze: string;
};
border: {
default: string;
};
}
}

0 comments on commit 9860e51

Please sign in to comment.