Browse the data
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
index 172c277..7128994 100644
--- a/src/pages/Home.tsx
+++ b/src/pages/Home.tsx
@@ -23,7 +23,7 @@ const homePageHint: ReactElement = (
export function HomePage(): ReactElement {
return (
<>
-
+
{homePageHint}
>
diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx
index 2875142..ed32018 100644
--- a/src/pages/Login.tsx
+++ b/src/pages/Login.tsx
@@ -51,7 +51,7 @@ export function LoginPage(): ReactElement {
Login
{error ? (
-
+
{error}
) : null}
{success ? (
-
Logged in successfully.
+
Logged in successfully.
) : null}
);
diff --git a/src/pages/ObjectDetails.tsx b/src/pages/ObjectDetails.tsx
index 311bed9..8615d22 100644
--- a/src/pages/ObjectDetails.tsx
+++ b/src/pages/ObjectDetails.tsx
@@ -9,7 +9,7 @@ import {
Column,
CellPrimitive,
} from "../components/ui/CommonTable";
-import { Hint } from "../components/core/Hint";
+import { Hint } from "../components/ui/Hint";
import { Link } from "../components/core/Link";
import { Accordion } from "../components/core/Accordion";
import { querySimple } from "../clients/backend/sdk.gen";
diff --git a/src/pages/RecordCrossmatchDetails.tsx b/src/pages/RecordCrossmatchDetails.tsx
index 7db9fe3..65235f0 100644
--- a/src/pages/RecordCrossmatchDetails.tsx
+++ b/src/pages/RecordCrossmatchDetails.tsx
@@ -154,14 +154,14 @@ function ObjectSummary({
const nameField = (
<>
-
Name
+
Name
{name}
>
);
const raField = equatorial ? (
<>
-
RA
+
RA
- Dec
+ Dec
- Redshift
+ Redshift
{redshift.z.toFixed(5)}
@@ -272,8 +272,8 @@ function ResolutionSelector({
className={classNames(
"rounded-lg border px-4 py-2",
matchedPgc === candidate.pgc
- ? "border-[#646cff] bg-neutral-900/60"
- : "border-gray-600 bg-neutral-900/40",
+ ? "border-accent bg-accent/15"
+ : "border-border bg-surface",
)}
>
{renderCandidateSummary(candidate)}
@@ -283,7 +283,7 @@ function ResolutionSelector({
)}
{crossmatch.status === "new" && (
-
+
{getResource("crossmatch.action.mark_new").Title}
)}
@@ -299,8 +299,8 @@ function ResolutionSelector({
className={classNames(
"block rounded-lg border p-4 cursor-pointer transition-colors",
selected === "new"
- ? "border-[#646cff] bg-neutral-900/60"
- : "border-gray-600 bg-neutral-900/40 hover:border-gray-500",
+ ? "border-accent bg-accent/15"
+ : "border-border bg-surface hover:bg-surface-2",
resolving !== null && "opacity-50 cursor-wait",
)}
>
@@ -325,8 +325,8 @@ function ResolutionSelector({
className={classNames(
"block rounded-lg border px-4 py-2 cursor-pointer transition-colors",
selected === candidate.pgc
- ? "border-[#646cff] bg-neutral-900/60"
- : "border-gray-600 bg-neutral-900/40 hover:border-gray-500",
+ ? "border-accent bg-accent/15"
+ : "border-border bg-surface hover:bg-surface-2",
resolving !== null && "opacity-50 cursor-wait",
)}
>
@@ -504,7 +504,7 @@ function RecordCrossmatchDetails({
: `${candidates.length} candidates`}
-
+
Object
{resolveError && (
-
+
{resolveError}
)}
diff --git a/src/pages/TableDetails.tsx b/src/pages/TableDetails.tsx
index 83f93f4..7701c81 100644
--- a/src/pages/TableDetails.tsx
+++ b/src/pages/TableDetails.tsx
@@ -259,10 +259,10 @@ function TableMeta(props: TableMetaProps): ReactElement {
value={asDataType(props.table.meta.datatype)}
onChange={(event) => void commitDatatype(event.target.value as DataType)}
disabled={savingField !== null}
- className="bg-transparent border border-gray-500 rounded px-2 py-1 text-gray-200 max-w-xs"
+ className="bg-surface-2 border border-border rounded px-2 py-1 text-primary max-w-xs"
>
{DATA_TYPES.map((option) => (
-
))}
@@ -304,7 +304,7 @@ function TableMeta(props: TableMetaProps): ReactElement {
onChange={(event) => setDraftDescription(event.target.value)}
onKeyDown={handleDescriptionKeyDown}
disabled={savingField === "description"}
- className="text-2xl font-bold bg-transparent border border-gray-500 rounded px-2 py-0.5 flex-1 min-w-0 text-white"
+ className="text-2xl font-bold bg-transparent border border-border rounded px-2 py-0.5 flex-1 min-w-0 text-primary"
autoFocus
/>
) : (
@@ -316,7 +316,7 @@ function TableMeta(props: TableMetaProps): ReactElement {
{patchError ? (
-
{patchError}
+
{patchError}
) : null}
);