@@ -69,13 +69,13 @@ const CheckStatus = ({
6969 return (
7070 < div className = 'flex w-full items-center px-3 py-0' >
7171 { hasFailures ? (
72- < AlertIcon className = 'mr-3 h-5 w-5 text-yellow-600' />
72+ < AlertIcon className = 'mr-3 h-5 w-5 text-yellow-600 dark:text-yellow-500 ' />
7373 ) : (
74- < CheckIcon className = 'mr-3 h-5 w-5 text-green-700' />
74+ < CheckIcon className = 'mr-3 h-5 w-5 text-green-700 dark:text-green-400 ' />
7575 ) }
7676 < div >
7777 < p className = 'font-semibold' > { hasFailures ? 'Some checks were not successful' : 'All checks have passed' } </ p >
78- < p className = 'text-sm text-gray-600 ' > { statusInfo . join ( ', ' ) } </ p >
78+ < p className = 'text-tertiary text-sm ' > { statusInfo . join ( ', ' ) } </ p >
7979 </ div >
8080 < div className = 'ml-auto flex items-center gap-2' >
8181 { isOutdated && (
@@ -85,8 +85,7 @@ const CheckStatus = ({
8585 onUpdateBranch ( )
8686 } }
8787 disabled = { isUpdating }
88- style = { { backgroundColor : '#f6f8fa' } }
89- className = 'flex-shrink-0 rounded-md border border-gray-300 px-3 py-1.5 text-sm font-medium text-gray-700 hover:bg-gray-100 disabled:cursor-not-allowed disabled:opacity-50'
88+ className = 'border-primary bg-secondary hover:bg-tertiary text-secondary flex-shrink-0 rounded-md border px-3 py-1.5 text-sm font-medium disabled:cursor-not-allowed disabled:opacity-50'
9089 >
9190 { isUpdating ? (
9291 < span className = 'flex items-center gap-1.5' >
@@ -106,7 +105,7 @@ const CheckStatus = ({
106105
107106const CheckGroup = ( { title, checks } : CheckGroupProps ) => (
108107 < div className = 'mb-2' >
109- < h4 className = 'px-2 py-1 text-xs font-bold uppercase text-gray-500 ' >
108+ < h4 className = 'text-tertiary px-2 py-1 text-xs font-bold uppercase' >
110109 { title } ({ checks . length } )
111110 </ h4 >
112111 < div >
@@ -141,25 +140,25 @@ const getStatusIcon = (status: AdditionalCheckStatus) => {
141140}
142141
143142const AdditionalCheckItemComponent = ( { check } : AdditionalCheckItemProps ) => (
144- < div className = 'flex items-start border-b border-gray-100 px-2 py-2 last:border-b-0' >
143+ < div className = 'border-primary flex items-start border-b px-2 py-2 last:border-b-0' >
145144 < div className = 'mr-3 mt-0.5 flex-shrink-0' > { getStatusIcon ( check . result ) } </ div >
146145 < div className = 'min-w-0 flex-1' >
147146 < div className = 'flex items-center justify-between' >
148- < h5 className = 'text-sm font-medium text-gray-900 ' > { ADDITIONAL_CHECK_LABELS [ check . type ] } </ h5 >
147+ < h5 className = 'text-primary text- sm font-medium' > { ADDITIONAL_CHECK_LABELS [ check . type ] } </ h5 >
149148 < span
150149 className = { `rounded-full px-2 py-1 text-xs font-medium ${
151150 check . result === 'PASSED'
152- ? 'bg-green-100 text-green-800'
151+ ? 'bg-green-100 text-green-800 dark:bg-green-950 dark:text-green-200 '
153152 : check . result === 'FAILED'
154- ? 'bg-red-100 text-red-800'
155- : 'bg-gray-100 text-gray-800 '
153+ ? 'bg-red-100 text-red-800 dark:bg-red-950 dark:text-red-200 '
154+ : 'bg-secondary text-secondary '
156155 } `}
157156 >
158157 { check . result . toLowerCase ( ) }
159158 </ span >
160159 </ div >
161160 { check . result === 'FAILED' && (
162- < ul className = 'mt-1 list-inside list-disc text-sm text-red-600' >
161+ < ul className = 'mt-1 list-inside list-disc text-sm text-red-600 dark:text-red-400 ' >
163162 < li className = 'list-inside' > { check . message } </ li >
164163 </ ul >
165164 ) }
@@ -178,7 +177,7 @@ const AdditionalChecksSection = ({ additionalChecks }: AdditionalChecksSectionPr
178177
179178 return (
180179 < div className = 'mt-2 border-t pt-2' >
181- < h4 className = 'mb-2 px-2 py-1 text-xs font-bold uppercase text-gray-500 ' >
180+ < h4 className = 'text-tertiary mb-2 px-2 py-1 text-xs font-bold uppercase' >
182181 Additional Checks ({ additionalChecks . length } )
183182 </ h4 >
184183 < div className = 'space-y-1' >
@@ -236,7 +235,7 @@ export function ChecksSection({ checks, onStatusChange, additionalChecks, clLink
236235 < >
237236 < Collapsible . Root open = { open } onOpenChange = { setOpen } >
238237 { /* CheckStatus section */ }
239- < Collapsible . Trigger className = 'flex w-full cursor-pointer rounded-md hover:bg-gray-100 ' >
238+ < Collapsible . Trigger className = 'hover:bg-tertiary flex w-full cursor-pointer rounded-md' >
240239 < CheckStatus
241240 hasFailures = { hasFailures }
242241 failureCount = { failureCount }
0 commit comments