diff --git a/src/components/MainContent.css b/src/components/MainContent.css index 3c60c29..3afbeb0 100644 --- a/src/components/MainContent.css +++ b/src/components/MainContent.css @@ -359,9 +359,14 @@ overflow: visible; } +.global-tempo-region { + background: #dff2ff; + color: #24314a; +} + .global-chord-region { - background: #dc8b3f; - color: #2f2215; + background: #f6dfc8; + color: #3d2f20; overflow: visible; } diff --git a/src/components/global-track/GlobalTempoLane.test.tsx b/src/components/global-track/GlobalTempoLane.test.tsx index cad457c..517cea8 100644 --- a/src/components/global-track/GlobalTempoLane.test.tsx +++ b/src/components/global-track/GlobalTempoLane.test.tsx @@ -98,4 +98,26 @@ describe('GlobalTempoLane', () => { fireEvent.change(screen.getByDisplayValue('128'), { target: { value: '12a8!' } }); expect(onEditingTextChange).toHaveBeenCalledWith('128'); }); + + it('renders tempo regions with the dedicated tempo-region class', () => { + const { container } = render( + + ); + + expect(container.querySelector('.global-marker-region.global-tempo-region')).toBeInTheDocument(); + }); });