summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/Layout.tsx
blob: 500084e5b12f48d97601a67e2aef23e27b394204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import styled from 'styled-components';

import { colors } from '../../config.json';
import HeaderBar from './HeaderBar';

export const Header = styled(HeaderBar)({
  flex: 0,
});

export const Container = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
  backgroundColor: colors.blue,
  overflow: 'hidden',
});

export const SettingsContainer = styled(Container)({
  backgroundColor: colors.darkBlue,
});

export const Layout = styled.div({
  display: 'flex',
  flexDirection: 'column',
  flex: 1,
  height: '100vh',
});