Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛defineSiteConfig中title的颜色似乎使用unocss定义了,无法响应themeConfig中的color的选择 #503

Open
3 tasks done
Crpto999 opened this issue Feb 8, 2025 · 0 comments

Comments

@Crpto999
Copy link

Crpto999 commented Feb 8, 2025

Describe the bug

const classes = ref('site-name text-lg leading-loose bg-gradient-to-r gradient-text from-#1e3c72 to-dark dark:(from-#66a6ff to-blue-500)')

不优雅~

另外似乎 banner的enable配置项不能工作,云佬2年前使用v-if修复过这个问题, 但是现在的版本似乎去掉了v-if这里的修复?

Reproduction

node_modules\valaxy-theme-yun\components\site\YunSiteTitle.vue

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 4.82 GB / 31.87 GB
  Binaries:
    Node: 22.13.1 - D:\Software\Envs\nodejs\node.EXE
    npm: 10.9.2 - D:\Software\Envs\nodejs\npm.CMD
    pnpm: 10.2.1 - D:\Software\Envs\nodejs\node_global\pnpm.CMD
  Browsers:
    Edge: Chromium (130.0.2849.68)

Used Package Manager

pnpm

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant