Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: export Theme type from root (#3125)"
This reverts commit 0531faa.
- Loading branch information
1 parent
322c87e
commit c0754d9
Showing
8 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Theme } from "../../defaultTheme"; | ||
import { ThemeShape } from "../../defaultTheme"; | ||
|
||
declare const useTheme: () => Theme; | ||
declare const useTheme: () => ThemeShape; | ||
|
||
export { useTheme, useTheme as default }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { ThemeProps } from "../../defaultTheme"; | ||
import { ThemeType } from "../../defaultTheme"; | ||
|
||
export type TransitionDuration = "slow" | "normal" | "fast"; | ||
|
||
export declare const transition: ( | ||
export declare const Transition: ( | ||
properties: string[], | ||
duration: TransitionDuration, | ||
timingFunction: string, | ||
) => (options: ThemeProps) => string | null; | ||
) => (theme: ThemeType) => string | null; | ||
|
||
export default transition; | ||
export default Transition; |