Skip to content

If using dark theme #6376

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

Closed
1 task
zhou5631 opened this issue Mar 23, 2023 · 3 comments
Closed
1 task

If using dark theme #6376

zhou5631 opened this issue Mar 23, 2023 · 3 comments

Comments

@zhou5631
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.3.0-beta.4

Environment

ant-design-vue4.0

Reproduction link

https://next.antdv.com/docs/vue/customize-theme-cn

Steps to reproduce

  options: {
    lessOptions: { // 如果使用less-loader@5,请移除 lessOptions 这一级直接配置选项。
      modifyVars: getThemeVariables({
        dark: true, // 开启暗黑模式
      }),
      javascriptEnabled: true,
    },
  },

What is expected?

由于4.0没有CSS文件了,暗黑主题官方文档还是3.0的模板

What is actually happening?

现在应该怎么样使用暗黑主题呢

@github-actions github-actions bot changed the title 如果使用暗黑主题 If using dark theme Mar 23, 2023
@songpeng154
Copy link

找到解决办法了吗?我也是找不到设置暗黑主题的地方

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants