From 591186bc14acb1434803dfdbf2e27afef9956468 Mon Sep 17 00:00:00 2001 From: matei jordache Date: Sat, 4 Apr 2026 22:43:32 -0700 Subject: [PATCH] rework colors --- frontend/src/constants.ts | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/frontend/src/constants.ts b/frontend/src/constants.ts index c55b64c..c8cb4d2 100644 --- a/frontend/src/constants.ts +++ b/frontend/src/constants.ts @@ -11,34 +11,34 @@ export const DATA_TYPES = new Set([ export const SOCKET_WIDGET_TYPES = new Set(['FLOAT', 'INT']); export const TYPE_COLORS: Record = { - DATA_FIELD: '#3a7abf', - IMAGE: '#00ff08a0', - LINE: '#ffbe5c', - RECORD_TABLE: '#35e2fd', - DATA_TABLE: '#ff7474', - COORD: '#e91ed1', - COORDPAIR: '#5cb861', - FLOAT: '#ab3197', + DATA_FIELD: '#0800ff', + IMAGE: '#00ff08', + LINE: '#ffb300', + RECORD_TABLE: '#ff0000', + DATA_TABLE: '#fbff00', + COORD: '#ea00ff', + COORDPAIR: '#f0cbff', + FLOAT: '#00bfff', INT: '#ffffff', - ANNOTATION_SOURCE: '#06b6d4', - COLORMAP: '#f472b6', - MESH_MODEL: '#14b8a6', - FONT: '#fb7185', - FILE_PATH: '#f59e0b', - DIRECTORY: '#f97316', + ANNOTATION_SOURCE: '#00ffbf', + COLORMAP: '#000000', + MESH_MODEL: '#6e659e', + FONT: '#936991', + FILE_PATH: '#f1d19b', + DIRECTORY: '#90d294', }; export const CAT_COLORS: Record = { - Input: '#37474f', - Display: '#212121', - Overlay: '#0f766e', - Geometry: '#0d9488', - Filter: '#1a237e', - Spectral: '#4c1d95', - 'Level & Correct': '#1b5e20', - Measure: '#4a148c', - Mask: '#7c2d12', - Grains: '#bf360c', + Input: '#2c4b31', + Display: '#5f4e35', + Overlay: '#214844', + Geometry: '#3c2a46', + Filter: '#34375a', + Spectral: '#5f4938', + 'Level & Correct': '#553636', + Measure: '#382f43', + Mask: '#4d3c2a', + Grains: '#5a4703', }; export const SOCKET_COMPATIBILITY: Record> = {