Skip to content

Commit bbb7009

Browse files
committed
feat: update SerializedPartStatusChip and AddSerializedPartDialog styles for improved visibility and consistency
1 parent b773ea4 commit bbb7009

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ichub-frontend/src/features/catalog-management/components/product-detail/SerializedPartStatusChip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const getStatusStyle = (status: StatusVariants): ChipStyle => {
4040
switch (status) {
4141
case StatusVariants.registered:
4242
return {
43-
color: 'rgb(255, 255, 255)',
44-
backgroundColor: 'rgba(40, 104, 255, 0.8)', // More visible blue background
43+
color: 'rgba(0, 0, 0, 1)!important',
44+
backgroundColor: 'rgba(255, 255, 255, 0.8)', // More visible blue background
4545
border: '2px solid rgba(40, 104, 255, 1)',
4646
};
4747
case StatusVariants.shared:

ichub-frontend/src/features/serialized-parts/components/AddSerializedPartDialog.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,9 @@ interface AddSerializedPartDialogProps {
711711
sx={{
712712
minWidth: '100px',
713713
textTransform: 'none',
714-
fontWeight: 500
714+
fontWeight: 500,
715+
color: '#1976d2',
716+
borderColor: '#1976d2'
715717
}}
716718
>
717719
Back
@@ -726,7 +728,9 @@ interface AddSerializedPartDialogProps {
726728
sx={{
727729
minWidth: '100px',
728730
textTransform: 'none',
729-
fontWeight: 500
731+
fontWeight: 500,
732+
color: '#1976d2',
733+
borderColor: '#1976d2'
730734
}}
731735
>
732736
Back

0 commit comments

Comments
 (0)