-
Notifications
You must be signed in to change notification settings - Fork 1.5k
docs: update theme overview and custom theme docs #6939
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
Conversation
yvonneyx
commented
Mar 27, 2025
- fixed: [Docs]: 新增文档「主题 - 主题总览」 #6937
- fixed: [Docs]: 改造文档「主题 - 自定义主题」 #6938
}, | ||
}, | ||
}; | ||
``` | ||
|
||
:::warning{title=注意} | ||
对于元素状态样式来说,请确保状态样式中的每一个属性在默认样式(style)中都有对应的默认样式,否则可能会导致无法清除状态样式。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个注意事项还是很关键吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<details><summary>查看亮色主题完整配置项</summary> | ||
|
||
```js | ||
const lightTheme = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个完整配置项透出有必要吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
方便进行自定义 覆盖。不然就是个黑盒
* fix: (iadd demon prorogress) * fix: docs/update-custom-react-node * fix: 修复Fisheye在update时,未更新this.r/this.d (#6956) * fix: 修复Fisheye在·update时,未更新this.r/this.d * fix: options.r/options.d非空判断 --------- Co-authored-by: liujiangyu <[email protected]> * docs: update antv-dagre layout document (#6958) fix #6904 Co-authored-by: 秦奇 <[email protected]> * docs: 改造Fisheye插件文档 (#6960) * docs: 添加 Snapline 插件文档和示例,更新中文和英文手册内容 * docs: 更新 Snapline 插件文档,优化使用场景描述和样式配置示例 * feat: 新增鱼眼放大镜插件文档,包含概述、使用场景、基本用法及配置项详细说明,更新中英文手册内容。 * docs: 更新鱼眼放大镜插件文档,增加样式属性和节点样式的详细说明,优化示例代码和中文翻译,删除API部分内容; --------- Co-authored-by: liujiangyu <[email protected]> * docs: 优化Watermark水印的文档 (#6963) * docs: 添加 Snapline 插件文档和示例,更新中文和英文手册内容 * docs: 更新 Snapline 插件文档,优化使用场景描述和样式配置示例 * feat: 新增鱼眼放大镜插件文档,包含概述、使用场景、基本用法及配置项详细说明,更新中英文手册内容。 * docs: 更新鱼眼放大镜插件文档,增加样式属性和节点样式的详细说明,优化示例代码和中文翻译,删除API部分内容; * docs: 更新水印插件文档,增加概述、使用场景、基本用法及配置项详细说明,优化示例代码和中英文翻译。 --------- Co-authored-by: liujiangyu <[email protected]> * docs: update antv-dagre layout document (#6965) fix #6904 Co-authored-by: 秦奇 <[email protected]> * docs(CreateEdge): 改造文档 [交互 - 内置交互 - CreateEdge 创建边] (#6962) * docs(CreateEdge): 改造文档 [交互 - 内置交互 - CreateEdge 创建边] * docs: 创建边中文文档更新 * docs: 内置交互-createEdge创建边文档删除销毁交互实例部分 * chore(site): optimize ssr in production env (#6970) * docs: update theme overview and custom theme docs (#6939) * docs: 更新主题总览和自定义主题文档 * docs: update toc * chore: pin dumi version to 2.4.17 (#6973) * fix: (iadd demon prorogress) * fix: docs/update-custom-react-node * fix: docs/update-custom-node-react * fix: EdgeFilterLens在触发update时,options.r未赋值给this.r,导致配置未生效;fix: style option的ts类型应该使用CircleStyleProps (#6976) * fix: 当触发update时,options.r未赋值给this.r,导致配置未生效 fix: style option的ts类型应该使用CircleStyleProps * chore: defaultLensStyle改为使用CircleStyleProps,与fisheye plugin保持一致 * chore: 更新edge-filter-lens插件,CircleStyleProps的导入方式增加type前缀 --------- Co-authored-by: liujiangyu <[email protected]> * fix: fix g6-ssr (#6984) * feat(g6-extension-react): react 19 compatibility support (#6972) * feat(g6-extension-react): react 19 compatibility support * fix: test failed * chore(g6-extension-react): 更新 React 和相关类型定义至 19 版本,调整 createRoot 初始化逻辑以支持 React 18+ 的动态导入 * chore(g6-extension-react): 启用动态导入以支持更灵活的模块加载 * fix: 更新 react-dom 引用以支持 React 18+ 的新客户端 API * docs: 优化EdgeFilterLens边过滤镜文档,更新中英文手册内容 (#6975) * docs: 添加边过滤镜插件文档,包含概述、使用场景、基本用法及配置项详细说明,更新中英文手册内容 * docs: 更新EdgeFilterLens文档,增加完整样式属性的参考链接,更新中英文手册内容 --------- Co-authored-by: liujiangyu <[email protected]> * chore: update version (#6985) * docs: update demo links from Codesandbox to Stackblitz (#7000) * fix: 更新fisheye demo里的style属性,与缩略图保持一致 (#7001) Co-authored-by: liujiangyu <[email protected]> * fix: docs/update-custom-node-react * fix: (iadd demon prorogress) * fix: docs/update-custom-react-node * fix: docs/update-custom-node-react * fix: docs/update-custom-node-react rebase origin/v5 --------- Co-authored-by: jiangyu <[email protected]> Co-authored-by: liujiangyu <[email protected]> Co-authored-by: ChiGao <[email protected]> Co-authored-by: 秦奇 <[email protected]> Co-authored-by: avrinfly <[email protected]> Co-authored-by: Yuxin <[email protected]> Co-authored-by: Aaron <[email protected]>