Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

light mode colors

Mike Fortman4f741fa8730b
diff --git a/frontend/app/globals.css b/frontend/app/globals.css
index 61d8759c6..bc1a503e8 100644
--- a/frontend/app/globals.css
+++ b/frontend/app/globals.css
@@ -70,6 +70,15 @@
--sidebar-border: 220 13% 91%;
--sidebar-ring: 217.2 91.2% 59.8%;
+
+ /* Failure Colors */
+ --failure-soft: #dc26261a;
+ --failure-pill: #fb2c361a;
+ --failure-file: hsl(var(--foreground));
+ --failure-log: hsl(var(--destructive));
+ --failure-message: hsl(var(--foreground));
+ --failure-scroll: #ff6464;
+ --failure-muted: #a66262;
}
.dark {
@@ -120,6 +129,15 @@
--sidebar-accent-foreground: 240 4.8% 95.9%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 217.2 91.2% 59.8%;
+
+ /* Failure Colors */
+ --failure-soft: #46080933;
+ --failure-pill: #fb2c361a;
+ --failure-file: #ffa2a2;
+ --failure-log: #ff6467;
+ --failure-message: #ffc9c9cc;
+ --failure-scroll: #ff6464;
+ --failure-muted: #a66262;
}
* {
diff --git a/frontend/components/task-error-content.tsx b/frontend/components/task-error-content.tsx
index 85f68bb1d..34266bea2 100644
--- a/frontend/components/task-error-content.tsx
+++ b/frontend/components/task-error-content.tsx
@@ -124,7 +124,7 @@ export function TaskErrorContent({
key={`${task.task_id}-${filePath}-${index}`}
className="space-y-1"
>
- <p className="text-xs text-failure-file truncate">
+ <p className="text-xs text-failure-file font-semibold truncate">
{">"} {fileName}
</p>
<p className="text-xs text-failure-message break-words">
diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts
index b0b98a4b6..628a9b5a2 100644
--- a/frontend/tailwind.config.ts
+++ b/frontend/tailwind.config.ts
@@ -174,13 +174,13 @@ const config = {
ring: "hsl(var(--sidebar-ring))",
},
failure: {
- soft: "#46080933",
- pill: "#FB2C3633",
- file: "#FFA2A2",
- log: "#FF6467",
- message: "#FFC9C9CC",
- scroll: "#FF6464",
- muted: "#A66262",
+ soft: "var(--failure-soft)",
+ pill: "var(--failure-pill)",
+ file: "var(--failure-file)",
+ log: "var(--failure-log)",
+ message: "var(--failure-message)",
+ scroll: "var(--failure-scroll)",
+ muted: "var(--failure-muted)",
},
},
borderRadius: {