ohif-viewer/platform/ui-next/src/utils/getToggledClassName.tsx

8 lines
197 B
TypeScript

const getToggledClassName = isToggled => {
return isToggled
? '!text-primary'
: '!text-common-bright hover:!bg-primary-dark hover:text-primary-light';
};
export { getToggledClassName };