Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

fix: opacity tokenization #477

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/react/src/propertyTokenMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export const propertyTokenMap = {
shadowColor: colors,

shadowOpacity: opacity,
opacity: opacity,

shadow: shadows,
// Media Query
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface Tokens {
breakpoints?: { [key: GenericKey]: Record<string, any> & {} };
mediaQueries?: { [key: GenericKey]: Record<string, any> & {} };
letterSpacings?: { [key: GenericKey]: Record<string, any> & {} };
opacity?: { [key: GenericKey]: Record<string, any> & {} };
lineHeights?: { [key: GenericKey]: any };
fontWeights?: { [key: GenericKey]: any };
fonts?: { [key: GenericKey]: any };
Expand Down