summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/HeaderBar.tsx
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-10-29 13:21:51 +0200
committerOskar Nyberg <oskar@mullvad.net>2021-11-01 13:00:21 +0100
commit49529ba98240db9eb4dbb4e2e770b2b34e9dbec7 (patch)
treeacece6811309a7eafaaabe17d2554fb5f539bea7 /gui/src/renderer/components/HeaderBar.tsx
parente390d51aed2cec5854b0f0fac9e73bfc8bdd059b (diff)
downloadmullvadvpn-49529ba98240db9eb4dbb4e2e770b2b34e9dbec7.tar.xz
mullvadvpn-49529ba98240db9eb4dbb4e2e770b2b34e9dbec7.zip
Use real logo text in header bar
Diffstat (limited to 'gui/src/renderer/components/HeaderBar.tsx')
-rw-r--r--gui/src/renderer/components/HeaderBar.tsx21
1 files changed, 5 insertions, 16 deletions
diff --git a/gui/src/renderer/components/HeaderBar.tsx b/gui/src/renderer/components/HeaderBar.tsx
index fc30c8fbae..d9d17a4744 100644
--- a/gui/src/renderer/components/HeaderBar.tsx
+++ b/gui/src/renderer/components/HeaderBar.tsx
@@ -7,7 +7,6 @@ import { messages } from '../../shared/gettext';
import { useHistory } from '../lib/history';
import { IReduxState } from '../redux/store';
import { FocusFallback } from './Focus';
-import { sourceSansPro } from './common-styles';
import ImageView from './ImageView';
import { RoutePath } from '../lib/routes';
@@ -71,26 +70,16 @@ const BrandContainer = styled.div({
alignItems: 'center',
});
-const Title = styled.span({
- ...sourceSansPro,
- fontSize: '27px',
- lineHeight: '30px',
- color: colors.white80,
- marginLeft: '7px',
- letterSpacing: '0.015em',
- position: 'relative',
- top: '-1px',
-});
-
-const Logo = styled(ImageView)({
- margin: '4px 0 3px',
+const Title = styled(ImageView)({
+ opacity: 0.8,
+ marginLeft: '9px',
});
export function Brand(props: React.HTMLAttributes<HTMLDivElement>) {
return (
<BrandContainer {...props}>
- <Logo width={44} height={44} source="logo-icon" />
- <Title>MULLVAD VPN</Title>
+ <ImageView width={44} height={44} source="logo-icon" />
+ <Title height={18} source="logo-text" />
</BrandContainer>
);
}