Skip to content

Commit

Permalink
Bump tokens version to 0.5.0. Fix Dark Mode primary presesd color
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Feb 5, 2024
1 parent ea71992 commit 5d164c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"homepage": "https://department-of-veterans-affairs.github.io/va-mobile-library",
"dependencies": {
"@department-of-veterans-affairs/mobile-assets": "0.1.1",
"@department-of-veterans-affairs/mobile-tokens": "0.4.0",
"@department-of-veterans-affairs/mobile-tokens": "0.5.0",
"@os-team/i18next-react-native-language-detector": "^1.0.28",
"i18next": "^23.4.3",
"react-i18next": "^13.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const Button: React.FC<ButtonProps> = ({

if (isDarkMode) {
bgColor = Colors.uswdsBlueVivid30
bgColorPressed = Colors.PrimaryAltLightest
bgColorPressed = Colors.primaryAltLightest
textColor = Colors.black
textColorPressed = Colors.black
}
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2906,7 +2906,7 @@ __metadata:
"@babel/preset-env": "npm:^7.22.15"
"@babel/preset-typescript": "npm:^7.22.15"
"@department-of-veterans-affairs/mobile-assets": "npm:0.1.1"
"@department-of-veterans-affairs/mobile-tokens": "npm:0.4.0"
"@department-of-veterans-affairs/mobile-tokens": "npm:0.5.0"
"@expo/webpack-config": "npm:^19.0.0"
"@os-team/i18next-react-native-language-detector": "npm:^1.0.28"
"@react-native-async-storage/async-storage": "npm:1.18.2"
Expand Down Expand Up @@ -2972,10 +2972,10 @@ __metadata:
languageName: unknown
linkType: soft

"@department-of-veterans-affairs/mobile-tokens@npm:0.4.0":
version: 0.4.0
resolution: "@department-of-veterans-affairs/mobile-tokens@npm:0.4.0"
checksum: 8cb1f9ecb9f8e653f486208fc0ea5e1064f5b547aad04bd1314c250f434e3803536db98b3d03301aeae2a445b097a3146a90eb8bfbdfb02059f0ee95655c4bcf
"@department-of-veterans-affairs/mobile-tokens@npm:0.5.0":
version: 0.5.0
resolution: "@department-of-veterans-affairs/mobile-tokens@npm:0.5.0"
checksum: 55544b15a91ba5e089ca2d6bbf50f807a85a61fa29ba03fa86883d976ebbad65b83a10e8b9ef4ade936591179140e9a1e4f46672d83e3d640804736f89ea4b3a
languageName: node
linkType: hard

Expand Down

0 comments on commit 5d164c4

Please sign in to comment.