mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 16:03:09 +02: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