Skip to content

Commit a9dac0c

Browse files
committed
fix button styling
1 parent 1f2f757 commit a9dac0c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

frontend/app/view/webview/webview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ const BookmarkTypeahead = memo(
640640
</p>
641641
<button
642642
onClick={openBookmarksJson}
643-
className="mt-3 px-4 py-2 text-sm font-medium text-white bg-gray-700 rounded-lg hover:bg-gray-600 cursor-pointer"
643+
className="mt-3 px-4 py-2 text-sm font-medium text-black bg-accent hover:bg-accenthover rounded-lg cursor-pointer"
644644
>
645645
Open bookmarks.json
646646
</button>
@@ -652,7 +652,7 @@ const BookmarkTypeahead = memo(
652652
<p className="text-sm text-gray-400">No matching bookmarks</p>
653653
<button
654654
onClick={openBookmarksJson}
655-
className="mt-3 px-4 py-2 text-sm font-medium text-white bg-gray-700 rounded-lg hover:bg-gray-600 cursor-pointer"
655+
className="mt-3 px-4 py-2 text-sm font-medium text-black bg-accent hover:bg-accenthover rounded-lg cursor-pointer"
656656
>
657657
Edit bookmarks.json
658658
</button>

frontend/tailwindsetup.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
--color-accentbg: rgba(88, 193, 66, 0.5);
3030
--color-hoverbg: rgba(255, 255, 255, 0.2);
3131
--color-accent: rgb(88, 193, 66);
32+
--color-accenthover: rgb(118, 223, 96);
3233

3334
--font-sans: "Inter", sans-serif;
3435
--font-mono: "Hack", monospace;

0 commit comments

Comments
 (0)