Skip to content

Commit

Permalink
Get css files working, see #26
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Jul 23, 2019
1 parent 5bc502b commit a83a52a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions react-binder/src/pages/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

:root {

/* fonts */
--default-font-family: 'Roboto', sans-serif;
--default-font-size: 16px;
}
5 changes: 5 additions & 0 deletions react-binder/src/pages/index/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import "../common.css";

#index-page {
text-align: center;
}
2 changes: 1 addition & 1 deletion react-binder/src/pages/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// imports
import React from 'react';
import './index.less';
import './index.css';

export default class IndexPage extends React.Component {
constructor( props ) {
Expand Down

0 comments on commit a83a52a

Please sign in to comment.