@@ -8,10 +8,9 @@ import { SPACINGS } from '@/utils/spacings'
88import { MEDIA } from '@/utils/breakpoints'
99import { HEADER_HEIGHT } from '@/utils/header'
1010import { LAYERS } from '@/utils/layers'
11- import { BORDER_RADIUSES , BORDER_SIZES } from '@/utils/border'
11+ import { BORDER_SIZES } from '@/utils/border'
1212import { TABS_SIDEBAR_NAVIGATION } from '@/utils/tabs'
1313import { PAGE_FRAME_SPACING } from '@/utils/page'
14- import { FooterLinks } from '@/components/Footer/FooterLinks'
1514import { TabsItem } from '@/components/Tabs/TabsItem'
1615import { Tabs } from '@/components/Tabs/Tabs'
1716import { TableOfContents } from '@/components/TableOfContents/TableOfContents'
@@ -25,11 +24,6 @@ import {
2524 createScrollBarStyles ,
2625 SCROLL_BAR_SHADOW_SIZE
2726} from '@/utils/scrollbars'
28- import {
29- ThemeToggle ,
30- LightThemeSvg ,
31- DarkThemeSvg
32- } from '@/components/Theme/ThemeToggle'
3327
3428const MAX_WIDTH_COMPACT = '36rem'
3529
@@ -135,37 +129,6 @@ const ScrollArea = styled.div`
135129 margin-right: auto;
136130`
137131
138- // TODO: Remove?
139- const ThemeToggleButton = styled ( ThemeToggle ) `
140- background-color: ${ COLORS . BACKGROUND_CODE } ;
141- width: 100%;
142- justify-content: space-between;
143- padding: 1.8rem 2rem;
144- margin-top: ${ SPACINGS . FOUR } ;
145- height: auto;
146- margin-right: 0;
147- margin-left: 0;
148- border-radius: ${ BORDER_RADIUSES . BOX } ;
149- overflow: hidden;
150-
151- ${ LightThemeSvg } , ${ DarkThemeSvg } {
152- left: auto;
153- right: 2rem;
154- transform: translateY(-50%);
155- }
156- `
157-
158- // TODO: Remove?
159- const ThemeToggleText = styled . span `
160- color: ${ COLORS . TEXT_MEDIUM_CONTRAST } ;
161- `
162-
163- // TODO: Remove?
164- const MiscLinks = styled ( FooterLinks ) `
165- padding-top: ${ SPACINGS . THREE } ;
166- justify-content: center;
167- `
168-
169132const VersionBadgeWrapper = styled . div `
170133 display: flex;
171134 padding-top: ${ SPACINGS . THREE } ;
@@ -175,13 +138,6 @@ const VersionBadgeWrapper = styled.div`
175138export function SidebarNavigationMenuCompact ( ) {
176139 const isKeyNavigating = useAppSelector ( selectKeyNavigating )
177140
178- // TODO: Remove?
179-
180- // const theme = useAppSelector(selectTheme)
181- // const [showTableOfContents, setShowTableOfContents] = useState(true)
182- // const isLightTheme = theme === THEME_KEYS.LIGHT
183- // const oppositeTheme = isLightTheme ? THEME_KEYS.DARK : THEME_KEYS.LIGHT
184-
185141 return (
186142 < SidebarNavigationMenuCompactWrapper >
187143 < MenuTabs $isKeyNavigating = { isKeyNavigating } >
0 commit comments