refactor: update DataFrame color to pink (#5613)

📝 (index.css): update color variables in index.css for better consistency and readability
♻️ (styleUtils.ts): refactor nodeColorsName object in styleUtils.ts to use more descriptive color names for better clarity and maintainability
This commit is contained in:
Cristhian Zanforlin Lousa 2025-01-10 12:53:14 -03:00 • committed by GitHub
commit a87bd8b57b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -111,8 +111,8 @@
--smooth-red: 0 93.3% 94.1%; --smooth-red: 0 93.3% 94.1%;
--radius: 0.5rem; --radius: 0.5rem;
--datatype-pink: 327.3 73.3% 97.1%; --datatype-pink: 333.3 71.4% 50.6%;
--datatype-pink-foreground: 333.3 71.4% 50.6%; --datatype-pink-foreground: 325.7 77.8% 94.7%;
--datatype-rose: 346.8 77.2% 49.8%; --datatype-rose: 346.8 77.2% 49.8%;
--datatype-rose-foreground: 355.6 100% 94.7%; --datatype-rose-foreground: 355.6 100% 94.7%;

View file

@ -452,13 +452,13 @@ export const nodeColorsName: { [char: string]: string } = {
vectorsearch: "yellow", vectorsearch: "yellow",
textsplitters: "fuchsia", textsplitters: "fuchsia",
toolkits: "red", toolkits: "red",
wrappers: "pink", wrappers: "rose",
notion: "slate", notion: "slate",
Notion: "slate", Notion: "slate",
AssemblyAI: "blue", AssemblyAI: "blue",
assemblyai: "blue", assemblyai: "blue",
helpers: "cyan", helpers: "cyan",
prototypes: "pink", prototypes: "rose",
astra_assistants: "indigo", astra_assistants: "indigo",
langchain_utilities: "sky", langchain_utilities: "sky",
output_parsers: "yellow", output_parsers: "yellow",
@ -479,7 +479,7 @@ export const nodeColorsName: { [char: string]: string } = {
BaseChatMemory: "cyan", BaseChatMemory: "cyan",
BaseChatMessageHistory: "orange", BaseChatMessageHistory: "orange",
Memory: "orange", Memory: "orange",
DataFrame: "rose", DataFrame: "pink",
}; };
export const SIDEBAR_CATEGORIES = [ export const SIDEBAR_CATEGORIES = [