Skip to content

Commit 637edad

Browse files
committed
fix: in react ui, tweak colors to avoid purple-teal combo
A common combination is LLM + Code, which had been using teal + purple. This changes that to teal + orange, which i think is a more contemporary pair. Read blocks had been orange, and they are now green. Signed-off-by: Nick Mitchell <[email protected]>
1 parent 0900d19 commit 637edad

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pdl-live-react/src/view/masonry/Masonry.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
background: #daf2f2;
4747
}
4848
&[data-kind="read"] {
49-
background: #ffe8cc;
49+
background: #e9f7df;
5050
}
5151
&[data-kind="code"] {
52-
background: #ece6ff;
52+
background: #ffe8cc;
5353
}
5454
}
5555

pdl-live-react/src/view/memory/Node.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const CustomNode: FunctionComponent<CustomNodeProps> = (
1717
const label = props.element.getLabel()
1818
const badge = ordinal
1919
const badgeColor = /Read/.test(label)
20-
? "var(--pf-t--global--color--nonstatus--orange--default)"
20+
? "var(--pf-t--global--color--nonstatus--green--default)"
2121
: /Code/.test(label)
22-
? "var(--pf-t--global--color--nonstatus--purple--default)"
22+
? "var(--pf-t--global--color--nonstatus--orange--default)"
2323
: /LLM/.test(label)
2424
? "var(--pf-t--global--color--nonstatus--teal--default)"
2525
: "var(--pf-t--color--white)"

pdl-live-react/src/view/timeline/Timeline.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
background-color: var(--pf-t--global--icon--color--disabled);
8585
}
8686
&[data-kind="code"] {
87-
background-color: var(--pf-t--global--color--nonstatus--purple--default);
87+
background-color: var(--pf-t--global--color--nonstatus--orange--default);
8888
}
8989
&[data-kind="read"] {
90-
background-color: var(--pf-t--global--color--nonstatus--orange--default);
90+
background-color: var(--pf-t--global--color--nonstatus--green--default);
9191
}
9292
&[data-kind="repeat"],
9393
&[data-kind="lastOf"],

0 commit comments

Comments
 (0)