Repository navigation
Align site hierarchy, typography, clarity, and color scheme to FRC 2713 branding - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings
software_training/siteinto alignment with the Red Hawk Robotics 2713 branding guide across hierarchy, typography, clarity, and color scheme (iterated via 4-round visual hill climb to 9/10 across all four categories).Changes
site/src/styles/brand.css,site/src/index.css):#BA0C2FTrue Red,#333333Charcoal,#000000Black,#A3A19ECool Grey 7,#F2F2F2Light Grey,#FFFFFFWhite,#5FC7BALight Teal) and dark-mode surface ramp (#141414page,#1E1E1Ecards/sidebar,#2A2A2Amuted/chrome,#333333borders).#BA0C2F) with white text as primary fill in both themes; added--link(#BA0C2Flight /#5FC7BAdark) and--emphasis(#BA0C2Flight /#F25C74dark).BlockPlayground.css,StatePlayground.css,FlowchartPlayground.css, andMazePlayground.tsxwith accessible semantic tokens.site/package.json,site/src/styles/brand.css,site/src/index.css):@fontsource/barlow,@fontsource/barlow-condensed,@fontsource/open-sans,@fontsource/roboto-mono) so fonts render offline on a shop LAN..brand-figures).site/index.html,site/public/brand/,site/src/App.tsx,site/src/components/AppSidebar.tsx,site/src/routes/LessonIndex.tsx,site/src/routes/LessonView.tsx):2713-red.svgand2713-white.svgmarks via<picture>withprefers-color-scheme: dark, 24px cap height, 12px clear space, and alignedh-14header hairline.All lessons > N Title [Page X / Y]), constrained prose-only lessons tomax-w-3xl, and styled the Goal callout with a 4px Light Teal rail and 12/14px padding.site/src/components/JavaRunner.tsx,site/src/components/CodeBlock.tsx,site/src/components/PageNav.tsx,site/src/components/FlowchartPlayground.tsx,site/src/lib/editorTheme.ts):JavaRunnerwith solid True RedRunCTA, Lucide icons,#2A2A2A/#1E1E1Edark chrome separation, and transparent CodeMirror canvas to eliminateoneDark's#282c34clash.CodeBlockexamples with aPython example/Outputcaption bar.Peek at PythonintoFlowchartPlayground's header so playback controls stay on one row withSTARTtoENDabove the fold.PageNavwithPage X of Y, 28px dot hit targets (aria-current="page"), primaryNext, and:focus-visiblerings.Verification
npm run lintinsite/: 0 errors (3 pre-existing fast-refresh warnings).npm run buildinsite/: cleantsc -b && vite buildwith all Fontsource.woff2assets bundled locally.