Skip to content

Commit

Permalink
Remove CSS color
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Mar 24, 2024
1 parent fcf1123 commit 39f4431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/SolutionViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const CSS_COLOR_NAMES: { [id: string]: string } = {
};

function termToCSSColor(term: Term): string | null {
if (term === null) return 'var(--oksolar-text)';
if (term === null) return 'black';
if (typeof term === 'object' && term.name !== null) {
if (term.args) {
if (!term.args.every((arg) => typeof arg === 'bigint')) return null;
Expand Down

0 comments on commit 39f4431

Please sign in to comment.