File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed
Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import PropTypes from 'prop-types' ;
33import styled from 'styled-components' ;
4+ import { prop , remSize } from '../../../theme' ;
5+
6+ const background = prop ( 'Button.default.background' ) ;
7+ const textColor = prop ( 'primaryTextColor' ) ;
48
59const Header = styled . div `
610 width: 100%;
7- color: orange;
8- background: red;
11+ background-color: ${ background } !important;
12+ color: ${ textColor } ;
13+ padding-left: ${ remSize ( 32 ) } ;
914` ;
1015
1116const Footer = styled . div `
1217 width: 100%;
13- color: orange;
14- background: blue;
1518 position: absolute;
1619 bottom: 0;
20+ background: ${ background } ;
21+ color: ${ textColor } ;
22+ padding-left: ${ remSize ( 32 ) } ;
1723` ;
1824
1925const Screen = ( { children } ) => (
@@ -27,7 +33,11 @@ Screen.propTypes = {
2733
2834export default ( ) => (
2935 < Screen >
30- < Header > < h1 > Test</ h1 > </ Header >
31- < Footer > < h1 > Actionbar</ h1 > </ Footer >
36+ < Header > < h1 > Mobile View</ h1 > </ Header >
37+ < h3 >
38+ < br /> This page is under construction.
39+ < br /> < a href = "/?ignoremobile" > Click here</ a > to return to the regular editor
40+ </ h3 >
41+ < Footer > < h1 > Bottom Bar</ h1 > </ Footer >
3242 </ Screen >
3343) ;
Original file line number Diff line number Diff line change @@ -111,8 +111,11 @@ export default {
111111 foreground : grays . light ,
112112 background : grays . dark ,
113113 border : grays . middleDark ,
114+
114115 } ,
115116 } ,
117+
118+
116119 } ,
117120 [ Theme . contrast ] : {
118121 colors,
You can’t perform that action at this time.
0 commit comments