Skip to content

Commit

Permalink
docs branding (#1080)
Browse files Browse the repository at this point in the history
* docs branding

* Execulde docs from code coverage
  • Loading branch information
Brivan-26 authored Aug 15, 2023
1 parent 5605aaf commit 7b2753f
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 403 deletions.
3 changes: 2 additions & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ ignore:
- l1/internal/contract/starknet.go
- grpc/gen/*
- vm
- p2p/starknet/spec
- p2p/starknet/spec
- docs
8 changes: 4 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = {
title: 'Juno',
tagline: 'Decentralising Starknet',
favicon: 'img/favicon.ico', // TODO
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://your-docusaurus-test-site.com', // TODO
Expand Down Expand Up @@ -58,7 +58,7 @@ const config = {
title: 'Juno',
logo: {
alt: 'Juno logo',
src: 'img/logo.svg', // TODO
src: 'img/logo.svg',
},
items: [
{
Expand All @@ -75,14 +75,14 @@ const config = {
],
},
footer: {
style: 'dark',
style: 'light',
links: [
{
title: 'Docs',
items: [
{
label: 'Quick Start',
to: '/docs/intro', // TODO: quick start
to: '/docs/intro',
},
],
},
Expand Down
27 changes: 11 additions & 16 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,21 @@
*/

/* You can override the default Infima variables here. */
@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-color-primary: #ff4a04;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

* {
font-family: 'Exo', sans-serif;
}

h1 {
font-weight: 600;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-color-primary: #ff4a04;
}
Binary file removed docs/static/img/docusaurus-social-card.jpg
Binary file not shown.
Binary file removed docs/static/img/docusaurus.png
Binary file not shown.
Binary file modified docs/static/img/favicon.ico
Binary file not shown.
36 changes: 35 additions & 1 deletion docs/static/img/logo.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 7b2753f

Please sign in to comment.