Commit 21971a4d by Ivana Huckova Committed by GitHub

Update bg color based on theme (#26359)

parent 5fe27ee9
......@@ -44,12 +44,13 @@ to{
}`;
export const getLoginStyles = (theme: GrafanaTheme) => {
const bgColor = theme.isDark ? theme.palette.black : theme.palette.white;
return {
container: css`
min-height: 100vh;
background-position: center;
background-repeat: no-repeat;
background-color: ${theme.palette.black};
background-color: ${bgColor};
min-width: 100%;
margin-left: 0;
display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment