feat: adjust navigation drawer design (#4242)

Closes #3969, Closes #4240
This commit is contained in:
Thaïs
2024-02-29 12:49:23 -03:00
committed by GitHub
parent a892d0f653
commit 6ec0e5e995
4 changed files with 6 additions and 7 deletions

View File

@ -9,11 +9,11 @@ import {
IconApps,
IconAt,
IconCalendarEvent,
IconCode,
IconColorSwatch,
IconDoorEnter,
IconHierarchy2,
IconMail,
IconRobot,
IconSettings,
IconUserCircle,
IconUsers,
@ -98,7 +98,7 @@ export const SettingsNavigationDrawerItems = () => {
<SettingsNavigationDrawerItem
label="Developers"
path={SettingsPath.Developers}
Icon={IconRobot}
Icon={IconCode}
/>
<SettingsNavigationDrawerItem
label="Integrations"

View File

@ -36,6 +36,7 @@ export {
IconChevronUp,
IconCircleDot,
IconClick,
IconCode,
IconCoins,
IconColorSwatch,
IconMessageCircle as IconComment,
@ -80,7 +81,6 @@ export {
IconList,
IconListNumbers,
IconLock,
IconLogout,
IconMail,
IconMailCog,
IconMap,
@ -103,7 +103,6 @@ export {
IconRelationOneToMany,
IconRelationOneToOne,
IconRepeat,
IconRobot,
IconSearch,
IconSend,
IconSettings,

View File

@ -77,7 +77,7 @@ const StyledItem = styled.div<StyledItemProps>`
`;
const StyledItemLabel = styled.div`
font-size: ${({ theme }) => theme.font.size.md};
font-weight: ${({ theme }) => theme.font.weight.medium};
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View File

@ -10,7 +10,7 @@ import {
IconCalendarEvent,
IconCheckbox,
IconColorSwatch,
IconLogout,
IconDoorEnter,
IconMail,
IconSearch,
IconSettings,
@ -139,7 +139,7 @@ export const Submenu: Story = {
<NavigationDrawerSection>
<NavigationDrawerSectionTitle label="Other" />
<NavigationDrawerItem label="Logout" Icon={IconLogout} />
<NavigationDrawerItem label="Logout" Icon={IconDoorEnter} />
</NavigationDrawerSection>
</>
),