From 6ec0e5e995ec851866c87e91291587e97c0de752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tha=C3=AFs?= Date: Thu, 29 Feb 2024 12:49:23 -0300 Subject: [PATCH] feat: adjust navigation drawer design (#4242) Closes #3969, Closes #4240 --- .../settings/components/SettingsNavigationDrawerItems.tsx | 4 ++-- packages/twenty-front/src/modules/ui/display/icon/index.ts | 3 +-- .../navigation-drawer/components/NavigationDrawerItem.tsx | 2 +- .../components/__stories__/NavigationDrawer.stories.tsx | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx index 1fb4cdbda..ef2ce10fb 100644 --- a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx +++ b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx @@ -9,11 +9,11 @@ import { IconApps, IconAt, IconCalendarEvent, + IconCode, IconColorSwatch, IconDoorEnter, IconHierarchy2, IconMail, - IconRobot, IconSettings, IconUserCircle, IconUsers, @@ -98,7 +98,7 @@ export const SettingsNavigationDrawerItems = () => { ` `; 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; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx index 9d1739efb..efd78f5e3 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx @@ -10,7 +10,7 @@ import { IconCalendarEvent, IconCheckbox, IconColorSwatch, - IconLogout, + IconDoorEnter, IconMail, IconSearch, IconSettings, @@ -139,7 +139,7 @@ export const Submenu: Story = { - + ),