幻城
幻城
如果有想法想feat component的话,在兼容暗黑模式,有几个规范需要告诉你: 1. Concis目前提供暗黑主题,在文档显示需要兼容,开发组件需要在样式文件中提供两套类名,如concis-button(light) / concis-dark-button(dark); 2. 在组件代码中需根据GlobalConfig context中darkTheme来判断用户项目是否开启深色模式,开启即使用concis-dark-component类。  参考之前组件的模板就好,写的很清楚,集成所有类名,给组件原本类名加一个判断就可以,后续推出其他主题可能会改变写法,先暂时这么做。
修改Tabs组件`type`=`card`或`type`=`card-gutter`、`tabPosition`=`left | right | top | bottom`时样式错乱的问题。 ## Types of changes - [ ] New feature - [ ] Bug fix - [ ] Enhancement - [ ] Documentation change...
Modify the problem that the header line is in the wrong position when the Tabs component is in type=line, tabPosition=bottom. 修改Tabs组件在type=line、tabPosition=bottom时,header线位置错误的问题。 ## Types of changes - [ ] New feature...
修复暗黑模式下Tabs组件为type=capsule & disabled时仍有hover效果的问题  - [ ] New feature - [ ] Bug fix - [ ] Enhancement - [ ] Documentation change - [ ] Coding style change -...
修改文档: Tabs组件position案例中的props为tabPosition  ## Types of changes - [ ] New feature - [ ] Bug fix - [ ] Enhancement - [x] Documentation change - [ ] Coding style...
修复文档Form组件中输入框自动提示在Chorme中的bug ## Types of changes - [ ] New feature - [x] Bug fix - [ ] Enhancement - [ ] Documentation change - [ ] Coding style change -...
如图:  
dumi-theme-mobile主题页面向下滚动,iframe会自动刷新到url根目录 首次加载:  向下滚动一段距离,再回到页面顶部:  ### Versions - dumi:1.1.40 - node:16.13.2 - npm:8.1.2 - OS:macOS - Browser:Google browser ### Steps to reproduce 1. dumi安装mobile主题。 2. 支持mobile的demo,首次进入页面,mobile iframe显示正常。 3. 页面向下滚动。 4....