Skip to content

Commit f580eb2

Browse files
cjw6kclaude
andcommitted
fix: Match Camera View and Scale Mode panels to other sidebar styling
Use consistent bg-slate-800/80 backdrop-blur-sm styling instead of bg-space-800 to match TimeControls, LunarPhaseIndicator, etc. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b97242c commit f580eb2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tidal-harmonics/src/components/ui/ScaleToggle.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ export function ScaleToggle() {
1010
];
1111

1212
return (
13-
<div className="flex flex-col gap-2 p-4 bg-space-800 rounded-lg">
14-
<span className="text-gray-400 text-sm font-medium">Scale Mode</span>
15-
<div className="flex gap-2">
13+
<div className="bg-slate-800/80 backdrop-blur-sm rounded-lg p-3">
14+
<span className="text-slate-400 text-sm font-medium">Scale Mode</span>
15+
<div className="flex gap-2 mt-2">
1616
{options.map((option) => (
1717
<button
1818
key={option.mode}
1919
onClick={() => setScaleMode(option.mode)}
2020
className={`px-3 py-1.5 rounded text-sm font-medium transition-colors ${
2121
scaleMode === option.mode
2222
? 'bg-blue-600 text-white'
23-
: 'bg-space-700 text-gray-300 hover:bg-space-700/80'
23+
: 'bg-slate-700 text-gray-300 hover:bg-slate-600'
2424
}`}
2525
>
2626
{option.label}

tidal-harmonics/src/components/ui/ViewSelector.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ export function ViewSelector() {
1212
const { preset, setPreset } = useCamera();
1313

1414
return (
15-
<div className="flex flex-col gap-2 p-4 bg-space-800 rounded-lg">
16-
<span className="text-gray-400 text-sm font-medium">Camera View</span>
17-
<div className="flex gap-2 flex-wrap">
15+
<div className="bg-slate-800/80 backdrop-blur-sm rounded-lg p-3">
16+
<span className="text-slate-400 text-sm font-medium">Camera View</span>
17+
<div className="flex gap-2 flex-wrap mt-2">
1818
{VIEW_OPTIONS.map((option) => (
1919
<button
2020
key={option.preset}
2121
onClick={() => setPreset(option.preset)}
2222
className={`px-3 py-1.5 rounded text-sm font-medium transition-colors ${
2323
preset === option.preset
2424
? 'bg-blue-600 text-white'
25-
: 'bg-space-700 text-gray-300 hover:bg-space-700/80'
25+
: 'bg-slate-700 text-gray-300 hover:bg-slate-600'
2626
}`}
2727
>
2828
{option.label}

0 commit comments

Comments
 (0)