mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
allow custom themes
This commit is contained in:
parent
ccd968bbf5
commit
03fe12baf2
1 changed files with 4 additions and 8 deletions
|
@ -3,15 +3,11 @@ import React from 'react';
|
||||||
const Theme = props => {
|
const Theme = props => {
|
||||||
const { themePath } = props;
|
const { themePath } = props;
|
||||||
|
|
||||||
// Force light mode while until dark mode is ready
|
if (!themePath) {
|
||||||
// This is so we don't have to change users settings for them
|
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
// if (!themePath) {
|
return <link href={themePath} rel="stylesheet" type="text/css" media="screen,print" />;
|
||||||
// return null;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// return <link href={themePath} rel="stylesheet" type="text/css" media="screen,print" />;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Theme;
|
export default Theme;
|
||||||
|
|
Loading…
Add table
Reference in a new issue