Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: cleanup config, change font to inter #264

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function createConfig() {
return {
title: 'Contrast',
tagline: 'Contrast: Confidential Containers at scale',
url: 'https://contrast-docs.edgeless.systems',
url: 'https://docs.edgeless.systems',
baseUrl: '/contrast/',
trailingSlash: false,
onBrokenLinks: 'throw',
Expand Down Expand Up @@ -77,21 +77,12 @@ async function createConfig() {
src: 'img/logos/contrast_icon.svg',
},
items: [
// left
// Running docs only mode no need for a link here
// {
// type: 'doc',
// docId: 'intro',
// position: 'left',
// label: 'Docs',
// },
// right
{
type: 'docsVersionDropdown',
position: 'right',
},
//{
// href: 'https://github.com/edgelesssys/constellation',
// href: 'https://github.com/edgelesssys/contrast',
// position: 'right',
// className: 'header-github-link',
//},
Expand All @@ -104,7 +95,7 @@ async function createConfig() {
},
//announcementBar: {
// content:
// 'If you like Constellation, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/edgelesssys/constellation">GitHub</a> ⭐️',
// 'If you like Contrast, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/edgelesssys/contrast">GitHub</a> ⭐️',
// backgroundColor: '#E7E6E6'
//},
footer: {
Expand Down
4 changes: 2 additions & 2 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Fonts
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #8B04DD;
Expand All @@ -17,7 +17,7 @@
--ifm-color-primary-light: #8B04DD;
--ifm-color-primary-lighter: #B873F4;
--ifm-color-primary-lightest: #E3D2FF;
--ifm-font-family-base: 'Roboto', sans-serif;
--ifm-font-family-base: 'Inter', sans-serif;
--ifm-code-font-size: 95%;
/* --ifm-footer-background-color: black;
--ifm-footer-link-color: white;
Expand Down