Skip to content

Commit 6bb19d8

Browse files
authored
[HUD] Change regex toggle color (mostly for dark mode) (#7407)
In light mode, it got slightly darker (and probably also changed hues a bit) In dark mode, it became lighter (previously was pretty much unnoticeable) Old: <img width="494" height="120" alt="image" src="https://github.com/user-attachments/assets/07575507-b0e3-4081-96db-4448c58f17e9" /> <img width="439" height="70" alt="image" src="https://github.com/user-attachments/assets/3a1e4c69-e93f-4fe4-88e3-22da8ff8b47f" /> New: <img width="470" height="84" alt="image" src="https://github.com/user-attachments/assets/0ecb0a7a-9f4a-4b88-9373-13c5affcb943" /> <img width="494" height="97" alt="image" src="https://github.com/user-attachments/assets/a57759c3-efc3-4b31-9dc0-a0a64389401a" />
1 parent 2c864a6 commit 6bb19d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

torchci/components/common/RegexButton.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export default function RegexButton({
2424
borderColor: "transparent",
2525
fontFamily: "monospace",
2626
color: "inherit",
27-
backgroundColor: isRegex ? "rgba(63, 81, 181, 0.1)" : "transparent",
27+
backgroundColor: isRegex
28+
? "rgba(182, 196, 223, 0.33)"
29+
: "transparent",
2830
}}
2931
variant="outlined"
3032
onClick={() => setIsRegex(!isRegex)}

0 commit comments

Comments
 (0)