diff --git a/docs/manuals/running-clearnode-locally.md b/docs/manuals/running-clearnode-locally.md index dd891cc..71b054a 100644 --- a/docs/manuals/running-clearnode-locally.md +++ b/docs/manuals/running-clearnode-locally.md @@ -28,12 +28,12 @@ CLEARNODE_LOG_LEVEL=info BROKER_PRIVATE_KEY=0xac0974bec38a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 # Networks Configuration -POLYGON_INFURA_URL=wss://polygon-mainnet.infura.io/ws/v3/your-api-key +POLYGON_BLOCKCHAIN_RPC=wss://polygon-mainnet.infura.io/ws/v3/your-api-key POLYGON_CUSTODY_CONTRACT_ADDRESS=0x490fb189DdE3a01B00be9BA5F41e3447FbC838b6 POLYGON_ADJUDICATOR_ADDRESS=0xcbbc03a873c11beeFA8D99477E830be48d8Ae6D7 POLYGON_BALANCE_CHECKER_ADDRESS=0x2352c63A83f9Fd126af8676146721Fa00924d7e4 -# BASE_INFURA_URL=... +# BASE_BLOCKCHAIN_RPC=... # BASE_CUSTODY_CONTRACT_ADDRESS=... # BASE_ADJUDICATOR_ADDRESS=... # BASE_BALANCE_CHECKER_ADDRESS=... @@ -91,15 +91,15 @@ Clearnode supports the following mainnet networks, which can be configured by ad | Network | Chain ID | Environment Variable Prefix | | ---------------- | -------- | --------------------------- | -| ETH_MAINNET | 1 | `ETH_MAINNET_` | +| ETHEREUM | 1 | `ETHEREUM_` | | ROOTSTOCK | 30 | `ROOTSTOCK_` | | POLYGON | 137 | `POLYGON_` | | WORLD_CHAIN | 480 | `WORLD_CHAIN_` | | FLOW | 747 | `FLOW_` | | BASE | 8453 | `BASE_` | | CELO | 42220 | `CELO_` | -| LINEA_MAINNET | 59144 | `LINEA_MAINNET_` | -| XRPL_EVM_MAINNET | 1440000 | `XRPL_EVM_MAINNET_` | +| LINEA | 59144 | `LINEA_` | +| XRPL_EVM | 1440000 | `XRPL_EVM_` | And it supports the following testnet networks: @@ -109,13 +109,13 @@ And it supports the following testnet networks: | POLYGON_AMOY | 80002 | `POLYGON_AMOY_` | | BASE_SEPOLIA | 84532 | `BASE_SEPOLIA_` | | XRPL_EVM_TESTNET | 1449000 | `XRPL_EVM_TESTNET_` | -| ETH_SEPOLIA | 11155111 | `ETH_SEPOLIA_` | +| ETHEREUM_SEPOLIA | 11155111 | `ETHEREUM_SEPOLIA_` | | LOCALNET | 1337 | `LOCALNET_` | | ANVIL | 31337 | `ANVIL_` | For each network, you can configure: -- `{NETWORK}_INFURA_URL` or similar RPC endpoint +- `{NETWORK}_BLOCKCHAIN_RPC` or similar RPC endpoint - `{NETWORK}_CUSTODY_CONTRACT_ADDRESS` - `{NETWORK}_ADJUDICATOR_ADDRESS` - `{NETWORK}_BALANCE_CHECKER_ADDRESS` @@ -123,7 +123,7 @@ For each network, you can configure: ### Configuration Notes - **BROKER_PRIVATE_KEY**: Default private key for local development (never use in production) -- **POLYGON_INFURA_URL**: Replace `your-api-key` with your actual Infura API key +- **POLYGON_BLOCKCHAIN_RPC**: Replace `your-api-key` with your Infura API key or use another RPC provider - **Database Configuration**: Default PostgreSQL configuration for local development - **Token Configuration**: Pre-configured with USDC and WETH tokens on Polygon @@ -140,7 +140,7 @@ The Docker Compose setup typically includes: 1. **Port Conflicts**: If you encounter port conflicts, check which services are running on the same ports and either stop them or modify the ports in docker-compose.yml -2. **Infura API Key**: Make sure to replace the placeholder Infura API key with a valid one +2. **Blockchain RPC**: Make sure to add Blockchain RPC URLs for your chains. ### Useful Commands diff --git a/docusaurus.config.ts b/docusaurus.config.ts index cdd68af..319a518 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -50,6 +50,7 @@ const config: Config = { // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + sidebarCollapsed: false, }, blog: false, theme: { @@ -78,13 +79,15 @@ const config: Config = { image: 'img/docusaurus-social-card.jpg', colorMode: { defaultMode: 'light', - disableSwitch: true, + disableSwitch: false, + respectPrefersColorScheme: true, }, navbar: { title: '', logo: { alt: 'Yellow Network', - src: 'img/logo.svg', + src: 'img/themes/light/logo.svg', + srcDark: 'img/themes/dark/logo.svg', }, items: [ { @@ -119,8 +122,9 @@ const config: Config = { }, { href: 'https://github.com/layer-3', - label: 'GitHub', position: 'right', + className: 'header-github-link', + 'aria-label': 'GitHub repository', }, ], }, @@ -132,7 +136,8 @@ const config: Config = { items: [ { html: ` - Yellow Network + Yellow Network + `, }, ], diff --git a/sidebars.ts b/sidebars.ts index 86fea0c..b508502 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -13,26 +13,86 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; Create as many sidebars as you want. */ const sidebars: SidebarsConfig = { - // By default, Docusaurus generates a sidebar from the docs folder structure + // Learn section sidebar tutorialSidebar: [ + 'learn/index', { - type: 'autogenerated', - dirName: '.', - } + type: 'category', + label: 'Introduction', + collapsible: true, + collapsed: false, + items: [ + { + type: 'autogenerated', + dirName: 'learn/introduction', + }, + ], + }, + { + type: 'category', + label: 'Beginner', + collapsible: true, + collapsed: false, + items: [ + { + type: 'autogenerated', + dirName: 'learn/beginner', + }, + ], + }, + { + type: 'category', + label: 'Advanced', + collapsible: true, + collapsed: false, + items: [ + { + type: 'autogenerated', + dirName: 'learn/advanced', + }, + ], + }, ], - // But you can create a sidebar manually - /* - tutorialSidebar: [ - 'intro', - 'hello', + // Build section sidebar + buildSidebar: [ { - type: 'category', - label: 'Tutorial', - items: ['tutorial-basics/create-a-document'], + type: 'autogenerated', + dirName: 'build', + }, + ], + + // Manuals section sidebar + manualsSidebar: [ + { + type: 'autogenerated', + dirName: 'manuals', + }, + ], + + // Tutorials section sidebar + tutorialsSidebar: [ + { + type: 'autogenerated', + dirName: 'tutorials', + }, + ], + + // API Reference sidebar + apiSidebar: [ + { + type: 'autogenerated', + dirName: 'api-reference', + }, + ], + + // Legacy sidebar + legacySidebar: [ + { + type: 'autogenerated', + dirName: 'legacy', }, ], - */ }; export default sidebars; diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index 2758ef8..1a696b0 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -2,11 +2,14 @@ import type {ReactNode} from 'react'; import clsx from 'clsx'; import Link from '@docusaurus/Link'; import Heading from '@theme/Heading'; +import {useThemeConfig} from '@docusaurus/theme-common'; +import {useColorMode} from '@docusaurus/theme-common'; import styles from './styles.module.css'; type FeatureItem = { title: string; imageSrc: string; + imageSrcDark: string; description: ReactNode; link: string; isExternal?: boolean; @@ -15,7 +18,8 @@ type FeatureItem = { const FeatureList: FeatureItem[] = [ { title: 'Learn the Basics', - imageSrc: require('@site/static/img/icons/learn.png').default, + imageSrc: require('@site/static/img/themes/light/icons/learn.png').default, + imageSrcDark: require('@site/static/img/themes/dark/icons/learn.png').default, description: ( <> Understand the fundamentals of Yellow Network, its architecture, @@ -26,7 +30,8 @@ const FeatureList: FeatureItem[] = [ }, { title: 'Build a Yellow App', - imageSrc: require('@site/static/img/icons/build.png').default, + imageSrc: require('@site/static/img/themes/light/icons/build.png').default, + imageSrcDark: require('@site/static/img/themes/dark/icons/build.png').default, description: ( <> Create decentralized applications using Yellow SDK with real-time @@ -37,7 +42,8 @@ const FeatureList: FeatureItem[] = [ }, { title: 'Run a Clearnode', - imageSrc: require('@site/static/img/icons/clearnode.png').default, + imageSrc: require('@site/static/img/themes/light/icons/clearnode.png').default, + imageSrcDark: require('@site/static/img/themes/dark/icons/clearnode.png').default, description: ( <> Set up and operate a clearnode to participate in the network, @@ -48,7 +54,8 @@ const FeatureList: FeatureItem[] = [ }, { title: 'Join the Community', - imageSrc: require('@site/static/img/icons/community.png').default, + imageSrc: require('@site/static/img/themes/light/icons/community.png').default, + imageSrcDark: require('@site/static/img/themes/dark/icons/community.png').default, description: ( <> Connect with developers, traders, and node operators in our @@ -60,7 +67,8 @@ const FeatureList: FeatureItem[] = [ }, { title: 'Apply for Grants', - imageSrc: require('@site/static/img/icons/grants.png').default, + imageSrc: require('@site/static/img/themes/light/icons/grants.png').default, + imageSrcDark: require('@site/static/img/themes/dark/icons/grants.png').default, description: ( <> Get funding support for your Yellow Network project through @@ -72,7 +80,10 @@ const FeatureList: FeatureItem[] = [ }, ]; -function Feature({title, imageSrc, description, link, isExternal}: FeatureItem) { +function Feature({title, imageSrc, imageSrcDark, description, link, isExternal}: FeatureItem) { + const {colorMode} = useColorMode(); + const currentImageSrc = colorMode === 'dark' ? imageSrcDark : imageSrc; + const linkProps = isExternal ? { href: link, target: '_blank', rel: 'noopener noreferrer' } : { to: link }; @@ -85,7 +96,7 @@ function Feature({title, imageSrc, description, link, isExternal}: FeatureItem) >
- {title} + {title}
{title}

{description}

diff --git a/src/css/custom.css b/src/css/custom.css index 959a9de..8e90493 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -13,27 +13,40 @@ /* You can override the default Infima variables here. */ :root { - --ifm-color-primary: rgba(9, 9, 9, 0.9); - --ifm-color-primary-dark: rgba(7, 7, 7, 0.9); - --ifm-color-primary-darker: rgba(6, 6, 6, 0.9); - --ifm-color-primary-darkest: rgba(4, 4, 4, 0.9); - --ifm-color-primary-light: rgba(11, 11, 11, 0.9); - --ifm-color-primary-lighter: rgba(12, 12, 12, 0.9); - --ifm-color-primary-lightest: rgba(14, 14, 14, 0.9); + --ifm-color-primary: #1847CC; + --ifm-color-primary-dark: #1640B8; + --ifm-color-primary-darker: #143DB0; + --ifm-color-primary-darkest: #113399; + --ifm-color-primary-light: #1F4FDE; + --ifm-color-primary-lighter: #2052E6; + --ifm-color-primary-lightest: #335CFF; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); - --ifm-font-family-base: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; + --ifm-font-family-base: 'Poppins', sans-serif; + --ifm-font-weight-base: 300; + --ifm-font-weight-semibold: 500; + --ifm-font-weight-bold: 500; +} + +/* Global font styling enforcement */ +* { + font-family: 'Poppins', sans-serif !important; + font-style: medium !important; +} + +*:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong) { + font-weight: 300 !important; } /* 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; + --ifm-color-primary: #FDE058; + --ifm-color-primary-dark: #FDD73A; + --ifm-color-primary-darker: #FDD12C; + --ifm-color-primary-darkest: #FCC500; + --ifm-color-primary-light: #FEE976; + --ifm-color-primary-lighter: #FEEF84; + --ifm-color-primary-lightest: #FEF5B0; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } @@ -82,16 +95,20 @@ position: relative; } -/* Use pseudo-element for left border to avoid text jumping */ -.theme-doc-sidebar-item-link--active::before, -.menu__link--active:not(.menu__link--sublist)::before { +/* Default left border for sidebar document links only (not category headers) */ +.menu__link:not(.menu__link--sublist):not(.menu__link--sublist-caret)::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; - background-color: #000000; + background-color: #EDEDED; +} + +/* Active left border color override */ +.menu__link--active:not(.menu__link--sublist):not(.menu__link--sublist-caret)::before { + background-color: #FDDA16; } [data-theme='dark'] .theme-doc-sidebar-item-link--active, @@ -99,9 +116,13 @@ color: #ffffff !important; } -[data-theme='dark'] .theme-doc-sidebar-item-link--active::before, -[data-theme='dark'] .menu__link--active:not(.menu__link--sublist)::before { - background-color: #ffffff; +/* Dark theme default border */ +[data-theme='dark'] .menu__link:not(.menu__link--sublist):not(.menu__link--sublist-caret)::before { + background-color: #404040; +} + +[data-theme='dark'] .menu__link--active:not(.menu__link--sublist):not(.menu__link--sublist-caret)::before { + background-color: #FDDA16; } /* Override Docusaurus default active colors */ @@ -259,6 +280,12 @@ a.menu__link.menu__link--sublist.menu__link--active:hover { padding-bottom: 3rem !important; } +[data-theme='dark'] .footer { + background-color: #262626 !important; + color: #ffffff; + border-top: 1px solid #2e2e32; +} + .footer__title { color: #000000; font-family: 'Poppins', sans-serif !important; @@ -270,10 +297,18 @@ a.menu__link.menu__link--sublist.menu__link--active:hover { vertical-align: middle !important; } +[data-theme='dark'] .footer__title { + color: #ffffff; +} + .footer__item { color: #000000; } +[data-theme='dark'] .footer__item { + color: #ffffff; +} + .footer__link-item { color: #000000; font-family: 'Poppins', sans-serif !important; @@ -285,10 +320,18 @@ a.menu__link.menu__link--sublist.menu__link--active:hover { vertical-align: middle !important; } +[data-theme='dark'] .footer__link-item { + color: #ffffff; +} + .footer__copyright { color: #000000; } +[data-theme='dark'] .footer__copyright { + color: #ffffff !important; +} + /* Footer 4-column layout */ .footer__links { display: grid; @@ -365,27 +408,35 @@ a.menu__link.menu__link--sublist.menu__link--active:hover { /* Navbar font styling */ .navbar { - font-family: 'Metro Sans', sans-serif !important; + font-family: 'Poppins', sans-serif !important; } .navbar__brand, .navbar__item, .navbar__link, .menu__link { - font-family: 'Metro Sans', sans-serif !important; + font-family: 'Poppins', sans-serif !important; + font-weight: 400 !important; + font-style: medium !important; } /* Header title font styling */ .hero__title { - font-family: 'Playfair Display', serif !important; - font-weight: 600 !important; - font-style: normal !important; + font-family: 'Poppins', sans-serif !important; + font-weight: 500 !important; + font-style: medium !important; font-size: 48px !important; line-height: 56px !important; letter-spacing: -0.6px !important; vertical-align: middle !important; } +/* Ensure SDK span inherits the same font weight */ +.hero__title span { + font-weight: 500 !important; + font-style: medium !important; +} + /* Header description styling */ .hero__subtitle { font-family: 'Poppins', sans-serif !important; @@ -397,3 +448,260 @@ a.menu__link.menu__link--sublist.menu__link--active:hover { vertical-align: middle !important; } +.hero { + background-color: #222222 !important; +} + +[data-theme='dark'] .hero { + background-color: #090909 !important; +} + +[data-theme='dark'] .hero__subtitle { + color: #FFFFFF !important; +} + +.search-bar-container, +.search-bar-container input, +.navbar__search input, +input[type="search"], +.navbar input[placeholder*="Search"], +[class*="searchBox"] input { + border-radius: 8px !important; + height: 40px !important; + min-height: 40px !important; +} + +.footer-logo-light { + display: block !important; +} + +.footer-logo-dark { + display: none !important; +} + +[data-theme='dark'] .footer-logo-light { + display: none !important; +} + +[data-theme='dark'] .footer-logo-dark { + display: block !important; +} + +.navbar__item .navbar__link:not(.header-github-link), +.navbar__link:not(.header-github-link) { + color: #585858 !important; +} + +.navbar__item .navbar__link:hover:not(.header-github-link), +.navbar__link:hover:not(.header-github-link) { + color: #090909 !important; + background: transparent !important; + background-color: transparent !important; +} + +[data-theme='dark'] .navbar__item .navbar__link, +[data-theme='dark'] .navbar__link { + color: #BBBBBB !important; +} + +[data-theme='dark'] .navbar__item .navbar__link:hover, +[data-theme='dark'] .navbar__link:hover { + color: #D2D2D2 !important; + background: transparent !important; + background-color: transparent !important; +} + +.header-github-link:before { + content: ''; + width: 24px; + height: 24px; + display: flex; + background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%238E8E8E' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; +} + +[data-theme='dark'] .header-github-link:before { + background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23BBBBBB' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; +} + +.header-github-link:hover:before { + opacity: 0.8; +} + +.navbar__item .navbar__link[class*="colorModeToggle"], +.navbar__item button, +.navbar__item .navbar__link.header-github-link, +[class*="searchBox"] button, +[class*="colorModeToggle"] { + width: 24px !important; + height: 24px !important; + padding: 0 !important; + margin: 0 8px !important; +} + +[class*="toggleIcon"] { + color: #FFFFFF !important; +} + +[data-theme='dark'] [class*="toggleIcon"] { + color: #FFFFFF !important; +} + +.navbar svg[role="img"], +.navbar path, +[class*="search"] svg, +[class*="search"] path, +.navbar button svg, +.navbar button path, +input[type="search"] ~ svg, +input[type="search"] ~ svg path, +button[title*="Search"] svg, +button[title*="Search"] path, +.navbar__item svg, +.navbar__item path { + color: #8E8E8E !important; + fill: #8E8E8E !important; + stroke: #8E8E8E !important; + width: 20px !important; + height: 20px !important; +} + +[data-theme='dark'] .navbar svg[role="img"], +[data-theme='dark'] .navbar path, +[data-theme='dark'] [class*="search"] svg, +[data-theme='dark'] [class*="search"] path, +[data-theme='dark'] .navbar button svg, +[data-theme='dark'] .navbar button path, +[data-theme='dark'] input[type="search"] ~ svg, +[data-theme='dark'] input[type="search"] ~ svg path, +[data-theme='dark'] button[title*="Search"] svg, +[data-theme='dark'] button[title*="Search"] path, +[data-theme='dark'] .navbar__item svg, +[data-theme='dark'] .navbar__item path { + color: #BBBBBB !important; + fill: #BBBBBB !important; + stroke: #BBBBBB !important; +} + +[data-theme='dark'] [class*="featureSquare"] { + background-color: #6A410E !important; +} + +[data-theme='dark'] [class*="featureSquare"]::after { + background-color: #FCD002 !important; +} + +[data-theme='dark'] [class*="featureTitle"] { + color: #FFFFFF !important; +} + +[data-theme='dark'] [class*="featureDescription"] { + color: #D2D2D2 !important; +} + +[data-theme='dark'] .footer__link-item { + color: #828282 !important; +} + +[data-theme='dark'] .footer__copyright { + color: #6D6D6D !important; +} + +.theme-admonition.theme-admonition-info { + background-color: #DBE9FE !important; + border-left: 3px solid #60A5FA !important; +} + +[data-theme='dark'] .theme-admonition.theme-admonition-info { + background-color: #182B6A !important; + border-left: 3px solid #1656E6 !important; +} + +.breadcrumbs__item--active, +.breadcrumbs__item--active .breadcrumbs__link { + background: none !important; + background-color: transparent !important; + border-radius: 0 !important; +} + +[data-theme='dark'] .breadcrumbs__item--active, +[data-theme='dark'] .breadcrumbs__item--active .breadcrumbs__link { + background: none !important; + background-color: transparent !important; + border-radius: 0 !important; +} + +/* Document headings and titles font weight */ +.markdown h1, +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6, +h1, +h2, +h3, +h4, +h5, +h6, +.theme-doc-markdown h1, +.theme-doc-markdown h2, +.theme-doc-markdown h3, +.theme-doc-markdown h4, +.theme-doc-markdown h5, +.theme-doc-markdown h6 { + font-style: medium !important; + font-weight: 500 !important; +} + +/* Bold text styling */ +b, +strong, +.markdown b, +.markdown strong, +.theme-doc-markdown b, +.theme-doc-markdown strong { + font-style: medium !important; + font-weight: 500 !important; +} + +/* Normal text styling */ +body, +p, +div, +span, +.markdown p, +.markdown div, +.markdown span, +.theme-doc-markdown p, +.theme-doc-markdown div, +.theme-doc-markdown span, +.theme-doc-markdown { + font-style: medium !important; + font-weight: 300 !important; +} + +/* Remove gray background on hover for all sidebar items */ +.theme-doc-sidebar-item-link:hover, +.menu__link:hover, +.theme-doc-sidebar-item:hover, +.menu__list-item:hover, +.menu__list-item-collapsible:hover, +.menu__link--sublist:hover, +.menu__link--sublist-caret:hover { + background: transparent !important; + background-color: transparent !important; +} + +/* Remove black left border from root sidebar items like Learn */ +.theme-doc-sidebar-item-link-level-1 .menu__link--active::before, +.theme-doc-sidebar-item-link-level-1 .menu__link::before { + display: none !important; +} + +.theme-doc-sidebar-item-link-level-1 .menu__link--active, +.theme-doc-sidebar-item-link-level-1 .menu__link { + border-left: none !important; + padding-left: 0 !important; + margin-left: 0 !important; +} + diff --git a/static/img/docusaurus.png b/static/img/docusaurus.png deleted file mode 100644 index eb0ef9a..0000000 --- a/static/img/docusaurus.png +++ /dev/null @@ -1 +0,0 @@ -Image placeholder diff --git a/static/img/icons/clearnode.png b/static/img/icons/clearnode.png deleted file mode 100644 index db8fc9f..0000000 Binary files a/static/img/icons/clearnode.png and /dev/null differ diff --git a/static/img/logo.png b/static/img/logo.png deleted file mode 100644 index 45d2ceb..0000000 Binary files a/static/img/logo.png and /dev/null differ diff --git a/static/img/themes/dark/icons/build.png b/static/img/themes/dark/icons/build.png new file mode 100644 index 0000000..8579fe6 Binary files /dev/null and b/static/img/themes/dark/icons/build.png differ diff --git a/static/img/themes/dark/icons/clearnode.png b/static/img/themes/dark/icons/clearnode.png new file mode 100644 index 0000000..b3c9d72 Binary files /dev/null and b/static/img/themes/dark/icons/clearnode.png differ diff --git a/static/img/themes/dark/icons/community.png b/static/img/themes/dark/icons/community.png new file mode 100644 index 0000000..bd50c7a Binary files /dev/null and b/static/img/themes/dark/icons/community.png differ diff --git a/static/img/themes/dark/icons/grants.png b/static/img/themes/dark/icons/grants.png new file mode 100644 index 0000000..7ea7e23 Binary files /dev/null and b/static/img/themes/dark/icons/grants.png differ diff --git a/static/img/themes/dark/icons/learn.png b/static/img/themes/dark/icons/learn.png new file mode 100644 index 0000000..ac246b7 Binary files /dev/null and b/static/img/themes/dark/icons/learn.png differ diff --git a/static/img/themes/dark/logo.svg b/static/img/themes/dark/logo.svg new file mode 100644 index 0000000..87eb831 --- /dev/null +++ b/static/img/themes/dark/logo.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/static/img/icons/build.png b/static/img/themes/light/icons/build.png similarity index 100% rename from static/img/icons/build.png rename to static/img/themes/light/icons/build.png diff --git a/static/img/themes/light/icons/clearnode.png b/static/img/themes/light/icons/clearnode.png new file mode 100644 index 0000000..c2e8f20 Binary files /dev/null and b/static/img/themes/light/icons/clearnode.png differ diff --git a/static/img/icons/community.png b/static/img/themes/light/icons/community.png similarity index 100% rename from static/img/icons/community.png rename to static/img/themes/light/icons/community.png diff --git a/static/img/icons/grants.png b/static/img/themes/light/icons/grants.png similarity index 100% rename from static/img/icons/grants.png rename to static/img/themes/light/icons/grants.png diff --git a/static/img/icons/learn.png b/static/img/themes/light/icons/learn.png similarity index 100% rename from static/img/icons/learn.png rename to static/img/themes/light/icons/learn.png diff --git a/static/img/logo.svg b/static/img/themes/light/logo.svg similarity index 100% rename from static/img/logo.svg rename to static/img/themes/light/logo.svg diff --git a/static/img/undraw_docusaurus_mountain.svg b/static/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index 95d056d..0000000 --- a/static/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - Mountain - \ No newline at end of file diff --git a/static/img/undraw_docusaurus_react.svg b/static/img/undraw_docusaurus_react.svg deleted file mode 100644 index 6744d7a..0000000 --- a/static/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - React - \ No newline at end of file diff --git a/static/img/undraw_docusaurus_tree.svg b/static/img/undraw_docusaurus_tree.svg deleted file mode 100644 index 3823845..0000000 --- a/static/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - Tree - \ No newline at end of file