highlight active remote

This commit is contained in:
controlol 2021-11-03 22:49:37 +01:00
parent 8d7375af4f
commit 81e0d5fbdc
2 changed files with 2 additions and 1 deletions

View File

@ -93,4 +93,5 @@ export const RemoteButton = styled(Button)`
text-align: left; text-align: left;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
background-color: ${({active}) => active ? "var(--button-hover)" : "var(--button-color)"}
` `

View File

@ -30,7 +30,7 @@ class Settings extends Component {
"--text-color": "#fff", "--text-color": "#fff",
"--text-hover": "#eee", "--text-hover": "#eee",
"--button-color": "#111", "--button-color": "#111",
"--button-hover": "#181818" "--button-hover": "#1a1a1a"
} }
} }