From 8ed5b59099cd55ee16ce3dc4fcbc251262cbc841 Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Mon, 10 Jul 2023 17:16:27 +0200 Subject: [PATCH] style(3000): Use new Central icons --- .../navigation-3000/components/Navbar.tsx | 23 ++++---- .../layout/navigation-3000/navbarItems.tsx | 54 +++++++++---------- .../lib/lemon-ui/LemonButton/LemonButton.scss | 1 + package.json | 1 + pnpm-lock.yaml | 15 +++++- 5 files changed, 53 insertions(+), 41 deletions(-) diff --git a/frontend/src/layout/navigation-3000/components/Navbar.tsx b/frontend/src/layout/navigation-3000/components/Navbar.tsx index c2921515bfbd8..25eb770e5092d 100644 --- a/frontend/src/layout/navigation-3000/components/Navbar.tsx +++ b/frontend/src/layout/navigation-3000/components/Navbar.tsx @@ -1,7 +1,7 @@ import { LemonBadge } from '@posthog/lemon-ui' import { useActions, useValues } from 'kea' import { HelpButton } from 'lib/components/HelpButton/HelpButton' -import { IconDarkMode, IconHelpOutline, IconLightMode, IconSettings, IconSync } from 'lib/lemon-ui/icons' +import { LightBulb, Question, Gear } from '@posthog/icons' import { Popover } from 'lib/lemon-ui/Popover' import { ProfilePicture } from 'lib/lemon-ui/ProfilePicture' import { Scene } from 'scenes/sceneTypes' @@ -13,6 +13,7 @@ import { NAVBAR_ITEMS } from '../navbarItems' import { themeLogic } from '../themeLogic' import { NavbarButton } from './NavbarButton' import { urls } from 'scenes/urls' +import { IconSync } from 'lib/lemon-ui/icons' export function Navbar(): JSX.Element { const { user } = useValues(userLogic) @@ -24,7 +25,7 @@ export function Navbar(): JSX.Element { useValues(themeLogic) const { toggleTheme } = useActions(themeLogic) - const activeThemeIcon = isDarkModeOn ? : + const activeThemeIcon = isDarkModeOn ? : // TODO return (