File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 137137 "dependencies" : {
138138 "chalk" : " ^1.1.3" ,
139139 "compression" : " ^1.6.2" ,
140+ "csstips" : " 0.0.3" ,
141+ "csx" : " ^8.2.1" ,
140142 "es6-promise" : " ^4.0.5" ,
141143 "express" : " ^4.14.0" ,
142144 "history" : " ^4.5.1" ,
Original file line number Diff line number Diff line change @@ -2,34 +2,19 @@ const appConfig = require('../../../config/main');
22
33import * as React from 'react' ;
44import * as Helmet from 'react-helmet' ;
5- import { style , cssRule } from 'typestyle' ;
6- import { SiteStyles } from '../SiteStyles ' ;
5+ import { cssRaw , style , cssRule } from 'typestyle' ;
6+ import { normalize , setupPage } from 'csstips ' ;
77import { Header } from 'components' ;
88
9- // Define base stylings here
10- // Registering a CSS rule cannot use properties with nested styles
11-
12- cssRule ( 'html' , {
13- boxSizing : 'border-box' ,
14- } ) ;
15-
16- cssRule ( '*, *:before, *:after' , {
17- boxSizing : 'inherit' ,
9+ // Global style
10+ cssRaw ( `@import url('https://fonts.googleapis.com/css?family=Roboto');` ) ;
11+ normalize ( ) ;
12+ cssRule ( `body` , {
13+ fontFamily : 'Roboto' ,
1814} ) ;
15+ setupPage ( '#app' ) ;
1916
20- cssRule ( 'body' ,
21- SiteStyles . backgroundColor ,
22- ) ;
23-
24- cssRule ( 'a' ,
25- SiteStyles . linkColor ,
26- { textDecoration : 'none' } ,
27- ) ;
28-
29- cssRule ( 'a:hover' ,
30- SiteStyles . linkColorOnHovered ,
31- ) ;
32-
17+ // App container style
3318const Styles = {
3419 container : style ( {
3520 padding : 0 ,
You can’t perform that action at this time.
0 commit comments