Skip to content

Commit

Permalink
1.1.3
Browse files Browse the repository at this point in the history
Fix theme types
  • Loading branch information
hyochan committed Jan 18, 2025
1 parent a02abe7 commit 2b52718
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "expo-template-cpk",
"description": "An Expo template with router by Cross-Platform Korea",
"version": "1.1.2",
"version": "1.1.3",
"main": "expo-router/entry",
"scripts": {
"start": "expo start",
Expand Down
6 changes: 3 additions & 3 deletions src/styled.d.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import '@emotion/react';
import type {DoobooTheme as DoobooUiTheme} from 'cpk-ui';
import type {CustomAppTheme} from './theme';
import {CSSObject} from '@emotion/react';
import {StyleProp, ViewStyle} from 'react-native';
import {CpkTheme} from 'cpk-ui/utils/theme';

type AllTheme = CustomAppTheme & DoobooUiTheme;
type AllTheme = CustomAppTheme & CpkTheme;

declare module '@emotion/react' {
export interface Theme extends AllTheme {}
}

declare module 'cpk-ui' {
export interface DoobooUiTheme extends AllTheme {}
export interface CpkTheme extends AllTheme {}
}

declare module '@emotion/native' {
Expand Down

0 comments on commit 2b52718

Please sign in to comment.