Skip to content

Commit 82bf777

Browse files
committed
refactor classes, lists
1 parent 4d7b28d commit 82bf777

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+596
-525
lines changed

src/components/CodeExplorerTopBar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ export function CodeExplorerTopBar({
3131
isSidebarOpen ? (
3232
<button
3333
onClick={() => setIsSidebarOpen(!isSidebarOpen)}
34-
className="p-2 text-sm rounded transition-colors hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"
34+
className="p-2 text-sm rounded transition-colors hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-600 dark:text-gray-400"
3535
title={'Hide sidebar'}
3636
>
3737
<ArrowLeftFromLine className="w-4 h-4" />
3838
</button>
3939
) : (
4040
<button
4141
onClick={() => setIsSidebarOpen(!isSidebarOpen)}
42-
className="p-2 text-sm rounded transition-colors hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"
42+
className="p-2 text-sm rounded transition-colors hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-600 dark:text-gray-400"
4343
title={'Show sidebar'}
4444
>
4545
<ArrowRightFromLine className="w-4 h-4" />
@@ -90,7 +90,7 @@ export function CodeExplorerTopBar({
9090
}}
9191
className={`p-2 text-sm rounded transition-colors mr-2 hover:bg-gray-200 dark:hover:bg-gray-700 ${
9292
activeTab === 'code'
93-
? 'text-gray-700 dark:text-gray-300'
93+
? 'text-gray-600 dark:text-gray-400'
9494
: 'text-gray-400 dark:text-gray-600'
9595
}`}
9696
title={isFullScreen ? 'Exit full screen' : 'Enter full screen'}

src/components/DocFeedbackFloatingButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function DocFeedbackFloatingButton({
103103
'flex items-center justify-center',
104104
'w-6 h-6 rounded',
105105
'bg-white dark:bg-gray-800',
106-
'text-gray-700 dark:text-gray-300',
106+
'text-gray-600 dark:text-gray-400',
107107
'border border-gray-200 dark:border-gray-700',
108108
'shadow-md hover:shadow-lg',
109109
'hover:bg-gray-50 dark:hover:bg-gray-700',

src/components/DocFeedbackNote.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ export function DocFeedbackNote({
450450
</button>
451451
<button
452452
onClick={handleCancel}
453-
className="px-3 py-1 text-xs font-medium text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white disabled:opacity-50"
453+
className="px-3 py-1 text-xs font-medium text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white disabled:opacity-50"
454454
disabled={isSaving}
455455
>
456456
<X className="inline text-[10px] mr-1" />

src/components/DocFeedbackProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ function CreatingFeedbackNote({
761761
<button
762762
onClick={onClose}
763763
disabled={isSaving}
764-
className="px-3 py-1 text-xs font-medium text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white disabled:opacity-50"
764+
className="px-3 py-1 text-xs font-medium text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white disabled:opacity-50"
765765
>
766766
Cancel
767767
</button>

src/components/FeedEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ export function FeedEntry({
403403
{entry.tags.map((tag) => (
404404
<span
405405
key={tag}
406-
className="px-1.5 py-0.5 rounded bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300"
406+
className="px-1.5 py-0.5 rounded bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400"
407407
>
408408
{tag}
409409
</span>

src/components/FeedEntryTimeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export function FeedEntryTimeline({
317317
{entry.tags.map((tag) => (
318318
<span
319319
key={tag}
320-
className="px-2 py-0.5 rounded bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300 text-xs"
320+
className="px-2 py-0.5 rounded bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 text-xs"
321321
>
322322
{tag}
323323
</span>

src/components/FeedFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ export function FeedFilters({
420420
<div className="mb-2">
421421
<button
422422
onClick={onClearFilters}
423-
className="flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-gray-700 dark:text-gray-300 rounded transition-colors"
423+
className="flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-gray-600 dark:text-gray-400 rounded transition-colors"
424424
>
425425
<RotateCcw className="w-3.5 h-3.5" />
426426
<span>Reset Filters</span>

src/components/FeedPageLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function FeedPageLayoutHeader({
161161
{actions}
162162
</div>
163163
{description && (
164-
<p className="text-lg mt-4 text-gray-700 dark:text-gray-300">
164+
<p className="text-lg mt-4 text-gray-600 dark:text-gray-400">
165165
{description}
166166
</p>
167167
)}

src/components/FeedTicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function FeedTicker() {
116116

117117
{/* Library name */}
118118
{libraryName && (
119-
<span className="text-[10px] font-medium text-gray-700 dark:text-gray-300 flex-shrink-0">
119+
<span className="text-[10px] font-medium text-gray-600 dark:text-gray-400 flex-shrink-0">
120120
{libraryName}
121121
</span>
122122
)}

src/components/FeedbackLeaderboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export function FeedbackLeaderboard() {
151151
? 'text-gray-600 dark:text-gray-400'
152152
: rank === 3
153153
? 'text-amber-600 dark:text-amber-400'
154-
: 'text-gray-700 dark:text-gray-300',
154+
: 'text-gray-600 dark:text-gray-400',
155155
)}
156156
>
157157
#{rank}

0 commit comments

Comments
 (0)