nicer opacities and stuff to see what's active
This commit is contained in:
@@ -18,7 +18,11 @@ function LineIcon({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMultiple ? (
|
{isMultiple ? (
|
||||||
<div className={`relative ${grayscale ? 'grayscale' : ''} h-[40px] w-[40px] flex-grow-0`}>
|
<div
|
||||||
|
className={`relative ${
|
||||||
|
grayscale ? 'grayscale opacity-40' : ''
|
||||||
|
} h-[40px] w-[40px] flex-grow-0`}
|
||||||
|
>
|
||||||
{sourceImages.map((avatarSrc, index) => {
|
{sourceImages.map((avatarSrc, index) => {
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
return (
|
return (
|
||||||
@@ -53,7 +57,7 @@ function LineIcon({
|
|||||||
src={avatarSrc}
|
src={avatarSrc}
|
||||||
shape="square"
|
shape="square"
|
||||||
size={'large'}
|
size={'large'}
|
||||||
className={`${grayscale && 'grayscale'} shadow-lg`}
|
className={`${grayscale && 'grayscale opacity-40'} shadow-lg`}
|
||||||
/>
|
/>
|
||||||
))
|
))
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ export default React.memo(function LineRow({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span className={`text-gray-400 ml-auto text-xs `}>
|
<span className={`text-gray-200 ml-auto text-xs `}>
|
||||||
{moment(line.currentUserMember.lastVisitDate).fromNow(true)}
|
{moment(line.currentUserMember.lastVisitDate).fromNow(true)}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
@@ -124,13 +124,13 @@ export default React.memo(function LineRow({
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* channel name */}
|
{/* channel name */}
|
||||||
<h2
|
<span
|
||||||
className={`text-inherit text-md max-w-[180px] truncate text-slate-800 ${
|
className={`text-md max-w-[180px] truncate text-gray-300 ${
|
||||||
line.currentUserMember.lastVisitDate ? 'font-semibold' : ''
|
line.currentUserMember.lastVisitDate ? 'font-semibold text-gray-800' : ''
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{line.lineDetails.name || line.otherUserObjects[0].givenName}
|
{line.lineDetails.name || line.otherUserObjects[0].givenName}
|
||||||
</h2>
|
</span>
|
||||||
|
|
||||||
{index < maxToggleTunedChannelCount && (
|
{index < maxToggleTunedChannelCount && (
|
||||||
<span className="ml-2 text-gray-300 text-xs p-1 px-2 bg-gray-100">{`${index + 1}`}</span>
|
<span className="ml-2 text-gray-300 text-xs p-1 px-2 bg-gray-100">{`${index + 1}`}</span>
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export default function SidePanel() {
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
{desktopMode === 'mainApp' && (
|
{desktopMode === 'mainApp' && (
|
||||||
<span className="text-gray-800 font-semibold mx-auto">Channels</span>
|
<span className="text-gray-800 font-semibold mx-auto">Conversations</span>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user