blob: a471ad3984c200f1d593672ac8e960197c3cdd91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
const _path = _interopRequireDefault(require('path'));
module.exports = Ferdium => {
Ferdium.handleDarkMode(isEnabled => {
localStorage.setItem('theme', isEnabled ? 'dark' : 'light');
});
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
|