JetBrains / react-buddy-ide-toolbox

@react-buddy/ide-toolbox and palette packages
Apache License 2.0
60 stars 5 forks source link

Fix antd palette preview cosmetic issues #56

Closed lovtsovaik closed 1 year ago

lovtsovaik commented 1 year ago

palette-antd 4.2.0-dev.2

  1. Suggest to add previewLayout={"stretch"} into Variant for the next components:

    • Carousel,
    • Grid,
    • Slider,
    • Timeline with modes
  2. Menu(horizontal). It seems we need to remove defaultOpenKeys because opened popup overlaps the menu itself: image

  3. Switchers in Carousel are white and are vor visible. They can be visible only not-white background image Suggest to make the switchers black, as a text.

lovtsovaik commented 1 year ago

Grid, slider, menu - ok

  1. Timeline now contains extra Menu component: image

  2. Carousel has a blue background instead of black switchers image

New problems after formatting (https://github.com/react-buddy/demo-antd-v4/commit/b85aca31975c13ed302d3760c2a8942924f11e4b):

HegelPro commented 1 year ago

@lovtsovaik

  1. The blue color has been taking from antd doc

About adding formatting, we need to discuss whether to add or not