handleRowClick(item)}
style={{ cursor: 'pointer' }}
>
- {item.index}
- {item.frame + 1}
- {item.pleura}
- {item.bLine}
-
+ {item.index}
+ {item.frame + 1}
+ {item.pleura}
+ {item.bLine}
+
{item.frame === 5 && (
-
+
-
+
@@ -396,7 +395,7 @@ export default function USAnnotationPanel() {
* 🖼 Final Render */
return (
{/* Workflow */}
diff --git a/platform/app/src/routes/Debug.tsx b/platform/app/src/routes/Debug.tsx
index 56985a9df..a83ceb7b5 100644
--- a/platform/app/src/routes/Debug.tsx
+++ b/platform/app/src/routes/Debug.tsx
@@ -7,7 +7,7 @@ function Debug() {
return (
-
+
Debug Information
-
Cross Origin Isolated (COOP/COEP)
+
Cross Origin Isolated (COOP/COEP)
{
return (
-
+
{message}
@@ -36,7 +36,7 @@ const NotFoundStudy = () => {
const { showStudyList } = appConfig;
return (
-
+
One or more of the requested studies are not available at this time.
@@ -48,7 +48,7 @@ const NotFoundStudy = () => {
>
Return to the{' '}
study list
diff --git a/platform/ui-next/src/assets/styles.css b/platform/ui-next/src/assets/styles.css
index 357f8a58b..3e339f9bb 100644
--- a/platform/ui-next/src/assets/styles.css
+++ b/platform/ui-next/src/assets/styles.css
@@ -26,12 +26,12 @@
.ohif-scrollbar::-webkit-scrollbar-thumb {
@apply rounded;
- @apply bg-secondary-dark;
+ @apply bg-popover;
background-color: #041c4a;
}
.ohif-scrollbar::-webkit-scrollbar-thumb:window-inactive {
- @apply bg-secondary-dark;
+ @apply bg-popover;
background-color: #041c4a;
}
diff --git a/platform/ui-next/src/components/Button/Button.tsx b/platform/ui-next/src/components/Button/Button.tsx
index 106ad106f..3320814a6 100644
--- a/platform/ui-next/src/components/Button/Button.tsx
+++ b/platform/ui-next/src/components/Button/Button.tsx
@@ -9,11 +9,11 @@ const buttonVariants = cva(
{
variants: {
variant: {
- default: 'bg-primary/60 text-primary-foreground hover:bg-primary/100',
+ default: 'bg-primary/85 text-primary-foreground hover:bg-primary/100',
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
outline:
'border border-primary/25 bg-background hover:bg-primary/25 text-primary hover:text-primary',
- secondary: 'bg-primary/40 text-secondary-foreground hover:bg-primary/60',
+ secondary: 'bg-secondary/85 text-secondary-foreground hover:bg-secondary/100',
ghost: 'font-normal text-primary hover:bg-primary/25',
link: 'font-normal text-primary underline-offset-4 hover:underline',
},
diff --git a/platform/ui-next/src/components/DataRow/DataRow.tsx b/platform/ui-next/src/components/DataRow/DataRow.tsx
index 05151ee46..ad0e58125 100644
--- a/platform/ui-next/src/components/DataRow/DataRow.tsx
+++ b/platform/ui-next/src/components/DataRow/DataRow.tsx
@@ -501,7 +501,7 @@ const StatusError: React.FC<{ tooltip?: string }> = ({ tooltip }) => (
const StatusInfo: React.FC<{ tooltip?: string }> = ({ tooltip }) => (
}
+ icon={ }
defaultTooltip="Info"
/>
);
diff --git a/platform/ui-next/src/components/DateRange/DateRange.tsx b/platform/ui-next/src/components/DateRange/DateRange.tsx
index fa552003d..f07547ed3 100644
--- a/platform/ui-next/src/components/DateRange/DateRange.tsx
+++ b/platform/ui-next/src/components/DateRange/DateRange.tsx
@@ -83,7 +83,7 @@ export function DatePickerWithRange({
-
+
handleInputChange(e, 'start')}
className={cn(
- 'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-base font-normal hover:bg-black hover:text-white',
+ 'border-inputfield-main focus:border-inputfield-focus hover:text-foreground h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-base font-normal hover:bg-black',
!start && 'text-muted-foreground'
)}
data-cy="input-date-range-start"
@@ -120,7 +120,7 @@ export function DatePickerWithRange({
>
-
+
handleInputChange(e, 'end')}
className={cn(
- 'border-inputfield-main focus:border-inputfield-focus h-full w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-base font-normal hover:bg-black hover:text-white',
+ 'border-inputfield-main focus:border-inputfield-focus hover:text-foreground h-full w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-base font-normal hover:bg-black',
!end && 'text-muted-foreground'
)}
data-cy="input-date-range-end"
diff --git a/platform/ui-next/src/components/Dialog/Dialog.tsx b/platform/ui-next/src/components/Dialog/Dialog.tsx
index 37205baef..58861d808 100644
--- a/platform/ui-next/src/components/Dialog/Dialog.tsx
+++ b/platform/ui-next/src/components/Dialog/Dialog.tsx
@@ -162,7 +162,7 @@ const DialogTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
));
diff --git a/platform/ui-next/src/components/DisplaySetMessageListTooltip/DisplaySetMessageListTooltip.tsx b/platform/ui-next/src/components/DisplaySetMessageListTooltip/DisplaySetMessageListTooltip.tsx
index 31f1d0118..cb8a8670b 100644
--- a/platform/ui-next/src/components/DisplaySetMessageListTooltip/DisplaySetMessageListTooltip.tsx
+++ b/platform/ui-next/src/components/DisplaySetMessageListTooltip/DisplaySetMessageListTooltip.tsx
@@ -23,9 +23,9 @@ const DisplaySetMessageListTooltip = ({ messages, id }): React.ReactNode => {
/>
-
+
{UndoRedo}
-
+
{PatientInfo}
-
+
diff --git a/platform/ui-next/src/components/InvestigationalUseDialog/InvestigationalUseDialog.tsx b/platform/ui-next/src/components/InvestigationalUseDialog/InvestigationalUseDialog.tsx
index 86ba364f8..4680f16db 100644
--- a/platform/ui-next/src/components/InvestigationalUseDialog/InvestigationalUseDialog.tsx
+++ b/platform/ui-next/src/components/InvestigationalUseDialog/InvestigationalUseDialog.tsx
@@ -65,17 +65,17 @@ const InvestigationalUseDialog = ({
return (
-
+
-
+
OHIF Viewer is{' '}
- {t('for investigational use only')}
+ {t('for investigational use only')}
-
+
window.open('https://ohif.org/', '_blank')}
>
{t('Learn more about OHIF Viewer')}
@@ -85,7 +85,6 @@ const InvestigationalUseDialog = ({
{t('Confirm and hide')}
diff --git a/platform/ui-next/src/components/LayoutSelector/LayoutSelector.tsx b/platform/ui-next/src/components/LayoutSelector/LayoutSelector.tsx
index 783335850..1cc051070 100644
--- a/platform/ui-next/src/components/LayoutSelector/LayoutSelector.tsx
+++ b/platform/ui-next/src/components/LayoutSelector/LayoutSelector.tsx
@@ -131,7 +131,7 @@ const Trigger = ({
className={cn(
'inline-flex h-10 w-10 items-center justify-center !rounded-lg',
disabled
- ? 'text-common-bright hover:bg-primary-dark hover:text-primary-light cursor-not-allowed opacity-40'
+ ? 'text-foreground/80 hover:bg-muted hover:text-highlight cursor-not-allowed opacity-40'
: isOpen
? 'bg-background text-foreground/80'
: 'text-foreground/80 hover:bg-background hover:text-highlight bg-transparent',
@@ -320,7 +320,7 @@ const GridSelector = ({ rows = 3, columns = 4, className }: GridSelectorProps) =
{Array.from(Array(rows * columns).keys()).map(index => (
handleSelection(index)}
onMouseEnter={() => setHoveredIndex(index)}
diff --git a/platform/ui-next/src/components/LineChart/LineChart.tsx b/platform/ui-next/src/components/LineChart/LineChart.tsx
index 08fe3cfe0..8659f493f 100644
--- a/platform/ui-next/src/components/LineChart/LineChart.tsx
+++ b/platform/ui-next/src/components/LineChart/LineChart.tsx
@@ -84,7 +84,7 @@ const LineChart = ({
return (
-
+
diff --git a/platform/ui-next/src/components/LoadingIndicatorTotalPercent/LoadingIndicatorTotalPercent.tsx b/platform/ui-next/src/components/LoadingIndicatorTotalPercent/LoadingIndicatorTotalPercent.tsx
index 199fb8ab6..b228a3164 100644
--- a/platform/ui-next/src/components/LoadingIndicatorTotalPercent/LoadingIndicatorTotalPercent.tsx
+++ b/platform/ui-next/src/components/LoadingIndicatorTotalPercent/LoadingIndicatorTotalPercent.tsx
@@ -28,11 +28,11 @@ function LoadingIndicatorTotalPercent({
const textBlock =
!totalNumbers && percentComplete === null ? (
-
{loadingText}
+
{loadingText}
) : !totalNumbers && percentComplete !== null ? (
-
Loaded {percentComplete}%
+
Loaded {percentComplete}%
) : (
-
+
Loaded {numTargetsLoadedText} of {totalNumbersText} {targetText}
);
diff --git a/platform/ui-next/src/components/MeasurementTable/MeasurementTable.tsx b/platform/ui-next/src/components/MeasurementTable/MeasurementTable.tsx
index f645ec63d..5806ccc29 100644
--- a/platform/ui-next/src/components/MeasurementTable/MeasurementTable.tsx
+++ b/platform/ui-next/src/components/MeasurementTable/MeasurementTable.tsx
@@ -40,7 +40,7 @@ const MeasurementTable = ({
{`${t(title)} (${amount})`}
@@ -59,7 +59,7 @@ const Body = () => {
if (!data || data.length === 0) {
return (
-
+
{useTranslation('MeasurementTable').t('No tracked measurements')}
);
@@ -125,9 +125,7 @@ const Row = ({ item, index }: RowProps) => {
isVisible={item.isVisible}
isLocked={item.isLocked}
>
- {item.isUnmapped && (
-
- )}
+ {item.isUnmapped &&
}
);
};
diff --git a/platform/ui-next/src/components/NavBar/NavBar.tsx b/platform/ui-next/src/components/NavBar/NavBar.tsx
index e1a363694..f6fd0d67c 100644
--- a/platform/ui-next/src/components/NavBar/NavBar.tsx
+++ b/platform/ui-next/src/components/NavBar/NavBar.tsx
@@ -17,7 +17,7 @@ const NavBar = ({
return (
diff --git a/platform/ui-next/src/components/OHIFPanels/WindowLevel.tsx b/platform/ui-next/src/components/OHIFPanels/WindowLevel.tsx
index 3b1ed7ed9..d5e5da8d7 100644
--- a/platform/ui-next/src/components/OHIFPanels/WindowLevel.tsx
+++ b/platform/ui-next/src/components/OHIFPanels/WindowLevel.tsx
@@ -138,7 +138,7 @@ const WindowLevel = ({
{showOpacitySlider && (
-
Opacity
+
Opacity
-
+
{activeToolOptions && }
>
diff --git a/platform/ui-next/src/components/Onboarding/Onboarding.css b/platform/ui-next/src/components/Onboarding/Onboarding.css
index 571d49ec2..77dbaf238 100644
--- a/platform/ui-next/src/components/Onboarding/Onboarding.css
+++ b/platform/ui-next/src/components/Onboarding/Onboarding.css
@@ -23,7 +23,7 @@
}
.shepherd-button {
- @apply !inline-flex !h-[36px] !min-w-[62px] !flex-row !items-center !justify-center !gap-[5px] !whitespace-nowrap !rounded !bg-[#348cfd] !px-[10px] !text-center !font-sans !text-[14px] !leading-[1.2] !text-white !outline-none !transition !duration-300 !ease-in-out focus:!outline-none;
+ @apply !text-foreground !inline-flex !h-[36px] !min-w-[62px] !flex-row !items-center !justify-center !gap-[5px] !whitespace-nowrap !rounded !bg-[#348cfd] !px-[10px] !text-center !font-sans !text-[14px] !leading-[1.2] !outline-none !transition !duration-300 !ease-in-out focus:!outline-none;
}
.shepherd-button.shepherd-button-secondary {
diff --git a/platform/ui-next/src/components/PanelSection/PanelSection.tsx b/platform/ui-next/src/components/PanelSection/PanelSection.tsx
index 2559d5858..0a60c07bb 100644
--- a/platform/ui-next/src/components/PanelSection/PanelSection.tsx
+++ b/platform/ui-next/src/components/PanelSection/PanelSection.tsx
@@ -50,7 +50,7 @@ export const PanelSection: React.FC
& {
PanelSection.Header = ({ children, className }) => (
))}
diff --git a/platform/ui-next/src/components/ProgressDropdown/ProgressDropdown.tsx b/platform/ui-next/src/components/ProgressDropdown/ProgressDropdown.tsx
index 2da94099d..95a8fae13 100644
--- a/platform/ui-next/src/components/ProgressDropdown/ProgressDropdown.tsx
+++ b/platform/ui-next/src/components/ProgressDropdown/ProgressDropdown.tsx
@@ -94,12 +94,12 @@ const ProgressDropdown = ({
return (
@@ -108,18 +108,18 @@ const ProgressDropdown = ({
{!selectedOption &&
{children}
}
-
+
@@ -128,8 +128,9 @@ const ProgressDropdown = ({
onSelect(option)}
>
diff --git a/platform/ui-next/src/components/ProgressDropdown/ProgressItemDetail.tsx b/platform/ui-next/src/components/ProgressDropdown/ProgressItemDetail.tsx
index e88b81b38..2c994c0a5 100644
--- a/platform/ui-next/src/components/ProgressDropdown/ProgressItemDetail.tsx
+++ b/platform/ui-next/src/components/ProgressDropdown/ProgressItemDetail.tsx
@@ -4,7 +4,7 @@ import { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '../Too
import { ProgressDropdownOption, ProgressDropdownOptionPropType } from './types';
const MAX_TOOLTIP_LENGTH = 150;
-const iconClassNames = 'grow-0 text-primary-light h-4 w-4 mt-1 mr-2 mb-0 ml-1';
+const iconClassNames = 'grow-0 text-highlight h-4 w-4 mt-1 mr-2 mb-0 ml-1';
const ProgressItemDetail = ({ option }: { option: ProgressDropdownOption }): ReactElement => {
const { label, info, completed } = option;
@@ -33,7 +33,7 @@ const ProgressItemDetail = ({ option }: { option: ProgressDropdownOption }): Rea
<>
{info.slice(0, MAX_TOOLTIP_LENGTH)}
Read more...
diff --git a/platform/ui-next/src/components/ProgressLoadingBar/ProgressLoadingBar.tsx b/platform/ui-next/src/components/ProgressLoadingBar/ProgressLoadingBar.tsx
index 62034dc46..1b3fba09c 100644
--- a/platform/ui-next/src/components/ProgressLoadingBar/ProgressLoadingBar.tsx
+++ b/platform/ui-next/src/components/ProgressLoadingBar/ProgressLoadingBar.tsx
@@ -15,10 +15,10 @@ function ProgressLoadingBar({ progress }: ProgressLoadingBarProps): ReactElement
return (
{progress === undefined || progress === null ? (
-
+
) : (
= ({
}
>
{children}
-
+
{disabled ? : }
diff --git a/platform/ui-next/src/components/SegmentationTable/SegmentStatistics.tsx b/platform/ui-next/src/components/SegmentationTable/SegmentStatistics.tsx
index 45645d3ba..e9c162d82 100644
--- a/platform/ui-next/src/components/SegmentationTable/SegmentStatistics.tsx
+++ b/platform/ui-next/src/components/SegmentationTable/SegmentStatistics.tsx
@@ -43,7 +43,7 @@ const DefaultStatsList = () => {
>
{label}
- {handleNumber(value)} {' '}
+ {handleNumber(value)} {' '}
{unit && unit !== 'none' ? unit : ''}
diff --git a/platform/ui-next/src/components/SegmentationTable/SegmentationCollapsed.tsx b/platform/ui-next/src/components/SegmentationTable/SegmentationCollapsed.tsx
index 91b245bcb..bd38314a6 100644
--- a/platform/ui-next/src/components/SegmentationTable/SegmentationCollapsed.tsx
+++ b/platform/ui-next/src/components/SegmentationTable/SegmentationCollapsed.tsx
@@ -24,7 +24,7 @@ import {
// Main header component
const SegmentationCollapsedHeader = ({ children }: { children: React.ReactNode }) => {
return (
-
+
{children}
);
diff --git a/platform/ui-next/src/components/SegmentationTable/SegmentationExpanded.tsx b/platform/ui-next/src/components/SegmentationTable/SegmentationExpanded.tsx
index 675d0c8bf..72911c34a 100644
--- a/platform/ui-next/src/components/SegmentationTable/SegmentationExpanded.tsx
+++ b/platform/ui-next/src/components/SegmentationTable/SegmentationExpanded.tsx
@@ -105,7 +105,7 @@ const SegmentationExpandedRoot = ({ children }) => {
return (
= parseFloat(maxHeight)
diff --git a/platform/ui-next/src/components/SegmentationTable/SegmentationTableConfig.tsx b/platform/ui-next/src/components/SegmentationTable/SegmentationTableConfig.tsx
index 4a7d9b88b..af1f0609f 100644
--- a/platform/ui-next/src/components/SegmentationTable/SegmentationTableConfig.tsx
+++ b/platform/ui-next/src/components/SegmentationTable/SegmentationTableConfig.tsx
@@ -36,7 +36,7 @@ export const SegmentationTableConfig: React.FC<{ children?: React.ReactNode }> =
return (
-
+
{t('Show')}:{' '}
{renderFill && renderOutline
? t('Fill & Outline')
diff --git a/platform/ui-next/src/components/SidePanel/SidePanel.tsx b/platform/ui-next/src/components/SidePanel/SidePanel.tsx
index 2721b4ee3..e5f832dfc 100644
--- a/platform/ui-next/src/components/SidePanel/SidePanel.tsx
+++ b/platform/ui-next/src/components/SidePanel/SidePanel.tsx
@@ -111,7 +111,7 @@ const getTabClassNames = (
isActiveTab: boolean,
isTabDisabled: boolean
) =>
- classnames('h-[28px] mb-[2px] cursor-pointer text-white bg-black', {
+ classnames('h-[28px] mb-[2px] cursor-pointer text-foreground bg-primary/10 hover:bg-primary/20', {
'hover:text-primary': !isActiveTab && !isTabDisabled,
'rounded-l': tabIndex % numColumns === 0,
'rounded-r': (tabIndex + 1) % numColumns === 0 || tabIndex === numTabs - 1,
@@ -125,7 +125,7 @@ const getTabStyle = (numTabs: number) => {
const getTabIconClassNames = (numTabs: number, isActiveTab: boolean) => {
return classnames('h-full w-full flex items-center justify-center', {
- 'bg-customblue-40': isActiveTab,
+ 'bg-primary/20': isActiveTab,
rounded: isActiveTab,
});
};
@@ -162,7 +162,9 @@ const getToolTipContent = (label: string, disabled: boolean) => {
return (
<>
{label}
- {disabled && {'Not available based on current context'}
}
+ {disabled && (
+ {'Not available based on current context'}
+ )}
>
);
};
@@ -285,7 +287,7 @@ const SidePanel = ({
<>
{
@@ -365,19 +367,16 @@ const SidePanel = ({
<>
{getCloseIcon()}
-
+
{tabs.map((tab, tabIndex) => {
const { disabled } = tab;
return (
{tabIndex % numCols !== 0 && (
)}
@@ -443,7 +442,7 @@ const SidePanel = ({
const getOpenStateComponent = () => {
return (
<>
-
+
{tabs.length === 1 ? getOneTabComponent() : getTabGridComponent()}
{showSettings && (
-
+
<>
-
+
{selectedSort.label}
@@ -65,7 +65,7 @@ export function StudyBrowserSort({ servicesManager }: withAppTypes) {
{sortFunctions.map(sort => (
handleSortChange(sort)}
>
{sort.label}
@@ -80,9 +80,9 @@ export function StudyBrowserSort({ servicesManager }: withAppTypes) {
className="flex h-[26px] items-center justify-center bg-black"
>
{sortDirection === 'ascending' ? (
-
+
) : (
-
+
)}
diff --git a/platform/ui-next/src/components/StudyBrowserViewOptions/StudyBrowserViewOptions.tsx b/platform/ui-next/src/components/StudyBrowserViewOptions/StudyBrowserViewOptions.tsx
index 738834dd2..74ec12c3d 100644
--- a/platform/ui-next/src/components/StudyBrowserViewOptions/StudyBrowserViewOptions.tsx
+++ b/platform/ui-next/src/components/StudyBrowserViewOptions/StudyBrowserViewOptions.tsx
@@ -18,7 +18,7 @@ export function StudyBrowserViewOptions({ tabs, onSelectTab, activeTabName }: wi
-
+
{activeTab?.label}
@@ -37,7 +37,7 @@ export function StudyBrowserViewOptions({ tabs, onSelectTab, activeTabName }: wi
return (
handleTabChange(name)}
>
{label}
diff --git a/platform/ui-next/src/components/StudyItem/StudyItem.tsx b/platform/ui-next/src/components/StudyItem/StudyItem.tsx
index 7b3bb9167..13bf0e2ae 100644
--- a/platform/ui-next/src/components/StudyItem/StudyItem.tsx
+++ b/platform/ui-next/src/components/StudyItem/StudyItem.tsx
@@ -45,7 +45,7 @@ const StudyItem = ({
className="w-full"
asChild
>
-
+
{date}
diff --git a/platform/ui-next/src/components/Thumbnail/Thumbnail.tsx b/platform/ui-next/src/components/Thumbnail/Thumbnail.tsx
index 8a97aba1c..f7c70312b 100644
--- a/platform/ui-next/src/components/Thumbnail/Thumbnail.tsx
+++ b/platform/ui-next/src/components/Thumbnail/Thumbnail.tsx
@@ -89,7 +89,7 @@ const Thumbnail = ({
)}
>
{modality}
@@ -106,9 +106,9 @@ const Thumbnail = ({
-
+
@@ -120,7 +120,7 @@ const Thumbnail = ({
-
+
{isTracked ? 'Series is tracked' : 'Series is untracked'}
@@ -145,7 +145,7 @@ const Thumbnail = ({
{description}
{description}
@@ -189,7 +189,7 @@ const Thumbnail = ({
{modality}
@@ -198,7 +198,7 @@ const Thumbnail = ({
{description}
{description}
@@ -232,9 +232,9 @@ const Thumbnail = ({
-
+
@@ -246,7 +246,7 @@ const Thumbnail = ({
-
+
{isTracked ? 'Series is tracked' : 'Series is untracked'}
diff --git a/platform/ui-next/src/components/ThumbnailList/ThumbnailList.tsx b/platform/ui-next/src/components/ThumbnailList/ThumbnailList.tsx
index 1f5bd5e72..f285aea52 100644
--- a/platform/ui-next/src/components/ThumbnailList/ThumbnailList.tsx
+++ b/platform/ui-next/src/components/ThumbnailList/ThumbnailList.tsx
@@ -34,7 +34,7 @@ const ThumbnailList = ({
{thumbnailItems.length > 0 && (
{thumbnailItems.map(item => {
const { displaySetInstanceUID, componentType, numInstances, ...rest } = item;
@@ -62,7 +62,7 @@ const ThumbnailList = ({
{listItems.length > 0 && (
{listItems.map(item => {
const { displaySetInstanceUID, componentType, numInstances, ...rest } = item;
diff --git a/platform/ui-next/src/components/ToolButton/ToolButton.tsx b/platform/ui-next/src/components/ToolButton/ToolButton.tsx
index 35ac74cdc..61245bbf9 100644
--- a/platform/ui-next/src/components/ToolButton/ToolButton.tsx
+++ b/platform/ui-next/src/components/ToolButton/ToolButton.tsx
@@ -9,7 +9,7 @@ const baseClasses = '!rounded-lg inline-flex items-center justify-center';
const defaultClasses = 'bg-transparent text-foreground/80 hover:bg-background hover:text-highlight';
const activeClasses = 'bg-highlight text-background hover:!bg-highlight/80';
const disabledClasses =
- 'text-common-bright hover:bg-primary-dark hover:text-primary-light opacity-40 cursor-not-allowed';
+ 'text-foreground hover:bg-muted hover:text-highlight opacity-40 cursor-not-allowed';
const sizeClasses = {
default: {
diff --git a/platform/ui-next/src/components/Tooltip/Tooltip.tsx b/platform/ui-next/src/components/Tooltip/Tooltip.tsx
index 2bd7e7824..cf50d2467 100644
--- a/platform/ui-next/src/components/Tooltip/Tooltip.tsx
+++ b/platform/ui-next/src/components/Tooltip/Tooltip.tsx
@@ -20,7 +20,7 @@ const TooltipContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
- 'bg-primary-dark border-secondary-light text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded border px-2 py-1.5 text-sm',
+ 'bg-muted border-input text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded border px-2 py-1.5 text-sm',
className
)}
{...props}
diff --git a/platform/ui-next/src/components/Viewport/PatientInfo.tsx b/platform/ui-next/src/components/Viewport/PatientInfo.tsx
index 5be179878..b076ab894 100644
--- a/platform/ui-next/src/components/Viewport/PatientInfo.tsx
+++ b/platform/ui-next/src/components/Viewport/PatientInfo.tsx
@@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next';
import { Icons, Tooltip, TooltipTrigger, TooltipContent } from '../../components';
const classes = {
- infoHeader: 'text-base text-primary-light',
+ infoHeader: 'text-base text-highlight',
infoText: 'text-base text-white max-w-24 truncate',
firstRow: 'flex flex-col',
row: 'flex flex-col ml-4',
@@ -37,7 +37,7 @@ function PatientInfo({
-
+
{isOpen && (
{getStatusComponent()}
- {!!label?.length && {label} }
+ {!!label?.length && {label} }
- {seriesDescription}
+
+ {seriesDescription}
+
{/* Prev/Next icons */}
onArrowsClick('left')}
/>
onArrowsClick('right')}
/>
diff --git a/platform/ui-next/src/components/Viewport/ViewportActionButton.tsx b/platform/ui-next/src/components/Viewport/ViewportActionButton.tsx
index d99421b94..3f5fb5cbb 100644
--- a/platform/ui-next/src/components/Viewport/ViewportActionButton.tsx
+++ b/platform/ui-next/src/components/Viewport/ViewportActionButton.tsx
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
function ViewportActionButton({ onInteraction, commands, id, children }) {
return (
{
onInteraction({
diff --git a/platform/ui-next/src/components/Viewport/ViewportPane.tsx b/platform/ui-next/src/components/Viewport/ViewportPane.tsx
index 2610ad241..abf2cdf0c 100644
--- a/platform/ui-next/src/components/Viewport/ViewportPane.tsx
+++ b/platform/ui-next/src/components/Viewport/ViewportPane.tsx
@@ -70,7 +70,7 @@ function ViewportPane({
className={classNames('pointer-events-none absolute inset-0 rounded-md border', {
'border-highlight': isActive,
'group-hover/pane:border-highlight/50 border-transparent': !isActive,
- '!border-secondary-light border-dashed': isHighlighted,
+ '!border-input border-dashed': isHighlighted,
})}
/>
diff --git a/platform/ui-next/src/components/ViewportDialog/ViewportDialog.tsx b/platform/ui-next/src/components/ViewportDialog/ViewportDialog.tsx
index 8c094111f..5c3672ae6 100644
--- a/platform/ui-next/src/components/ViewportDialog/ViewportDialog.tsx
+++ b/platform/ui-next/src/components/ViewportDialog/ViewportDialog.tsx
@@ -69,7 +69,7 @@ const ViewportDialog: React.FC = ({
},
info: {
icon: 'notifications-info',
- color: 'text-primary-main',
+ color: 'text-primary/60',
},
success: {
icon: 'info',
diff --git a/platform/ui-next/src/tailwind.css b/platform/ui-next/src/tailwind.css
index 57f1289ba..cb80fde07 100644
--- a/platform/ui-next/src/tailwind.css
+++ b/platform/ui-next/src/tailwind.css
@@ -20,7 +20,7 @@
--popover-foreground: 0 0% 98%;
--primary: 214 98% 60%;
--primary-foreground: 0 0% 98%;
- --secondary: 214 66% 48%;
+ --secondary: 214 65% 36%;
--secondary-foreground: 200 50% 84%;
--muted: 234 64% 10%;
--muted-foreground: 200 46% 65%;
@@ -220,11 +220,11 @@
}
h2.section-header {
- @apply py-4 text-2xl font-normal text-white;
+ @apply text-foreground py-4 text-2xl font-normal;
}
h3.section-header {
- @apply py-3 text-xl text-white;
+ @apply text-foreground py-3 text-xl;
}
.row {
diff --git a/platform/ui-next/src/utils/getToggledClassName.tsx b/platform/ui-next/src/utils/getToggledClassName.tsx
index f8b574615..8fc2e19ed 100644
--- a/platform/ui-next/src/utils/getToggledClassName.tsx
+++ b/platform/ui-next/src/utils/getToggledClassName.tsx
@@ -1,7 +1,5 @@
const getToggledClassName = isToggled => {
- return isToggled
- ? '!text-primary'
- : '!text-common-bright hover:!bg-primary-dark hover:text-primary-light';
+ return isToggled ? '!text-primary' : '!text-foreground/80 hover:!bg-muted hover:text-highlight';
};
export { getToggledClassName };
diff --git a/tests/SRHydrationThenReload.spec.ts b/tests/SRHydrationThenReload.spec.ts
index 6bb5887fc..2d98bc959 100644
--- a/tests/SRHydrationThenReload.spec.ts
+++ b/tests/SRHydrationThenReload.spec.ts
@@ -1,4 +1,4 @@
-import { checkForScreenshot, screenShotPaths, test, visitStudy } from './utils';
+import { expect, test, visitStudy } from './utils';
test.beforeEach(async ({ page }) => {
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.7310.5101.860473186348887719777907797922';
@@ -20,17 +20,18 @@ test('should properly reload SR series after hydration', async ({
await DOMOverlayPageObject.viewport.segmentationHydration.yes.click();
await page.waitForTimeout(2000);
- await checkForScreenshot(page, page, screenShotPaths.srHydrationThenReload.srAfterHydration);
+ const measurementCountAfterFirstLoad =
+ await rightPanelPageObject.measurementsPanel.panel.getMeasurementCount();
+ expect(measurementCountAfterFirstLoad).toBeGreaterThan(0);
- const measurementCount = await rightPanelPageObject.measurementsPanel.panel.getMeasurementCount();
-
- if (measurementCount > 1) {
- await rightPanelPageObject.measurementsPanel.panel.nthMeasurement(1).click();
- await page.waitForTimeout(1000);
- }
+ await rightPanelPageObject.measurementsPanel.panel.nthMeasurement(1).click();
+ await page.waitForTimeout(1000);
await leftPanelPageObject.loadSeriesByModality('SR');
await page.waitForTimeout(2000);
- await checkForScreenshot(page, page, screenShotPaths.srHydrationThenReload.srAfterReload);
+ const measurementCountAfterSecondLoad =
+ await rightPanelPageObject.measurementsPanel.panel.getMeasurementCount();
+
+ expect(measurementCountAfterSecondLoad).toBe(measurementCountAfterFirstLoad);
});
diff --git a/tests/screenshots/chromium/DicomTagBrowser.spec.ts/dicomTagBrowserDisplayedCorrectly.png b/tests/screenshots/chromium/DicomTagBrowser.spec.ts/dicomTagBrowserDisplayedCorrectly.png
index 9b5a98ce5..2e7b60ef7 100644
Binary files a/tests/screenshots/chromium/DicomTagBrowser.spec.ts/dicomTagBrowserDisplayedCorrectly.png and b/tests/screenshots/chromium/DicomTagBrowser.spec.ts/dicomTagBrowserDisplayedCorrectly.png differ
diff --git a/tests/screenshots/chromium/DicomTagBrowser.spec.ts/scrollBarRenderedProperly.png b/tests/screenshots/chromium/DicomTagBrowser.spec.ts/scrollBarRenderedProperly.png
index 66281faff..7a13cbff1 100644
Binary files a/tests/screenshots/chromium/DicomTagBrowser.spec.ts/scrollBarRenderedProperly.png and b/tests/screenshots/chromium/DicomTagBrowser.spec.ts/scrollBarRenderedProperly.png differ
diff --git a/tests/screenshots/chromium/MPRThenSEGOverlayNoHydration.spec.ts/mprPostSEGOverlayNoHydration.png b/tests/screenshots/chromium/MPRThenSEGOverlayNoHydration.spec.ts/mprPostSEGOverlayNoHydration.png
index 652e7a541..f497059f5 100644
Binary files a/tests/screenshots/chromium/MPRThenSEGOverlayNoHydration.spec.ts/mprPostSEGOverlayNoHydration.png and b/tests/screenshots/chromium/MPRThenSEGOverlayNoHydration.spec.ts/mprPostSEGOverlayNoHydration.png differ
diff --git a/tests/screenshots/chromium/RTNoHydrationThenMPR.spec.ts/rtNoHydrationPreMpr.png b/tests/screenshots/chromium/RTNoHydrationThenMPR.spec.ts/rtNoHydrationPreMpr.png
index e83f34b53..2b7579152 100644
Binary files a/tests/screenshots/chromium/RTNoHydrationThenMPR.spec.ts/rtNoHydrationPreMpr.png and b/tests/screenshots/chromium/RTNoHydrationThenMPR.spec.ts/rtNoHydrationPreMpr.png differ
diff --git a/tests/screenshots/chromium/SEGDataOverlayNoHydrationThenMPR.spec.ts/segDataOverlayNoHydrationPostMpr.png b/tests/screenshots/chromium/SEGDataOverlayNoHydrationThenMPR.spec.ts/segDataOverlayNoHydrationPostMpr.png
index 18f8ffed0..3c4e078c6 100644
Binary files a/tests/screenshots/chromium/SEGDataOverlayNoHydrationThenMPR.spec.ts/segDataOverlayNoHydrationPostMpr.png and b/tests/screenshots/chromium/SEGDataOverlayNoHydrationThenMPR.spec.ts/segDataOverlayNoHydrationPostMpr.png differ
diff --git a/tests/screenshots/chromium/SRHydrationThenReload.spec.ts/srAfterHydration.png b/tests/screenshots/chromium/SRHydrationThenReload.spec.ts/srAfterHydration.png
deleted file mode 100644
index 2504cea36..000000000
Binary files a/tests/screenshots/chromium/SRHydrationThenReload.spec.ts/srAfterHydration.png and /dev/null differ
diff --git a/tests/screenshots/chromium/SRHydrationThenReload.spec.ts/srAfterReload.png b/tests/screenshots/chromium/SRHydrationThenReload.spec.ts/srAfterReload.png
deleted file mode 100644
index 2c5b50cc8..000000000
Binary files a/tests/screenshots/chromium/SRHydrationThenReload.spec.ts/srAfterReload.png and /dev/null differ
diff --git a/tests/utils/screenShotPaths.ts b/tests/utils/screenShotPaths.ts
index 3ebda67a4..1de6fbeb4 100644
--- a/tests/utils/screenShotPaths.ts
+++ b/tests/utils/screenShotPaths.ts
@@ -124,10 +124,6 @@ const screenShotPaths = {
srPreHydration: 'srPreHydration.png',
srJumpToMeasurement: 'srJumpToMeasurement.png',
},
- srHydrationThenReload: {
- srAfterHydration: 'srAfterHydration.png',
- srAfterReload: 'srAfterReload.png',
- },
segHydration: {
segPostHydration: 'segPostHydration.png',
segPreHydration: 'segPreHydration.png',