Skip to content

Commit 4e3812b

Browse files
committed
feat: rename object key name from theme to semantic
1 parent 1b531a9 commit 4e3812b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/bezier-react/src/components/AlphaTokenProvider/TokenProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export { useTokenContext as useAlphaTokenContext }
2222
const tokenSet: Record<ThemeName, ThemeSpecificTokens> = Object.freeze({
2323
light: {
2424
global: tokens.global,
25-
theme: tokens.lightTheme,
25+
semantic: tokens.lightTheme,
2626
},
2727
dark: {
2828
global: tokens.global,
29-
theme: tokens.darkTheme,
29+
semantic: tokens.darkTheme,
3030
},
3131
})
3232

packages/bezier-react/src/components/AlphaTokenProvider/TokenProvider.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66

77
export interface ThemeSpecificTokens {
88
global: GlobalToken
9-
theme: SemanticToken
9+
semantic: SemanticToken
1010
}
1111

1212
export interface TokenContextValue {

0 commit comments

Comments
 (0)