Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit f75c878

Browse files
committed
fix: show theme mode toggle shortcut
1 parent 46fd709 commit f75c878

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/components/settingsMenu.tsx

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ActionIcon, Box, Divider, Drawer, ScrollArea, Title } from '@mantine/core';
1+
import { ActionIcon, Box, Divider, Drawer, Kbd, ScrollArea, Title } from '@mantine/core';
22
import { IconSettings } from '@tabler/icons';
33
import { useState } from 'react';
44
import { IntegrationSettings } from './settings/integration';
@@ -9,7 +9,22 @@ import { SwitchTheme } from './settings/switchTheme';
99
function SettingsMenu() {
1010
return (
1111
<Box pr={20}>
12-
<Divider sx={{ fontWeight: 'bolder' }} variant="dashed" my="xs" label={<Title order={3}>Theme</Title>} />
12+
<Divider
13+
sx={{ fontWeight: 'bolder' }}
14+
variant="dashed"
15+
my="xs"
16+
label={
17+
<>
18+
<Title mr="xs" order={3}>
19+
Theme
20+
</Title>
21+
<Kbd mr="xs">Shift</Kbd> +{' '}
22+
<Kbd px="xs" ml="xs">
23+
T
24+
</Kbd>
25+
</>
26+
}
27+
/>
1328
<SwitchTheme />
1429
<Divider
1530
mt={40}

0 commit comments

Comments
 (0)