yhtml5-test
Version:
A test framework for front-end projects
43 lines (37 loc) • 975 B
JavaScript
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var black = '#293238',
darkGray = '#878e91',
red = '#ce1126',
redTransparent = 'rgba(206, 17, 38, 0.05)',
lightRed = '#fccfcf',
yellow = '#fbf5b4',
yellowTransparent = 'rgba(251, 245, 180, 0.3)',
white = '#ffffff';
var iframeStyle = {
position: 'fixed',
top: '0',
left: '0',
width: '100%',
height: '100%',
border: 'none',
'z-index': 2147483647
};
var overlayStyle = {
width: '100%',
height: '100%',
'box-sizing': 'border-box',
'text-align': 'center',
'background-color': white
};
var primaryErrorStyle = {
'background-color': lightRed
};
var secondaryErrorStyle = {
'background-color': yellow
};
export { iframeStyle, overlayStyle, primaryErrorStyle, secondaryErrorStyle, black, darkGray, red, redTransparent, yellowTransparent };