Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit a50a1d9

Browse files
committed
feat(theme): add cssVarPrefix to config of theme
1 parent 4d2d04a commit a50a1d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/theme/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export type ColorMode = "light" | "dark"
77
export interface ColorModeOptions {
88
initialColorMode?: ColorMode
99
useSystemColorMode?: boolean
10+
cssVarPrefix?: string
1011
}
1112

1213
/**
@@ -15,6 +16,7 @@ export interface ColorModeOptions {
1516
const config: ColorModeOptions = {
1617
useSystemColorMode: false,
1718
initialColorMode: "light",
19+
cssVarPrefix: "chakra",
1820
}
1921

2022
export const theme = {

0 commit comments

Comments
 (0)