美人鱼 - 降价中的样式课程图
您好,我会设计一个由美人鱼定义的课程图。我需要将此图集成到Markdown文档(无CSS自定义)中。
%%{init: {'theme': 'dark'}}%%
classDiagram
class Company {
id: string
cognito_sub: string
first_name: string
last_name: string
phone: Phone
email: string
tax_code: string
birth_date: number
birth_place: string
img_url: string
origin: string
status: CustomerStatus
note: Note[]
created_at: number
updated_at: number
}
我会改变背景和边框颜色。我不能使用CSS,因为我需要在概念文档上集成此图。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
themevariables
内部自定义图表 init block,例如:有关可访问变量的更多信息:
You can customise diagram with
themeVariables
insideinit
block, for example:More information about accessible variables: https://mermaid-js.github.io/mermaid/#/./theming?id=theme-variables-reference-table