Skip to content

Commit

Permalink
Add Background (#1347)
Browse files Browse the repository at this point in the history
* copied svg from enterprise

* added bg
  • Loading branch information
joshri committed Jan 26, 2022
1 parent 8a9c186 commit e59e533
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 0 additions & 3 deletions ui/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,12 @@ const StyleLinkTab = styled(LinkTab)`
}
`;

const negativeSpaceColor = "#E6E6E6";

const AppContainer = styled.div`
width: 100%;
overflow-x: hidden;
height: 100%;
margin: 0 auto;
padding: 0;
background-color: ${negativeSpaceColor};
`;

const NavContainer = styled.div`
Expand Down
Binary file added ui/images/General-backgroundok.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion ui/lib/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
import { createTheme } from "@material-ui/core";
// eslint-disable-next-line
import { createGlobalStyle, DefaultTheme } from "styled-components";
//@ts-ignore
import bg from "../images/General-backgroundok.png";

const baseSpacingNumber = 16;

export const theme: DefaultTheme = {
Expand Down Expand Up @@ -85,8 +88,11 @@ export const GlobalStyle = createGlobalStyle`
padding: 0;
margin: 0;
min-width: fit-content;
background: right bottom url(${bg}) no-repeat fixed ${
theme.colors.neutral10
};
background-size: 100%;
}
.auth-modal-size {
min-height: 475px
}
Expand Down

0 comments on commit e59e533

Please sign in to comment.