Skip to content

Commit

Permalink
feat: rename object key name from theme to semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
sungik-choi committed Dec 16, 2024
1 parent 1b531a9 commit 4e3812b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export { useTokenContext as useAlphaTokenContext }
const tokenSet: Record<ThemeName, ThemeSpecificTokens> = Object.freeze({
light: {
global: tokens.global,
theme: tokens.lightTheme,
semantic: tokens.lightTheme,
},
dark: {
global: tokens.global,
theme: tokens.darkTheme,
semantic: tokens.darkTheme,
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {

export interface ThemeSpecificTokens {
global: GlobalToken
theme: SemanticToken
semantic: SemanticToken
}

export interface TokenContextValue {
Expand Down

0 comments on commit 4e3812b

Please sign in to comment.