Skip to content

Commit f974cb9

Browse files
gHashTagona-agent
andcommitted
fix: replace cyan/magenta/violet with green in QuantumCanvas
- #00ffff (cyan) → #00E599 (green) - #0ff → #0e9 - #f0f (magenta) → #0b7 - #ff00ff → #00b377 - #8a2be2 (violet) → #00E599 Co-authored-by: Ona <no-reply@ona.com>
1 parent b7695cc commit f974cb9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

website/src/components/QuantumCanvas.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ export default function QuantumCanvas({ mode, particleCount = 1500, interactive
129129

130130
// Three main nodes: Physical, Protocol, Intelligence
131131
const nodes = [
132-
{ name: 'PHYSICAL', color: '#8a2be2', desc: 'Ternary Hardware' },
133-
{ name: 'PROTOCOL', color: '#00ffff', desc: 'Quantum Network' },
134-
{ name: 'INTELLIGENCE', color: '#ff00ff', desc: 'AI/ML Layer' }
132+
{ name: 'PHYSICAL', color: '#00E599', desc: 'Ternary Hardware' },
133+
{ name: 'PROTOCOL', color: '#00E599', desc: 'Quantum Network' },
134+
{ name: 'INTELLIGENCE', color: '#00b377', desc: 'AI/ML Layer' }
135135
];
136136

137137
for (let i = 0; i < 3; i++) {
@@ -214,7 +214,7 @@ export default function QuantumCanvas({ mode, particleCount = 1500, interactive
214214
const x = cx + (outerRadius + wobble) * Math.cos(angle);
215215
const y = cy + (outerRadius + wobble) * Math.sin(angle);
216216

217-
ctx.fillStyle = ['#0ff', '#f0f', '#ff0'][i % 3];
217+
ctx.fillStyle = ['#0e9', '#0b7', '#ff0'][i % 3];
218218
ctx.beginPath();
219219
ctx.arc(x, y, 6 * scale, 0, TAU);
220220
ctx.fill();
@@ -237,17 +237,17 @@ export default function QuantumCanvas({ mode, particleCount = 1500, interactive
237237

238238
ctx.fillStyle = 'rgba(0, 255, 255, 0.1)';
239239
ctx.fillRect(boxX, boxY, boxW, boxH);
240-
ctx.strokeStyle = '#0ff';
240+
ctx.strokeStyle = '#0e9';
241241
ctx.lineWidth = 1;
242242
ctx.strokeRect(boxX, boxY, boxW, boxH);
243243

244-
ctx.fillStyle = '#0ff';
244+
ctx.fillStyle = '#0e9';
245245
ctx.font = `bold ${10 * scale}px monospace`;
246246
ctx.textAlign = 'center';
247247
ctx.fillText('PROTOCOL STACK', boxX + boxW / 2, boxY + 14 * scale);
248248

249249
const layers = ['Application', 'Transport', 'Network', 'Link', 'Physical'];
250-
const layerColors = ['#f0f', '#ff0', '#0f0', '#0ff', '#8a2be2'];
250+
const layerColors = ['#0b7', '#ff0', '#0f0', '#0e9', '#00E599'];
251251
layers.forEach((layer, i) => {
252252
const ly = boxY + 22 * scale + i * 16 * scale;
253253
ctx.fillStyle = layerColors[i] + '40';
@@ -280,10 +280,10 @@ export default function QuantumCanvas({ mode, particleCount = 1500, interactive
280280
const invY = h / 2 - 60 * scale; // Upper middle right
281281
ctx.fillStyle = 'rgba(0, 255, 255, 0.1)';
282282
ctx.fillRect(invX, invY, boxW, 70 * scale);
283-
ctx.strokeStyle = '#0ff';
283+
ctx.strokeStyle = '#0e9';
284284
ctx.strokeRect(invX, invY, boxW, 70 * scale);
285285

286-
ctx.fillStyle = '#0ff';
286+
ctx.fillStyle = '#0e9';
287287
ctx.font = `bold ${10 * scale}px monospace`;
288288
ctx.textAlign = 'center';
289289
ctx.fillText('SSOT INVARIANTS', invX + boxW / 2, invY + 14 * scale);

0 commit comments

Comments
 (0)