Refresh app theme and update dependencies
This commit is contained in:
@@ -49,11 +49,11 @@ import type {
|
||||
import { companyFinancialStatementsQueryOptions } from '@/lib/query/options';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
const CHART_COLORS = ['#68ffd5', '#5fd3ff', '#ffd08a', '#ff8a8a', '#c39bff'] as const;
|
||||
const CHART_MUTED = '#b4ced9';
|
||||
const CHART_GRID = 'rgba(126, 217, 255, 0.24)';
|
||||
const CHART_TOOLTIP_BG = 'rgba(6, 17, 24, 0.95)';
|
||||
const CHART_TOOLTIP_BORDER = 'rgba(123, 255, 217, 0.45)';
|
||||
const CHART_COLORS = ['#d9dee5', '#c7cdd5', '#b5bcc5', '#a4acb6', '#939ca7'] as const;
|
||||
const CHART_MUTED = '#a1a9b3';
|
||||
const CHART_GRID = 'rgba(196, 202, 211, 0.18)';
|
||||
const CHART_TOOLTIP_BG = 'rgba(31, 34, 39, 0.96)';
|
||||
const CHART_TOOLTIP_BORDER = 'rgba(220, 226, 234, 0.24)';
|
||||
|
||||
type TooltipEntry = {
|
||||
dataKey?: string | number;
|
||||
@@ -215,7 +215,7 @@ function ComparisonTooltip(props: {
|
||||
</p>
|
||||
<div className="mt-3 space-y-2">
|
||||
{entries.map((entry) => (
|
||||
<div key={entry.ticker} className="rounded-lg border border-[color:var(--line-weak)] bg-[color:rgba(4,16,24,0.72)] px-2 py-2">
|
||||
<div key={entry.ticker} className="rounded-lg border border-[color:var(--line-weak)] bg-[color:rgba(45,49,55,0.72)] px-2 py-2">
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="size-2 rounded-full" style={{ backgroundColor: entry.color }} aria-hidden="true" />
|
||||
@@ -495,10 +495,10 @@ function GraphingPageContent() {
|
||||
aria-label="Metric selector"
|
||||
value={graphState.metric}
|
||||
onChange={(event) => replaceGraphState({ metric: event.target.value })}
|
||||
className="w-full rounded-lg border border-[color:var(--line-weak)] bg-[color:var(--panel-soft)] px-3 py-2.5 text-sm text-[color:var(--terminal-bright)] outline-none transition focus:border-[color:var(--line-strong)] focus:shadow-[0_0_0_3px_rgba(0,255,180,0.14)]"
|
||||
className="w-full rounded-lg border border-[color:var(--line-weak)] bg-[color:var(--panel-soft)] px-3 py-2.5 text-sm text-[color:var(--terminal-bright)] outline-none transition focus:border-[color:var(--line-strong)] focus:shadow-[0_0_0_3px_var(--focus-ring)]"
|
||||
>
|
||||
{metricOptions.map((option) => (
|
||||
<option key={option.key} value={option.key} className="bg-[#07161f]">
|
||||
<option key={option.key} value={option.key} className="bg-[#1f2227]">
|
||||
{option.label}
|
||||
</option>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user