瀏覽代碼

更新主题色

xiaolin.fu 1 年之前
父節點
當前提交
ff78667278
共有 4 個文件被更改,包括 19 次插入11 次删除
  1. 4 4
      next.config.mjs
  2. 二進制
      public/9f/logo.webp
  3. 14 6
      src/app/globals.css
  4. 1 1
      src/components/Header/HerderTitle.tsx

+ 4 - 4
next.config.mjs

@@ -5,11 +5,11 @@ const withNextIntl = createNextIntlPlugin();
 
 /** @type {import('next').NextConfig} */
 const nextConfig = {
-    reactStrictMode: true,
+  reactStrictMode: true,
   transpilePackages: ['antd-mobile'],
-    sassOptions: {
-      prependData: `@import "./src/styles/variables.scss";`
-    },
+  sassOptions: {
+    prependData: `@import "./src/styles/variables.scss";`
+  },
   images: {
     remotePatterns: [
       {

二進制
public/9f/logo.webp


+ 14 - 6
src/app/globals.css

@@ -19,14 +19,10 @@
   --swiper-pagination-bullet-inactive-color: hsla(0, 0%, 100%, .8);
 
   --adm-color-text: #fff;
-}
-html, body {
-    width: 100vw;
-    height: 100%;
-    min-height: 80%;
-    font-family: helvetica neue, Helvetica, apple sd gothic neo, malgun gothic, Arial, sans-serif;
+  --bg-color:#000000;
 }
 
+
 html {
     font-size: 144px;
 }
@@ -35,6 +31,15 @@ html {
   width: 0;
 }
 
+html, body {
+  /* width: 100vw; */
+  height: 100%;
+  min-height: 80%;
+  font-family: helvetica neue, Helvetica, apple sd gothic neo, malgun gothic, Arial, sans-serif;
+  overflow: hidden;
+  background: #f8f8f8;
+}
+
 #app {
     max-width: 4.02rem;
     width: 100vw;
@@ -42,6 +47,7 @@ html {
     margin: 0 auto;
     font-size: 0.14rem;
     position: relative;
+    background-color: var(--bg-color);
 }
 
 
@@ -52,3 +58,5 @@ html {
 .adm-input input{
   color: #fff;
 }
+
+

File diff suppressed because it is too large
+ 1 - 1
src/components/Header/HerderTitle.tsx


Some files were not shown because too many files changed in this diff