mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-11 20:19:51 +08:00
feat: add all Draw.io themes to settings panel (#499)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// Draw.io UI themes configuration
|
||||
export type DrawioTheme = "kennedy" | "simple" | "min" | "sketch" | "atlas"
|
||||
|
||||
export const DRAWIO_THEMES: DrawioTheme[] = [
|
||||
"kennedy",
|
||||
"simple",
|
||||
"min",
|
||||
"sketch",
|
||||
"atlas",
|
||||
]
|
||||
|
||||
export const DEFAULT_DRAWIO_THEME: DrawioTheme = "min"
|
||||
@@ -94,10 +94,14 @@
|
||||
"theme": "Theme",
|
||||
"themeDescription": "Dark/Light mode for interface and DrawIO canvas.",
|
||||
"drawioStyle": "DrawIO Style",
|
||||
"drawioStyleDescription": "Canvas style:",
|
||||
"switchTo": "Switch to",
|
||||
"minimal": "Minimal",
|
||||
"sketch": "Sketch",
|
||||
"drawioStyleDescription": "Choose canvas UI theme.",
|
||||
"themes": {
|
||||
"classic": "Classic",
|
||||
"simple": "Simple",
|
||||
"minimal": "Minimal",
|
||||
"sketch": "Sketch",
|
||||
"atlas": "Atlas"
|
||||
},
|
||||
"closeProtection": "Close Protection",
|
||||
"closeProtectionDescription": "Show confirmation when leaving the page.",
|
||||
"diagramStyle": "Diagram Style",
|
||||
|
||||
@@ -94,10 +94,14 @@
|
||||
"theme": "テーマ",
|
||||
"themeDescription": "インターフェースと DrawIO キャンバスのダーク/ライトモード。",
|
||||
"drawioStyle": "DrawIO スタイル",
|
||||
"drawioStyleDescription": "キャンバススタイル:",
|
||||
"switchTo": "切り替え",
|
||||
"minimal": "ミニマル",
|
||||
"sketch": "スケッチ",
|
||||
"drawioStyleDescription": "キャンバスUIテーマを選択。",
|
||||
"themes": {
|
||||
"classic": "クラシック",
|
||||
"simple": "シンプル",
|
||||
"minimal": "ミニマル",
|
||||
"sketch": "スケッチ",
|
||||
"atlas": "アトラス"
|
||||
},
|
||||
"closeProtection": "ページ離脱確認",
|
||||
"closeProtectionDescription": "ページを離れる際に確認を表示します。",
|
||||
"diagramStyle": "ダイアグラムスタイル",
|
||||
|
||||
@@ -94,10 +94,14 @@
|
||||
"theme": "主题",
|
||||
"themeDescription": "界面和 DrawIO 画布的深色/浅色模式。",
|
||||
"drawioStyle": "DrawIO 样式",
|
||||
"drawioStyleDescription": "画布样式:",
|
||||
"switchTo": "切换到",
|
||||
"minimal": "简约",
|
||||
"sketch": "草图",
|
||||
"drawioStyleDescription": "选择画布 UI 主题。",
|
||||
"themes": {
|
||||
"classic": "经典",
|
||||
"simple": "简易",
|
||||
"minimal": "极简",
|
||||
"sketch": "草图",
|
||||
"atlas": "现代"
|
||||
},
|
||||
"closeProtection": "关闭确认",
|
||||
"closeProtectionDescription": "离开页面时显示确认。",
|
||||
"diagramStyle": "图表样式",
|
||||
|
||||
Reference in New Issue
Block a user