일시: {incidentPopup.incident.date} {incidentPopup.incident.time}
@@ -706,7 +758,7 @@ export function IncidentsView() {
)}
{incidentPopup.incident.prediction && (
-
+
{incidentPopup.incident.prediction}
)}
@@ -750,7 +802,7 @@ export function IncidentsView() {
width: 180,
height: 120,
background:
- 'radial-gradient(ellipse, rgba(249,115,22,0.35) 0%, rgba(249,115,22,0.1) 50%, transparent 70%)',
+ 'radial-gradient(ellipse, color-mix(in srgb, var(--color-warning) 35%, transparent) 0%, color-mix(in srgb, var(--color-warning) 10%, transparent) 50%, transparent 70%)',
borderRadius: '50%',
transform: 'rotate(-15deg)',
}}
@@ -765,7 +817,7 @@ export function IncidentsView() {
width: 150,
height: 100,
background:
- 'radial-gradient(ellipse, rgba(168,85,247,0.3) 0%, rgba(168,85,247,0.08) 50%, transparent 70%)',
+ 'radial-gradient(ellipse, color-mix(in srgb, var(--color-tertiary) 30%, transparent) 0%, color-mix(in srgb, var(--color-tertiary) 8%, transparent) 50%, transparent 70%)',
borderRadius: '50%',
transform: 'rotate(20deg)',
}}
@@ -779,7 +831,8 @@ export function IncidentsView() {
left: '42%',
width: 200,
height: 200,
- border: '2px dashed rgba(6,182,212,0.4)',
+ border:
+ '2px dashed color-mix(in srgb, var(--color-accent) 40%, transparent)',
borderRadius: '50%',
}}
/>
@@ -796,18 +849,16 @@ export function IncidentsView() {
className="absolute z-[500] cursor-pointer rounded-md text-caption font-bold font-korean"
style={{
top: 10,
- right: dischargeMode ? 340 : 180,
+ right: 180,
padding: '6px 10px',
- background: dischargeMode ? 'rgba(6,182,212,0.15)' : 'rgba(13,17,23,0.88)',
- border: dischargeMode
- ? '1px solid rgba(6,182,212,0.4)'
- : '1px solid var(--stroke-default)',
- color: dischargeMode ? '#22d3ee' : 'var(--fg-disabled)',
+ background: 'var(--bg-base)',
+ border: '1px solid var(--stroke-default)',
+ color: dischargeMode ? 'var(--color-accent)' : 'var(--fg-disabled)',
backdropFilter: 'blur(8px)',
- transition: 'all 0.2s',
+ transition: 'color 0.2s',
}}
>
- 🚢 배출규정 {dischargeMode ? 'ON' : 'OFF'}
+ 배출규정 {dischargeMode ? 'ON' : 'OFF'}
{/* 오염물 배출 규정 패널 */}
@@ -830,9 +881,9 @@ export function IncidentsView() {
left: '50%',
transform: 'translate(-50%, -50%)',
padding: '12px 20px',
- background: 'rgba(13,17,23,0.9)',
- border: '1px solid rgba(6,182,212,0.3)',
- color: '#22d3ee',
+ background: 'var(--bg-base)',
+ border: '1px solid color-mix(in srgb, var(--color-accent) 30%, transparent)',
+ color: 'var(--color-accent)',
backdropFilter: 'blur(8px)',
pointerEvents: 'none',
}}
@@ -845,14 +896,14 @@ export function IncidentsView() {
-
-
AIS Live
+ /> */}
+
AIS Live
MarineTraffic
-
- 선박 20
-
-
- 사고 6
-
-
- 방제선 2
-
+
선박 20
+
사고 6
+
방제선 2
@@ -881,29 +926,29 @@ export function IncidentsView() {
사고 상태
-
+
{[
- { c: '#ef4444', l: '대응중' },
- { c: '#f59e0b', l: '조사중' },
- { c: '#6b7280', l: '종료' },
+ { c: 'var(--color-danger)', l: '대응중' },
+ { c: 'var(--color-warning)', l: '조사중' },
+ { c: 'var(--fg-disabled)', l: '종료' },
].map((s) => (
-
AIS 선박
-
+
{VESSEL_LEGEND.map((vl) => (
-
@@ -993,11 +1038,15 @@ export function IncidentsView() {
className="flex items-center shrink-0 border-b border-stroke"
style={{
height: 28,
- background: 'linear-gradient(90deg,rgba(249,115,22,0.08),var(--bg-surface))',
+ background:
+ 'linear-gradient(90deg, color-mix(in srgb, var(--color-warning) 8%, transparent), var(--bg-surface))',
padding: '0 10px',
}}
>
-
+
🛢 유출유 확산예측
@@ -1006,7 +1055,7 @@ export function IncidentsView() {
style={{ padding: 10 }}
>
@@ -1016,11 +1065,15 @@ export function IncidentsView() {
className="flex items-center shrink-0 border-b border-stroke"
style={{
height: 28,
- background: 'linear-gradient(90deg,rgba(168,85,247,0.08),var(--bg-surface))',
+ background:
+ 'linear-gradient(90deg, color-mix(in srgb, var(--color-tertiary) 8%, transparent), var(--bg-surface))',
padding: '0 10px',
}}
>
-
+
🧪 HNS 대기확산
@@ -1029,7 +1082,7 @@ export function IncidentsView() {
style={{ padding: 10 }}
>
@@ -1039,7 +1092,8 @@ export function IncidentsView() {
className="flex items-center shrink-0 border-b border-stroke"
style={{
height: 28,
- background: 'linear-gradient(90deg,rgba(6,182,212,0.08),var(--bg-surface))',
+ background:
+ 'linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 8%, transparent), var(--bg-surface))',
padding: '0 10px',
}}
>
@@ -1050,7 +1104,7 @@ export function IncidentsView() {
style={{ padding: 10 }}
>
@@ -1074,8 +1128,8 @@ export function IncidentsView() {
className="cursor-pointer rounded text-caption font-semibold"
style={{
padding: '4px 12px',
- background: 'rgba(59,130,246,0.1)',
- border: '1px solid rgba(59,130,246,0.2)',
+ background: 'color-mix(in srgb, var(--color-info) 10%, transparent)',
+ border: '1px solid color-mix(in srgb, var(--color-info) 20%, transparent)',
color: 'var(--color-info)',
}}
>
@@ -1085,9 +1139,9 @@ export function IncidentsView() {
className="cursor-pointer rounded text-caption font-semibold"
style={{
padding: '4px 12px',
- background: 'rgba(168,85,247,0.1)',
- border: '1px solid rgba(168,85,247,0.2)',
- color: '#a78bfa',
+ background: 'color-mix(in srgb, var(--color-tertiary) 10%, transparent)',
+ border: '1px solid color-mix(in srgb, var(--color-tertiary) 20%, transparent)',
+ color: 'var(--color-tertiary)',
}}
>
🔗 R&D 연계
@@ -1098,17 +1152,19 @@ export function IncidentsView() {