Skip to content

Commit 5675a06

Browse files
committed
add colors to labels and clear color (primaryLabel is in b8d072)
1 parent b8d072e commit 5675a06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/colors/platform.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {PlatformColor, Platform, OpaqueColorValue} from 'react-native'
88
* Note: Android has issues with borderBottomColor of a view managed by RCTView
99
* com.facebook.react.bridge.ReadableNativeMap cannot be cast to java.lang.Integer
1010
*
11-
* @todo: Replace this constant and make the necessary changes to align with
11+
* @todo: Replace these constants and make the necessary changes to align with
1212
* Material You color palette. This issue is being tracked over at
1313
* https://github.com/StoDevX/AAO-React-Native/issues/6919
1414
*/
@@ -37,7 +37,7 @@ export const label = Platform.select({
3737
*/
3838
export const secondaryLabel = Platform.select({
3939
ios: PlatformColor('secondaryLabel'),
40-
android: TEMP_ANDROID_PLACEHOLDER,
40+
android: PlatformColor('@android:color/secondary_text_light'),
4141
})
4242

4343
/**
@@ -49,7 +49,7 @@ export const secondaryLabel = Platform.select({
4949
*/
5050
export const tertiaryLabel = Platform.select({
5151
ios: PlatformColor('tertiaryLabel'),
52-
android: TEMP_ANDROID_PLACEHOLDER,
52+
android: PlatformColor('@android:color/tertiary_text_light'),
5353
})
5454

5555
/**
@@ -430,7 +430,7 @@ export const systemGray6 = Platform.select({
430430
*/
431431
export const clear = Platform.select({
432432
ios: PlatformColor('clear'),
433-
android: TEMP_ANDROID_PLACEHOLDER,
433+
android: PlatformColor('@android:color/transparent'),
434434
})
435435

436436
export const androidLightBackground = 'rgb(244, 244, 244)'

0 commit comments

Comments
 (0)