Skip to content

Commit

Permalink
style: add favicon and style footer
Browse files Browse the repository at this point in the history
  • Loading branch information
SebConejo committed May 21, 2024
1 parent b87f04a commit 0cb2b63
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 12 deletions.
26 changes: 15 additions & 11 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,25 @@ const config: Config = {
title: 'Docs',
items: [
{
label: 'Introduction',
label: 'Developer Docs',
to: '/'
},
{
html: '<span>Contributor Docs <span class="badge badge--primary">Coming soon</span></span>',

}
]
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus'
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus'
href: 'https://discord.gg/FepAked3W7'
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus'
label: 'Discussion',
href: 'https://github.com/casejs/CASE/discussions'
}
]
},
Expand All @@ -104,12 +104,15 @@ const config: Config = {
items: [
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus'
href: 'https://github.com/casejs/CASE/'
},
{
label: 'manifest.build',
href: 'https://manifest.build'
}
]
}
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`
],
},
docs: {
sidebar: {
Expand All @@ -126,3 +129,4 @@ const config: Config = {
}

export default config

22 changes: 21 additions & 1 deletion docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/* You can override the default Infima variables here. */
:root {
--m-color-dark: #22110C;
--ifm-color-primary: #2430F0;
--ifm-color-primary-dark: #202AD2;
--ifm-color-primary-darker: #1B24B4;
Expand All @@ -14,14 +15,17 @@
--ifm-color-primary-lighter: #535EF3;
--ifm-color-primary-lightest: #666FF5;
--ifm-code-font-size: 95%;
--ifm-font-color-base: #555769;
--ifm-footer-link-hover-color: #ffffff;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--m-h1-font-size: 2.027rem;
--m-h2-font-size: 1.802rem;
--m-h3-font-size: 1.602rem;
--m-h4-font-size: 1.424rem;
--m-h5-font-size: 1.266rem;
--m-h6-font-size: 1.125rem;
--m-sidebar-menu-list-item-font-size: 0.889rem
--m-sidebar-menu-list-item-font-size: 0.889rem;
--m-navbar-items-font-size: 0.889rem;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand Down Expand Up @@ -67,3 +71,19 @@ h6 {
.menu__link--sublist-caret:after {
background-size: 1.2rem 1.2rem;
}

.navbar__link {
font-size: var(--m-navbar-items-font-size)
}

.footer.footer--dark {
background-color: var(--m-color-dark);
}

.footer__link-item:hover {
color: var(--ifm-footer-link-hover-color);
}

.alert {
border-radius: 2px;
}
Binary file added docs/static/img/favicon.ico
Binary file not shown.

0 comments on commit 0cb2b63

Please sign in to comment.