feat: update logo (#6979)

This commit is contained in:
David Luzar
2023-09-11 17:47:41 +02:00
committed by GitHub
parent 4a9adc703a
commit 5302490372
36 changed files with 230 additions and 64 deletions

View File

@@ -3,8 +3,9 @@ import { getShortcutFromShortcutName } from "../../actions/shortcuts";
import { t, useI18n } from "../../i18n";
import { useDevice, useExcalidrawActionManager } from "../App";
import { useTunnels } from "../../context/tunnels";
import { ExcalLogo, HelpIcon, LoadIcon, usersIcon } from "../icons";
import { HelpIcon, LoadIcon, usersIcon } from "../icons";
import { useUIAppState } from "../../context/ui-appState";
import { ExcalidrawLogo } from "../ExcalidrawLogo";
const WelcomeScreenMenuItemContent = ({
icon,
@@ -109,7 +110,7 @@ Center.displayName = "Center";
const Logo = ({ children }: { children?: React.ReactNode }) => {
return (
<div className="welcome-screen-center__logo virgil welcome-screen-decor">
{children || <>{ExcalLogo} Excalidraw</>}
{children || <ExcalidrawLogo withText />}
</div>
);
};

View File

@@ -10,6 +10,13 @@
pointer-events: none;
color: var(--color-gray-40);
a {
--color: var(--color-primary);
color: var(--color);
text-decoration: none;
margin-bottom: -6px;
}
}
&.theme--dark {
@@ -136,11 +143,6 @@
align-items: center;
column-gap: 0.75rem;
font-size: 2.25rem;
svg {
width: 1.625rem;
height: auto;
}
}
.welcome-screen-center__heading {