fix(colors): Replace hardcoded colors with theme tokens (#6040)

This commit is contained in:
Dan Rukas authored and GitHub committed 2026-06-29 12:32:40 -04:00
1 parent e1bc625ab8
commit 03b180f185
40 files changed
+170 -173

No files matched your search

@@ -60,11 +60,11 @@ const DicomUploadProgressItem = memo(
/>
);
case UploadStatus.InProgress:
return <Icons.ByName name="icon-transferring" />;
return <Icons.ByName name="icon-transferring" className="text-highlight" />;
case UploadStatus.Failed:
return <Icons.ByName name="icon-alert-small" />;
return <Icons.ByName name="icon-alert-small" className="text-destructive" />;
case UploadStatus.Cancelled:
return <Icons.ByName name="icon-alert-outline" />;
return <Icons.ByName name="icon-alert-outline" className="text-highlight" />;
default:
return <></>;
}
@@ -18,7 +18,7 @@ function TrackingStatus({ viewportId }: { viewportId: string }) {
<Tooltip>
<TooltipTrigger asChild>
<span>
<Icons.StatusTracking className="h-4 w-4" />
<Icons.StatusTracking className="h-4 w-4 text-highlight" />
</span>
</TooltipTrigger>
<TooltipContent side="bottom">
@@ -152,7 +152,7 @@ function DataSourceConfigurationModalComponent({
>
<div className="text- flex items-center gap-2">
{itemLabelIndex < selectedItems.length ? (
<Icons.ByName name="status-tracked" />
<Icons.ByName name="status-tracked" className="text-highlight" />
) : (
<Icons.ByName name="status-untracked" />
)}
@@ -12,8 +12,7 @@
.dicom-tag-browser-table tr {
padding-left: 10px;
padding-right: 10px;
color: #ffffff;
border-top: 1px solid #ddd;
color: hsl(var(--foreground));
white-space: nowrap;
}
@@ -43,7 +42,6 @@
padding-left: 10px;
padding-right: 10px;
text-align: center;
color: '#20A5D6';
}
.dicom-tag-browser-table th.dicom-tag-browser-table-left {
@@ -1,3 +1,4 @@
.chrome-picker {
background: #090c29 !important;
background: transparent !important;
box-shadow: none !important;
}