Skip to content

Commit

Permalink
Merge pull request #1960 from RitvikSardana/notification-style
Browse files Browse the repository at this point in the history
fix: change notification unread color to light blue
  • Loading branch information
RitvikSardana authored Sep 2, 2024
2 parents 97f81ef + f00955a commit ba1f420
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion desk/src/components/layouts/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<span class="mb-4">
<div
v-if="notificationStore.unread"
class="absolute z-20 h-1.5 w-1.5 translate-x-6 translate-y-1 rounded-full bg-gray-800"
class="absolute z-20 h-1.5 w-1.5 translate-x-6 translate-y-1 rounded-full bg-blue-400"
theme="gray"
variant="solid"
/>
Expand Down
2 changes: 1 addition & 1 deletion desk/src/components/notifications/Notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<div class="text-sm text-gray-600">
{{ dayjs.tz(n.creation).fromNow() }}
</div>
<div v-if="!n.read" class="h-1.5 w-1.5 rounded-full bg-gray-900" />
<div v-if="!n.read" class="h-1.5 w-1.5 rounded-full bg-blue-400" />
</div>
</span>
</RouterLink>
Expand Down
6 changes: 3 additions & 3 deletions desk/src/pages/MobileNotifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"
>
<UserAvatar v-bind="n.user_from" />
<span>
<div>
<div class="mb-2 leading-5">
<span class="space-x-1 text-gray-700">
<span class="font-medium text-gray-900">{{
Expand All @@ -58,9 +58,9 @@
<div class="text-sm text-gray-600">
{{ dayjs.tz(n.creation).fromNow() }}
</div>
<div v-if="!n.read" class="h-1.5 w-1.5 rounded-full bg-gray-900" />
<div v-if="!n.read" class="h-1.5 w-1.5 rounded-full bg-blue-400" />
</div>
</span>
</div>
</RouterLink>
</div>
<div v-else class="flex flex-1 flex-col items-center gap-2">
Expand Down

0 comments on commit ba1f420

Please sign in to comment.