|
108 | 108 | secondaryBorderColor: '#a78bfa', |
109 | 109 |
|
110 | 110 | tertiaryColor: '#fbbf24', |
111 | | - tertiaryTextColor: '#ffffff', |
| 111 | + tertiaryTextColor: '#1a202c', |
112 | 112 | tertiaryBorderColor: '#f59e0b', |
113 | 113 |
|
114 | 114 | // 텍스트 색상 (다크모드 - 더 밝게) |
115 | 115 | textColor: '#ffffff', |
116 | 116 | lineColor: '#8b7cf8', |
117 | 117 |
|
118 | 118 | // 노트 색상 |
119 | | - noteBkgColor: 'transparent', |
| 119 | + noteBkgColor: 'rgba(167, 139, 250, 0.1)', |
120 | 120 | noteTextColor: '#ffffff', |
121 | 121 | noteBorderColor: '#a78bfa', |
122 | 122 |
|
123 | 123 | // 플로우차트 |
124 | 124 | nodeBorder: '#a78bfa', |
125 | | - clusterBkg: 'transparent', |
| 125 | + clusterBkg: 'rgba(167, 139, 250, 0.05)', |
126 | 126 | clusterBorder: '#c084fc', |
127 | 127 | defaultLinkColor: '#a78bfa', |
128 | 128 | titleColor: '#ffffff', |
129 | 129 | nodeTextColor: '#ffffff', |
130 | 130 |
|
131 | | - // 시퀀스 다이어그램 |
132 | | - actorBkg: 'transparent', |
| 131 | + // 시퀀스 다이어그램 (개선된 가시성) |
| 132 | + actorBkg: 'rgba(31, 41, 55, 0.8)', |
133 | 133 | actorBorder: '#a78bfa', |
134 | 134 | actorTextColor: '#ffffff', |
135 | 135 | signalColor: '#a78bfa', |
136 | 136 | signalTextColor: '#ffffff', |
| 137 | + labelBoxBkgColor: 'rgba(55, 65, 81, 0.8)', |
| 138 | + labelTextColor: '#ffffff', |
| 139 | + activationBkgColor: 'rgba(167, 139, 250, 0.2)', |
| 140 | + activationBorderColor: '#a78bfa', |
137 | 141 |
|
138 | | - // 간트 차트 |
| 142 | + // 간트 차트 (개선된 텍스트 가시성) |
139 | 143 | gridColor: '#6b7280', |
140 | 144 | section0: '#a78bfa', |
141 | 145 | section1: '#c084fc', |
142 | 146 | section2: '#fbbf24', |
143 | 147 | section3: '#34d399', |
| 148 | + cScale0: '#a78bfa', |
| 149 | + cScale1: '#c084fc', |
| 150 | + cScale2: '#fbbf24', |
| 151 | + taskBkgColor: 'rgba(167, 139, 250, 0.8)', |
| 152 | + taskTextColor: '#ffffff', |
| 153 | + taskTextOutsideColor: '#ffffff', |
| 154 | + taskTextLightColor: '#ffffff', |
| 155 | + taskTextDarkColor: '#1a202c', |
| 156 | + activeTaskBkgColor: '#c084fc', |
| 157 | + activeTaskBorderColor: '#a78bfa', |
| 158 | + gridColor: '#4b5563', |
| 159 | + todayLineColor: '#fbbf24', |
144 | 160 |
|
145 | 161 | // 파이 차트 |
146 | 162 | pie1: '#a78bfa', |
|
177 | 193 | lineColor: '#667eea', |
178 | 194 |
|
179 | 195 | // 노트 색상 |
180 | | - noteBkgColor: 'transparent', |
| 196 | + noteBkgColor: 'rgba(102, 126, 234, 0.1)', |
181 | 197 | noteTextColor: '#2d3748', |
182 | 198 | noteBorderColor: '#667eea', |
183 | 199 |
|
184 | 200 | // 플로우차트 |
185 | 201 | nodeBorder: '#5a67d8', |
186 | | - clusterBkg: 'transparent', |
| 202 | + clusterBkg: 'rgba(102, 126, 234, 0.05)', |
187 | 203 | clusterBorder: '#e879f9', |
188 | 204 | defaultLinkColor: '#667eea', |
189 | 205 | titleColor: '#2d3748', |
190 | 206 | nodeTextColor: '#ffffff', |
191 | 207 |
|
192 | | - // 시퀀스 다이어그램 |
193 | | - actorBkg: 'transparent', |
| 208 | + // 시퀀스 다이어그램 (개선된 가시성) |
| 209 | + actorBkg: 'rgba(247, 250, 252, 0.9)', |
194 | 210 | actorBorder: '#5a67d8', |
195 | | - actorTextColor: '#ffffff', |
| 211 | + actorTextColor: '#2d3748', |
196 | 212 | signalColor: '#667eea', |
197 | 213 | signalTextColor: '#2d3748', |
| 214 | + labelBoxBkgColor: 'rgba(229, 231, 235, 0.9)', |
| 215 | + labelTextColor: '#2d3748', |
| 216 | + activationBkgColor: 'rgba(102, 126, 234, 0.15)', |
| 217 | + activationBorderColor: '#667eea', |
198 | 218 |
|
199 | | - // 간트 차트 |
| 219 | + // 간트 차트 (개선된 텍스트 가시성) |
200 | 220 | gridColor: '#e2e8f0', |
| 221 | + cScale0: '#667eea', |
| 222 | + cScale1: '#764ba2', |
| 223 | + cScale2: '#f093fb', |
| 224 | + taskBkgColor: 'rgba(102, 126, 234, 0.8)', |
| 225 | + taskTextColor: '#ffffff', |
| 226 | + taskTextOutsideColor: '#2d3748', |
| 227 | + taskTextLightColor: '#2d3748', |
| 228 | + taskTextDarkColor: '#ffffff', |
| 229 | + activeTaskBkgColor: '#764ba2', |
| 230 | + activeTaskBorderColor: '#667eea', |
| 231 | + todayLineColor: '#f59e0b', |
201 | 232 | section0: '#667eea', |
202 | 233 | section1: '#764ba2', |
203 | 234 | section2: '#f093fb', |
|
407 | 438 | text-shadow: 1px 1px 2px rgba(0,0,0,0.3); |
408 | 439 | } |
409 | 440 |
|
| 441 | + /* 시퀀스 다이어그램 텍스트 강화 */ |
| 442 | + .mermaid .actor { |
| 443 | + font-weight: 600 !important; |
| 444 | + } |
| 445 | + |
| 446 | + .mermaid .actor-box { |
| 447 | + fill: var(--surface, rgba(247, 250, 252, 0.9)) !important; |
| 448 | + stroke: var(--primary-color, #667eea) !important; |
| 449 | + stroke-width: 2px !important; |
| 450 | + } |
| 451 | + |
| 452 | + .mermaid .messageText { |
| 453 | + font-weight: 500 !important; |
| 454 | + fill: var(--text-primary, #2d3748) !important; |
| 455 | + } |
| 456 | + |
| 457 | + .mermaid .labelText { |
| 458 | + font-weight: 600 !important; |
| 459 | + fill: var(--text-primary, #2d3748) !important; |
| 460 | + } |
| 461 | + |
| 462 | + /* 간트 차트 텍스트 강화 */ |
| 463 | + .mermaid .taskText, |
| 464 | + .mermaid .taskText0, |
| 465 | + .mermaid .taskText1, |
| 466 | + .mermaid .taskText2, |
| 467 | + .mermaid .taskText3 { |
| 468 | + font-weight: 600 !important; |
| 469 | + fill: #ffffff !important; |
| 470 | + text-shadow: 1px 1px 2px rgba(0,0,0,0.5); |
| 471 | + } |
| 472 | + |
| 473 | + .mermaid .gridLabel { |
| 474 | + font-weight: 500 !important; |
| 475 | + fill: var(--text-primary, #2d3748) !important; |
| 476 | + } |
| 477 | + |
| 478 | + /* 모든 텍스트 요소 기본 강화 */ |
| 479 | + .mermaid text { |
| 480 | + font-family: var(--font-family, 'Inter', sans-serif) !important; |
| 481 | + font-weight: 500; |
| 482 | + } |
| 483 | + |
| 484 | + .mermaid .label { |
| 485 | + font-weight: 600 !important; |
| 486 | + } |
| 487 | + |
410 | 488 | /* 그라데이션 정의 */ |
411 | 489 | .mermaid svg defs { |
412 | 490 | background: transparent; |
|
465 | 543 | color: #f7fafc !important; |
466 | 544 | } |
467 | 545 |
|
| 546 | + /* 다크모드 시퀀스 다이어그램 최적화 */ |
| 547 | + [data-theme="dark"] .mermaid .actor-box, |
| 548 | + .dark .mermaid .actor-box { |
| 549 | + fill: rgba(31, 41, 55, 0.8) !important; |
| 550 | + stroke: #a78bfa !important; |
| 551 | + } |
| 552 | + |
| 553 | + [data-theme="dark"] .mermaid .messageText, |
| 554 | + [data-theme="dark"] .mermaid .labelText, |
| 555 | + .dark .mermaid .messageText, |
| 556 | + .dark .mermaid .labelText { |
| 557 | + fill: #ffffff !important; |
| 558 | + } |
| 559 | + |
| 560 | + /* 다크모드 간트 차트 최적화 */ |
| 561 | + [data-theme="dark"] .mermaid .gridLabel, |
| 562 | + .dark .mermaid .gridLabel { |
| 563 | + fill: #f7fafc !important; |
| 564 | + } |
| 565 | + |
468 | 566 | @media (prefers-color-scheme: dark) { |
469 | 567 | .mermaid { |
470 | 568 | border: 1px solid rgba(139, 124, 248, 0.3); |
|
483 | 581 | .mermaid .edgeLabel .label { |
484 | 582 | color: #f7fafc !important; |
485 | 583 | } |
| 584 | + |
| 585 | + .mermaid .actor-box { |
| 586 | + fill: rgba(31, 41, 55, 0.8) !important; |
| 587 | + stroke: #a78bfa !important; |
| 588 | + } |
| 589 | + |
| 590 | + .mermaid .messageText, |
| 591 | + .mermaid .labelText { |
| 592 | + fill: #ffffff !important; |
| 593 | + } |
| 594 | + |
| 595 | + .mermaid .gridLabel { |
| 596 | + fill: #f7fafc !important; |
| 597 | + } |
486 | 598 | } |
487 | 599 |
|
488 | 600 | /* 반응형 대응 */ |
|
0 commit comments