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

Commit

Permalink
Merge pull request #477 from gluestack/fix/opacity-tokenization
Browse files Browse the repository at this point in the history
fix: opacity tokenization
  • Loading branch information
ankit-tailor authored Oct 16, 2023
2 parents 5c24197 + f51a303 commit 86af071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit 86af071

Please sign in to comment.