diff --git a/app.vue b/app.vue index b6156cf6..3193f277 100644 --- a/app.vue +++ b/app.vue @@ -54,6 +54,7 @@ const getLdJson = (additionalGraphes: Thing[] = []): string => { useHead((): Record => ({ htmlAttrs: { lang: locale.value, + 'data-bs-theme': colorMode.value, }, title: getTitle(), meta: [ @@ -84,7 +85,7 @@ useHead((): Record => ({ })); \ No newline at end of file diff --git a/tailwind.config.ts b/tailwind.config.ts index 80ab6b75..6e68003f 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -31,9 +31,9 @@ export default { }, }, fontFamily: { - 'title': ['Capriola', 'GenJyuuGothicX', ...defaultTheme.fontFamily.sans], - 'sans': ['Nunito', 'GenJyuuGothicX', ...defaultTheme.fontFamily.sans], - 'content-sans': ['Nunito', 'GenJyuuGothicXP', ...defaultTheme.fontFamily.sans], + 'title': ['Capriola', 'var(--mi-localized-font, \'\')', ...defaultTheme.fontFamily.sans], + 'sans': ['Nunito', 'var(--mi-localized-font, \'\')', ...defaultTheme.fontFamily.sans], + 'content-sans': ['Nunito', 'var(--mi-localized-font-p, var(--mi-localized-font))', ...defaultTheme.fontFamily.sans], } }, plugins: [], diff --git a/types/instances-info.ts b/types/instances-info.ts index d3c98a0d..408988ff 100644 --- a/types/instances-info.ts +++ b/types/instances-info.ts @@ -19,11 +19,11 @@ export type InstanceItem = { /** Icon Image existance */ icon: boolean; /** nodeinfo */ - nodeinfo: Object | null, + nodeinfo: Record | null, /** result of api/meta */ - meta: Object | null, + meta: Record | null, - stats?: Object, // deprecated (result of api/stats) + stats?: Record, // deprecated (result of api/stats) }; /** JSON Object Returned from `joinmisskey/api`. */