Skip to content

Commit d13169a

Browse files
committed
fix: icon for navbar
1 parent 041b103 commit d13169a

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

bun.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/chronicle/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"@opentelemetry/resources": "^2.6.1",
4747
"@opentelemetry/sdk-metrics": "^2.6.1",
4848
"@opentelemetry/semantic-conventions": "^1.40.0",
49+
"@radix-ui/react-icons": "^1.3.2",
4950
"@raystack/apsara": "1.0.0-rc.4",
5051
"@shikijs/rehype": "^4.0.2",
5152
"@vitejs/plugin-react": "^6.0.1",

packages/chronicle/src/themes/paper/Page.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import {
2-
ArrowLeftIcon,
3-
ArrowRightIcon,
4-
AdjustmentsHorizontalIcon,
52
EyeIcon,
63
SunIcon,
74
MoonIcon,
8-
XMarkIcon,
95
} from '@heroicons/react/24/outline';
6+
import {
7+
ArrowLeftIcon,
8+
ArrowRightIcon,
9+
MixerHorizontalIcon,
10+
Cross2Icon
11+
} from '@radix-ui/react-icons'
1012
import { IconButton, useTheme } from '@raystack/apsara';
1113
import { useEffect, useMemo, useState } from 'react';
1214
import { Link as RouterLink, useLocation } from 'react-router';
@@ -83,12 +85,12 @@ export function Page({ page, tree }: ThemePageProps) {
8385
</IconButton>
8486
)}
8587
<IconButton size={2} onClick={() => setSettingsOpen(false)} aria-label='Close settings'>
86-
<XMarkIcon width={14} height={14} />
88+
<Cross2Icon width={14} height={14} />
8789
</IconButton>
8890
</>
8991
) : (
9092
<IconButton size={2} onClick={() => setSettingsOpen(true)} aria-label='Open settings'>
91-
<AdjustmentsHorizontalIcon width={14} height={14} />
93+
<MixerHorizontalIcon width={14} height={14} />
9294
</IconButton>
9395
)}
9496
</div>

0 commit comments

Comments
 (0)