Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use opacity instead of text color
Browse files Browse the repository at this point in the history
xbtmatt authored Nov 8, 2024
1 parent 9f7fedf commit 5fdea19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ export const TradeOptions: React.FC<TradeOptionsProps> = ({ onClose, onMaxSlippa
<div className="med-pixel-text flex flex-row justify-between gap-[32px]">
<div className="mt-[3px] med-pixel-text flex flex-row justify-between gap-[16px]">
<span
className={`${maxSlippageMode === "auto" ? "text-black" : "text-dark-gray"} font-pixelar text-2xl cursor-pointer`}
className={`${maxSlippageMode === "auto" ? "opacity-100" : "opacity-30"} text-black font-pixelar text-2xl cursor-pointer`}
onClick={() => {
setMaxSlippageMode("auto");
SlippageSettings.setMaxSlippageMode("auto");

0 comments on commit 5fdea19

Please sign in to comment.