From b918b6383b9819eb6385668a8307334c32a32b49 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 23 Apr 2021 17:57:48 +0900 Subject: [PATCH] improve client --- src/client/init.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/init.ts b/src/client/init.ts index 8926b3553..a4465d75c 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -40,6 +40,11 @@ if ((typeof ColdDeviceStorage.get('lightTheme') === 'string') || (typeof ColdDev ColdDeviceStorage.set('lightTheme', require('@client/themes/l-light.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_) { console.warn('Development mode!!!');