ant-design / ant-design-pro

πŸ‘¨πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’» Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.43k stars 8.14k forks source link

πŸ›[BUG] Light menu in dark theme? #8601

Closed loia5tqd001 closed 3 years ago

loia5tqd001 commented 3 years ago

πŸ› bug 描述

I expect the menu to be in dark theme in this case but it's light.

image

πŸ“· 倍现ζ­₯ιͺ€

  1. Go to https://preview.pro.ant.design/dashboard/analysis?primaryColor=%231890ff&fixSiderbar=true&colorWeak=false&pwa=false&layout=top&contentWidth=Fixed
  2. Narrow down screen width so that it displays the three dots symbol
  3. Hover on it.
marcustut commented 3 years ago

If you're using v5, you'll need to go to config.ts and add this to the antd variable

  antd: {
    dark: true,
  },
loia5tqd001 commented 3 years ago

If you're using v5, you'll need to go to config.ts and add this to the antd variable

  antd: {
    dark: true,
  },

No I don't want the dark theme. I only want that weird dropdown navigation to be dark as the rest of the Menu (Please look at the red rectangle in my capture in the opening of the issue to know what I mean).

chenshuai2144 commented 3 years ago

This is a bug that we'll fix this week