Skip to content

Commit

Permalink
make all format buttons normal
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronliu0130 authored Sep 10, 2023
1 parent e03e336 commit 62dd93b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions renderer/components/settings-tab/ImageFormatSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ export function ImageFormatSelect({
<div className="flex flex-wrap gap-2">
{/* PNG */}
<button
className={`btn-primary btn ${
saveImageAs === "png" && "btn-accent ring-2 ring-primary"
className={`btn ${
saveImageAs === "png" && "btn-primary"
}`}
onClick={() => setExportType("png")}>
PNG
</button>
{/* JPG */}
<button
className={`btn-primary btn ${
saveImageAs === "jpg" && "btn-accent !ring-2 !ring-primary"
className={`btn ${
saveImageAs === "jpg" && "btn-primary"
}`}
onClick={() => setExportType("jpg")}>
JPG
</button>
{/* WEBP
<button
className={`btn-primary btn ${
saveImageAs === "webp" && "btn-accent"
className={`btn ${
saveImageAs === "webp" && "btn-primary"
}`}
onClick={() => setExportType("webp")}>
WEBP
Expand Down

0 comments on commit 62dd93b

Please sign in to comment.