Merge pull request #35033 from overleaf/mj-drop-dark-mode-components-opt-in

[web] Remove explicit dark mode component opt-in

GitOrigin-RevId: b28603a9989bd046039c247ee2cf9f740c9feac0
This commit is contained in:
Mathias Jakobsen
2026-09-17 11:15:18 +00:00
committed by Copybot
parent e9127933e6
commit ef8fce67f1
11 changed files with 41 additions and 71 deletions
@@ -95,12 +95,7 @@ function FileTreeContextMenu() {
: 'down'
return ReactDOM.createPortal(
<div
style={contextMenuCoords}
// TODO ide-redesign-cleanup: remove 'ide-redesign-main' class when old editor is removed
// It is only used to apply dark theme styles to the context menu in the new editor
className="context-menu ide-redesign-main"
>
<div style={contextMenuCoords} className="context-menu">
<Dropdown
show
drop={dropDirection}