<button
type="submit"
name="submit"
color="primary"
className="test-class"
style={{
background: "var(--back-color)",
borderRadius: "5px",
color: "var(--text-color)",
cursor: "pointer",
padding: "10px",
border: "none",
fontSize: "1rem",
":focus": {
outline: "none",
},
}}
>
LOGIN
</button>
and if I change ":focus"
to "&:focus"
, it still doesn't work.