fix: force light mode
This commit is contained in:
parent
a69fdfc523
commit
66b63a27c7
1 changed files with 8 additions and 4 deletions
|
@ -3,11 +3,15 @@ import React from 'react';
|
|||
const Theme = props => {
|
||||
const { themePath } = props;
|
||||
|
||||
if (!themePath) {
|
||||
return null;
|
||||
}
|
||||
// Force light mode while until dark mode is ready
|
||||
// This is so we don't have to change users settings for them
|
||||
return null;
|
||||
|
||||
return <link href={themePath} rel="stylesheet" type="text/css" media="screen,print" />;
|
||||
// if (!themePath) {
|
||||
// return null;
|
||||
// }
|
||||
//
|
||||
// return <link href={themePath} rel="stylesheet" type="text/css" media="screen,print" />;
|
||||
};
|
||||
|
||||
export default Theme;
|
||||
|
|
Loading…
Add table
Reference in a new issue