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; 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; transition-property: max-height, margin-bottom;

View file

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