Skip to content

Commit

Permalink
Merge pull request #261 from meetfranz/feature/branding
Browse files Browse the repository at this point in the history
Fix app loader spinner color
  • Loading branch information
adlk committed Nov 12, 2017
2 parents 0643cee + cc4147f commit 48fe63a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/AppLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function () {
<div className="app-loader">
<Appear>
<h1 className="app-loader__title">Franz</h1>
<Loader />
<Loader color="#FFF" />
</Appear>
</div>
);
Expand Down
5 changes: 4 additions & 1 deletion src/components/ui/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,22 @@ export default class LoaderComponent extends Component {
children: oneOrManyChildElements,
loaded: PropTypes.bool,
className: PropTypes.string,
color: PropTypes.string,
};

static defaultProps = {
children: null,
loaded: false,
className: '',
color: '#373a3c',
};

render() {
const {
children,
loaded,
className,
color,
} = this.props;

return (
Expand All @@ -30,7 +33,7 @@ export default class LoaderComponent extends Component {
// lines={10}
width={4}
scale={0.6}
color="#373a3c"
color={color}
component="span"
className={className}
>
Expand Down

0 comments on commit 48fe63a

Please sign in to comment.