@controleonline/ui-customers 1.0.84 → 1.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -488,10 +488,11 @@ const ClientDetails = ({ route, navigation }) => {
|
|
|
488
488
|
imageUrl={clientAvatarImageUrl}
|
|
489
489
|
name={String(client?.name || '').replace(/\s+/g, ' ').trim()}
|
|
490
490
|
size={64}
|
|
491
|
-
backgroundColor={
|
|
492
|
-
borderColor={
|
|
493
|
-
borderWidth={
|
|
494
|
-
textColor={
|
|
491
|
+
backgroundColor={detailsStyles.listAvatarBrand.backgroundColor}
|
|
492
|
+
borderColor={detailsStyles.listAvatarBrand.borderColor}
|
|
493
|
+
borderWidth={1}
|
|
494
|
+
textColor={detailsStyles.listAvatarText.color}
|
|
495
|
+
iconColor={detailsStyles.listAvatarText.color}
|
|
495
496
|
useGravatar={false}
|
|
496
497
|
usePeopleImage={false}
|
|
497
498
|
/>
|
|
@@ -10,6 +10,8 @@ const resolvePalette = themeColors => ({
|
|
|
10
10
|
cardBorder: themeColors.cardBorder,
|
|
11
11
|
cardText: themeColors.cardText,
|
|
12
12
|
cardIcon: themeColors.cardIcon,
|
|
13
|
+
cardIconBackground: themeColors.cardIconBackground || themeColors.cardBackground,
|
|
14
|
+
cardIconColor: themeColors.cardIconColor || themeColors.cardIcon || themeColors.listItemText,
|
|
13
15
|
cardShadow: themeColors.cardShadow,
|
|
14
16
|
listItemBackground: themeColors.listItemBackground,
|
|
15
17
|
listItemText: themeColors.listItemText,
|
|
@@ -324,12 +326,12 @@ export const createDetailsStyles = themeColors => {
|
|
|
324
326
|
},
|
|
325
327
|
|
|
326
328
|
listAvatarBrand: {
|
|
327
|
-
backgroundColor: palette.
|
|
328
|
-
borderColor: palette.
|
|
329
|
+
backgroundColor: palette.cardIconBackground,
|
|
330
|
+
borderColor: palette.cardBorder || palette.cardIconBackground,
|
|
329
331
|
},
|
|
330
332
|
|
|
331
333
|
listAvatarText: {
|
|
332
|
-
color: palette.
|
|
334
|
+
color: palette.cardIconColor,
|
|
333
335
|
},
|
|
334
336
|
|
|
335
337
|
locationButton: {
|