@@ -60,6 +60,7 @@ List<StyleRule> get siteStyles => [
6060 ),
6161 css ('.content h3' ).styles (
6262 fontSize: 1.5 .rem,
63+ fontWeight: FontWeight .w700,
6364 lineHeight: 1.5 .em,
6465 raw: {'margin' : '2rem 0 0.75rem' },
6566 ),
@@ -84,13 +85,9 @@ List<StyleRule> get siteStyles => [
8485 // Inline code: light gray background, smaller font (matching Infima)
8586 // Use :not(pre) > code to avoid styling code inside pre blocks
8687 css ('.content :not(pre) > code' ).styles (
87- padding: Padding .only (
88- top: 0.1 .rem,
89- right: 0.4 .rem,
90- bottom: 0.1 .rem,
91- left: 0.4 .rem,
92- ),
93- radius: BorderRadius .circular (0.2 .rem),
88+ padding: Padding .all (0.1 .rem),
89+ border: Border .all (color: Color ('rgba(0, 0, 0, 0.1)' ), width: 1. px),
90+ radius: BorderRadius .circular (0.4 .rem),
9491 fontSize: Unit .percent (95 ),
9592 raw: {
9693 'background-color' : 'rgba(0, 0, 0, 0.06)' ,
@@ -196,10 +193,12 @@ List<StyleRule> get siteStyles => [
196193 css ('[data-theme="dark"] .header-container' ).styles (
197194 backgroundColor: Color ('#081842' ),
198195 ),
199- // Match Docusaurus navbar height : 60px with padding 0.5rem 1rem
196+ // Match Docusaurus navbar: 60px height, box-shadow (not border-bottom)
200197 css ('.header' ).styles (
201198 height: 3.75 .rem,
202199 padding: Padding .symmetric (horizontal: 1. rem, vertical: 0.5 .rem),
200+ border: Border .none,
201+ raw: {'box-shadow' : 'rgba(0, 0, 0, 0.1) 0px 1px 2px 0px' },
203202 ),
204203 // Hide the title text in the header (original only shows the logo badge)
205204 css ('.header-title > span' ).styles (display: Display .none),
@@ -469,6 +468,10 @@ List<StyleRule> get siteStyles => [
469468 css ('[data-theme="dark"] code' ).styles (
470469 raw: {'background' : '#081842 !important' },
471470 ),
471+ // Dark mode inline code: lighter border to match Docusaurus
472+ css ('[data-theme="dark"] .content :not(pre) > code' ).styles (
473+ border: Border .all (color: Color ('rgba(255, 255, 255, 0.1)' ), width: 1. px),
474+ ),
472475 css ('[data-theme="dark"]' ).styles (
473476 raw: {'scrollbar-color' : '#ffffff30 transparent' },
474477 ),
@@ -486,7 +489,7 @@ List<StyleRule> get siteStyles => [
486489 css ('.page-nav-label' ).styles (color: Color ('#525860' )),
487490 // Dark mode: page nav prev/next blocks
488491 css ('[data-theme="dark"] .page-nav-prev, [data-theme="dark"] .page-nav-next' ).styles (
489- border: Border .all (color: Color ('#444950 ' ), width: 1. px),
492+ border: Border .all (color: Color ('#606770 ' ), width: 1. px),
490493 ),
491494 css ('[data-theme="dark"] .page-nav-prev:hover, [data-theme="dark"] .page-nav-next:hover' ).styles (
492495 border: Border .all (color: Color ('#66fbd1' ), width: 1. px),
@@ -759,7 +762,7 @@ List<StyleRule> get siteStyles => [
759762 },
760763 ),
761764 css ('[data-theme="dark"] .workflow-card p' ).styles (
762- color: Color ('#ffffff ' ),
765+ color: Color ('#ebedf0 ' ),
763766 ),
764767 css ('[data-theme="dark"] .workflow-card:hover' ).styles (
765768 raw: {'border-color' : '#66fbd1' },
@@ -777,7 +780,7 @@ List<StyleRule> get siteStyles => [
777780 // (matching Docusaurus where contentCol = 75% of docMainContainer width)
778781 css.media (MediaQuery .all (minWidth: 1000. px), [
779782 css ('.docs .main-container main > div' ).styles (
780- padding: Padding .only (top: 1. rem),
783+ padding: Padding .only (top: 1. rem, left : Unit .zero, right : Unit .zero ),
781784 ),
782785 css ('.docs .main-container main > div .content-container' ).styles (
783786 padding: Padding .symmetric (horizontal: 1. rem),
0 commit comments