@skydive-project/skydive-ui
Version:
Skydive WebUI v2
64 lines (62 loc) • 1.53 kB
text/typescript
/*
* Copyright (C) 2019 Sylvain Afchain
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
import { createStyles, Theme } from '@material-ui/core'
export const styles = (theme: Theme) => createStyles({
'@global': {
body: {
backgroundColor: theme.palette.common.black
}
},
paper: {
padding: theme.spacing(4),
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
backgroundColor: theme.palette.common.white,
borderRadius: 5
},
form: {
width: '100%',
marginTop: theme.spacing(1)
},
submit: {
margin: theme.spacing(3, 0, 2)
},
error: {
color: '#bb2c2c'
},
failure: {
color: '#bb2c2c',
fontSize: 18
},
logo: {
marginTop: theme.spacing(12),
marginBottom: theme.spacing(2),
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
},
logoImg: {
width: '40%',
height: 'auto'
},
logoTitle: {
color: theme.palette.common.white,
fontStyle: 'italic',
fontWeight: 400
}
})