From 87a2928270e66cbe11cb9f85a4493002948b6908 Mon Sep 17 00:00:00 2001 From: ThrRip Date: Sun, 24 Dec 2023 06:13:04 +0800 Subject: [PATCH] [all]: Add a background for `` for overscroll styling --- packages/admin/nuxt.config.ts | 3 ++- packages/home/nuxt.config.ts | 3 ++- tailwind.config.ts | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/admin/nuxt.config.ts b/packages/admin/nuxt.config.ts index 0502696..20bb621 100644 --- a/packages/admin/nuxt.config.ts +++ b/packages/admin/nuxt.config.ts @@ -5,7 +5,8 @@ export default defineNuxtConfig({ charset: 'utf-8', viewport: 'width=device-width, initial-scale=1', htmlAttrs: { - lang: 'zh' + lang: 'zh', + class: 'bg-white-alt' }, title: '管理面板 | 洺知-故犯', meta: [ diff --git a/packages/home/nuxt.config.ts b/packages/home/nuxt.config.ts index d935e83..a2c1d05 100644 --- a/packages/home/nuxt.config.ts +++ b/packages/home/nuxt.config.ts @@ -4,7 +4,8 @@ export default defineNuxtConfig({ charset: 'utf-8', viewport: 'width=device-width, initial-scale=1', htmlAttrs: { - lang: 'zh' + lang: 'zh', + class: 'bg-white-alt' }, title: '洺知-故犯', meta: [ diff --git a/tailwind.config.ts b/tailwind.config.ts index a6576b0..99ce219 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -2,6 +2,7 @@ import type { Config } from 'tailwindcss' export default { content: [ + './nuxt.config.ts', './app.vue', './pages/**/*.vue', './components/**/*.vue'