uni-helper / vitesse-uni-app

由 Vite & uni-app 驱动的跨端快速启动模板
https://vitesse-docs.netlify.app/
MIT License
315 stars 31 forks source link

prefers-color-scheme #13

Closed nigiwen closed 1 year ago

nigiwen commented 1 year ago

描述问题

请问在代码中我怎么才能设置默认亮色主题?或者将其移除。

复现

image

系统信息

System:
    OS: Windows 10 10.0.19044
    CPU: (4) x64 Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
    Memory: 1.87 GB / 15.92 GB
  Binaries:
    Node: 16.13.0 - D:\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 8.1.0 - D:\nodejs\npm.CMD
    pnpm: 8.0.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.82)
    Internet Explorer: 11.0.19041.1566

使用的包管理器

pnpm

核对

nigiwen commented 1 year ago

image

yun8711 commented 3 months ago

image

这个配置应该写在哪里,具体哪个配置文件中?

yun8711 commented 3 months ago

image

这个配置应该写在哪里,具体哪个配置文件中?

找到了,在 manifest.confit.ts 中配置