Skip to content

Commit

Permalink
feat: new labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillermo Angeles committed Apr 30, 2024
1 parent 0794be2 commit 0e3570a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Input/InputImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Cell = styled.div`
cursor: pointer;
gap: 12px;
padding: 12px 24px;
:hover {
&:hover {
background-color: ${Color.surface.background};
}
`
Expand All @@ -64,7 +64,7 @@ const CaptureButton = styled.div`
background-color: white;
cursor: pointer;
margin-top: 8px;
:hover{
&:hover{
background-color: ${Color.surface.primaryLow};
}
`
Expand Down
12 changes: 12 additions & 0 deletions src/components/Label/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ const Label = (props: Props) =>{
backgroundColor: Color.background.redLow,
text: 'Cancelado'
}
case 'canceled':
return{
color: Color.text.red,
backgroundColor: Color.background.redLow,
text: 'Cancelada'
}
case 'No resuelto':
return{
color: Color.text.red,
Expand All @@ -153,6 +159,12 @@ const Label = (props: Props) =>{
backgroundColor: '#E4F8EE',
text: 'Resuelto'
}
case 'active':
return{
color: '#448B6D',
backgroundColor: '#E4F8EE',
text: 'Activa'
}
case 'Resuelto':
return{
color: '#448B6D',
Expand Down

0 comments on commit 0e3570a

Please sign in to comment.