当您在 Confluence Cloud 中编辑图表时,管理员可以通过在 draw.io 配置设置中的 JSON 配置代码中添加一些 CSS 来设置要在 draw.io 菜单栏中使用的自定义颜色。每当用户创建或编辑图表时,默认使用特定的 draw.io 主题以类似的方式完成。
{
"css": ".geMenubarContainer { background-color: #F08705 !important; } .geMenubar { background-color: #F08705 !important; }“,
"ui": "kennedy"
}
您可以在 Confluence Cloud 中将四个 draw.io 主题设置为默认主题。
kennedy: Kennedy 主题的菜单左侧没有 draw.io 徽标。 | atlassian:默认的 Atlassian 主题使用 Atlassian 颜色并包含 draw.io 徽标。 |
深色:深色主题适用于喜欢在深色背景上工作的用户。 | min: Minimal 主题向您显示更大的绘图画布,并使用浮动面板而不是固定面板来进行形状库和格式设置。 |
在draw.io Board宏中默认使用更简单的类似白板的编辑器主题。
Administrators can set a custom colour to be used in the draw.io menu bar that appears when you edit a diagram in Confluence Cloud by adding some CSS to the JSON configuration code in the draw.io Configuration settings. Setting a specific draw.io theme to be used by default whenever users create or edit a diagram is done in a similar way.
{
"css": ".geMenubarContainer { background-color: #F08705 !important; } .geMenubar { background-color: #F08705 !important; }“,
"ui": "kennedy"
}
There are four draw.io themes you can set as the default in Confluence Cloud.
kennedy: The Kennedy theme has no draw.io logo to the left of the menu. | atlassian: The default Atlassian theme uses the Atlassian colours and includes the draw.io logo. |
dark: The Dark theme is for users who prefer working on a dark background. | min: The Minimal theme shows you a larger drawing canvas and uses floating instead of fixed panels for shape libraries and format settings. |
The simpler whiteboard-like editor theme is used by default in the draw.io Board macro.
Learn how to use the draw.io Board macro