fix dark mode font color

This commit is contained in:
Yana
2025-05-14 19:53:07 +03:00
parent 42f9edd408
commit cbe8eec2a4
@@ -336,7 +336,7 @@ const NodeTable = ({ nodes }: { nodes: MappedNymNodes }) => {
Header: <ColumnHeading>Self-bond</ColumnHeading>,
Cell: ({ row }) => {
const value = row.original.selfBond;
let color = "#000000";
let color = isDarkMode ? "#FFFFFF" : "#000000";
if (value === 0) {
color = "#EF4444";