mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
Update bg color based on theme (#26359)
This commit is contained in:
parent
5fe27ee959
commit
21971a4df8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user