Changed Card background to Alt if available for better visibility

This commit is contained in:
Neshura 2023-03-17 00:33:13 +01:00
parent 9a6db5128a
commit e8245d41b5
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 4 additions and 2 deletions

View file

@ -45,7 +45,7 @@ const Card = styled.div<OnlinePropType>`
}
return ret;
}};
background-color: ${({ theme }) => theme.colors.background};
background-color: ${({ theme }) => theme.colors.backgroundAlt ? theme.colors.backgroundAlt : theme.colors.background};
transition-property: max-height, margin-bottom;

View file

@ -17,6 +17,7 @@
"themeId": 1,
"colors": {
"background": "#161616",
"backgroundAlt": "#000000",
"primary": "#00AAFF",
"secondary": "#FF5500",
"online": "#2BFF00",
@ -29,6 +30,7 @@
"themeId": 2,
"colors": {
"background": "#000000",
"backgroundAlt": "#161616",
"primary": "#00AAFF",
"secondary": "#FF5500",
"online": "#2BFF00",
@ -41,6 +43,7 @@
"themeId": 3,
"colors": {
"background": "#000000",
"backgroundAlt": "#161616",
"primary": "#886aff",
"secondary": "#E1FF6A",
"online": "#00ff00",
@ -55,7 +58,6 @@
"backgroundOffset": "60%",
"colors": {
"background": "#0008",
"backgroundAlt": "#000d",
"primary": "#ccc",
"secondary": "#00C7C7",
"online": "#00ff00",