Skip to content

Commit 0a2cf0a

Browse files
committed
feat: use text-secondary-foreground instead of gray
1 parent e18a874 commit 0a2cf0a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

web/components/Notifications/Item.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const reformattedTimestamp = computed<string>(() => {
100100
class="shrink-0 flex flex-row items-baseline justify-end gap-2 mt-1"
101101
:title="formattedTimestamp ?? reformattedTimestamp"
102102
>
103-
<p class="text-gray-500 text-sm">{{ reformattedTimestamp }}</p>
103+
<p class="text-secondary-foreground text-sm">{{ reformattedTimestamp }}</p>
104104
</div>
105105
</header>
106106

web/components/Notifications/List.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function onLoadMore() {
8080
<div v-if="loading" class="py-5 grid place-content-center">
8181
<LoadingSpinner />
8282
</div>
83-
<div v-if="!canLoadMore" class="py-5 grid place-content-center text-gray-500">
83+
<div v-if="!canLoadMore" class="py-5 grid place-content-center text-secondary-foreground">
8484
You've reached the end...
8585
</div>
8686
</div>

web/store/theme.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const defaultColors: Record<string, ThemeVariables> = {
3737
'--primary': '24 100% 50%',
3838
'--primary-foreground': '0 0% 98%',
3939
'--secondary': '0 0% 14.9%',
40-
'--secondary-foreground': '0 0% 98%',
40+
'--secondary-foreground': '0 0% 77%',
4141
'--accent': '0 0% 14.9%',
4242
'--accent-foreground': '0 0% 98%',
4343
'--destructive': '0 62.8% 30.6%',
@@ -61,7 +61,7 @@ export const defaultColors: Record<string, ThemeVariables> = {
6161
'--primary': '24 100% 50%',
6262
'--primary-foreground': '0 0% 98%',
6363
'--secondary': '0 0% 96.1%',
64-
'--secondary-foreground': '0 0% 9%',
64+
'--secondary-foreground': '0 0% 45%',
6565
'--accent': '0 0% 96.1%',
6666
'--accent-foreground': '0 0% 9%',
6767
'--destructive': '0 84.2% 60.2%',

0 commit comments

Comments
 (0)