Skip to content

Commit

Permalink
Update logo and font sizes (MetaMask#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran authored Apr 3, 2023
1 parent 3b9ded5 commit 5f24a4e
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,14 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: "MetaMask docs",
title: " │ ‎ Documentation",
hideOnScroll: true,
logo: {
alt: "MetaMask logo",
src: "img/metamask-fox.svg",
src: "img/metamask-logo.svg",
srcDark: "img/metamask-logo-dark.svg",
href: "/wallet/",
width: 150,
},
items: [
{
Expand All @@ -207,8 +209,10 @@ const config = {
footer: {
logo: {
alt: "MetaMask logo",
src: "img/metamask-fox.svg",
src: "img/metamask-logo.svg",
srcDark: "img/metamask-logo-dark.svg",
href: "https://metamask.io/",
width: 250,
},
links: [
{
Expand Down
20 changes: 20 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,23 @@
--ifm-color-primary-lightest: var(--brand-colors-blue-blue200);
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

h1 {
font-size: 32px;
}

h2 {
font-size: 24px;
}

h3 {
font-size: 18px;
}

h4 {
font-size: 16px;
}

.navbar__title {
font-weight: 500;
}
39 changes: 39 additions & 0 deletions static/img/metamask-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5f24a4e

Please sign in to comment.