Merge pull request #36575 from overleaf/mj-generic-modals-themes

[web] Add dark mode to ide modals

GitOrigin-RevId: cd8e95e2286df46510a377ff9a69c4ab646ceabd
This commit is contained in:
Mathias Jakobsen
2026-09-17 11:59:00 +00:00
committed by Copybot
parent 8139638d9d
commit 1f9873e391
9 changed files with 47 additions and 18 deletions
@@ -4,6 +4,7 @@ import { fireEvent, render, screen } from '@testing-library/react'
import OutOfSyncModal from '@/features/ide-react/components/modals/out-of-sync-modal'
import * as eventTracking from '@/infrastructure/event-tracking'
import { location } from '@/shared/components/location'
import { SplitTestProvider } from '@/shared/context/split-test-context'
describe('<OutOfSyncModal />', function () {
let sendMBSpy: sinon.SinonSpy
@@ -12,12 +13,14 @@ describe('<OutOfSyncModal />', function () {
const renderModal = (props: { show?: boolean } = {}) =>
render(
<OutOfSyncModal
editorContent="offline content"
show
onHide={onHide}
{...props}
/>
<SplitTestProvider>
<OutOfSyncModal
editorContent="offline content"
show
onHide={onHide}
{...props}
/>
</SplitTestProvider>
)
beforeEach(function () {