mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 19:56:43 -06:00
improve client
This commit is contained in:
parent
9d8ffe9911
commit
b918b6383b
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@ if ((typeof ColdDeviceStorage.get('lightTheme') === 'string') || (typeof ColdDev
|
||||||
ColdDeviceStorage.set('lightTheme', require('@client/themes/l-light.json5'));
|
ColdDeviceStorage.set('lightTheme', require('@client/themes/l-light.json5'));
|
||||||
ColdDeviceStorage.set('darkTheme', require('@client/themes/d-dark.json5'));
|
ColdDeviceStorage.set('darkTheme', require('@client/themes/d-dark.json5'));
|
||||||
}
|
}
|
||||||
|
const link = document.createElement('link');
|
||||||
|
link.rel = 'stylesheet';
|
||||||
|
link.href = 'https://use.fontawesome.com/releases/v5.15.3/css/all.css';
|
||||||
|
document.head.appendChild(link);
|
||||||
|
// TODOここまで
|
||||||
|
|
||||||
if (_DEV_) {
|
if (_DEV_) {
|
||||||
console.warn('Development mode!!!');
|
console.warn('Development mode!!!');
|
||||||
|
|
Loading…
Reference in a new issue