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

Commit 077248e

Browse files
committed
Merge branch 'develop' of github.com:chakra-ui/chakra-ui-vue-next into fix/global-styles-syncing
2 parents 3990c8f + 54cdf25 commit 077248e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/forty-bulldogs-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chakra-ui/vue-theme": minor
3+
---
4+
5+
add cssVarPrefix with charka as default to theme config

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)