Commit 077779c
TUnit Documentation Site Styling (#2852)
* Redesign docs homepage with modern dark theme and improved contrast
- Implement sleek dark theme with purple/indigo gradient accents
- Add animated code grid background and glassmorphism effects
- Create hero section with live code example and test output visualization
- Improve text contrast throughout for better readability
- Update navbar to match dark theme aesthetic
- Replace unsubstantiated performance claims with factual features
- Add Quick Start section with 3-step guide
- Enhance syntax highlighting with bright, high-contrast colors
- Fix CSS Module selectors to properly target Prism tokens
- Modernize feature cards with code examples
- Add responsive design for mobile devices
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix text contrast in Quick Start and feature code blocks
- Apply consistent bright syntax highlighting to Quick Start section
- Fix feature card code blocks with proper token colors
- Add global CodeBlock component styling for consistency
- Ensure all code text uses bright white (#f8fafc) as base color
- Match syntax colors across all code blocks on the page
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Use CodeBlock component for feature card code examples
- Replace plain pre/code elements with CodeBlock component
- Enable proper C# syntax highlighting in feature cards
- Update CSS to style CodeBlock containers consistently
- Format code examples with proper line breaks using template literals
- Ensure consistent dark theme and colors across all code blocks
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Style documentation pages to match dark theme
- Apply dark gradient background to sidebar (#1a1f3a to #0f172a)
- Update sidebar menu colors with purple accent for active items
- Style breadcrumbs with gradient text for active item
- Enhance heading hierarchy with proper contrast
- Update table of contents with purple accent colors
- Style pagination cards with gradient backgrounds and hover effects
- Apply purple-tinted borders throughout
- Update code blocks and inline code styling
- Style blockquotes with gradient background
- Apply consistent table styling with purple accents
- Ensure all text has proper contrast for readability
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Reduce gaps between homepage sections
- Reduce padding between sections from 5rem to 3rem
- Decrease section header margins from 3rem to 2rem
- Adjust responsive padding for mobile views (2rem)
- Create more compact and cohesive layout
- Maintain visual hierarchy while improving flow
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Move badge to float right of TUnit title
- Create titleRow flex container to align title and badge horizontally
- Position 'Modern .NET Testing' badge to the right of TUnit title
- Remove vertical spacing caused by badge above title
- Add responsive behavior for mobile (stacks vertically)
- Improve visual hierarchy and reduce vertical space usage
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Minimize padding above TUnit title
- Reduce hero section padding to 2rem (32px)
- Change alignment to flex-start to position content higher
- Remove excessive whitespace at top of hero section
- Create tighter, more compact hero layout
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix title spacing and animation continuity
- Apply gradient and animation to parent container for seamless effect
- Adjust spacing between TU and NIT with 0.05em margin
- Keep both parts uppercase for consistency
- Remove individual animations from child spans
- Ensure animation flows continuously across entire title
- Maintain proper letter spacing like original single element
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Simplify favicon to just the T letter
- Remove square background for cleaner look
- Keep gradient T letter with glow effect
- Make T slightly wider (392px top bar, 120px stem)
- Increase glow for better visibility
- Add rounded corners (12px radius) for smoother appearance
- Create minimalist design that works on any background
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix mobile responsive layout issues on documentation site
- Fixed hero section content overflow and cutoff on mobile devices
- Improved Quick Start section mobile layout with proper container structure
- Added custom containers (quickStartContainer, whyContainer) for better control
- Fixed step cards to stack properly in column layout on mobile
- Adjusted padding, margins, and font sizes for mobile viewports
- Prevented horizontal scrolling with proper overflow handling
- Ensured code blocks and buttons display correctly without cutoff
- Added box-sizing: border-box globally to prevent layout issues
- Improved mobile breakpoints at 996px and 640px
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix feature card text cutoff and improve spacing
- Replaced Bootstrap grid with CSS Grid for better control and spacing
- Added 2rem gap between feature cards (responsive adjustments for mobile)
- Fixed text overflow issues with proper word-wrapping and breaking
- Added minmax(0, 1fr) grid template to prevent overflow
- Set min-width: 0 on columns to allow proper shrinking
- Added box-sizing: border-box throughout for consistent sizing
- Added horizontal padding to features section
- Improved responsive layout for tablet and mobile viewports
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Address PR review feedback for accessibility and code quality
Based on PR #2852 review comments:
Accessibility improvements:
- Added focus-visible states for all interactive elements
- Implemented prefers-reduced-motion support for animations
- Added ARIA labels and semantic HTML attributes
- Improved keyboard navigation support
Code quality improvements:
- Extracted colors to CSS custom properties for consistency
- Created design system variables for reusable values
- Reduced hardcoded color values throughout stylesheets
- Improved CSS organization and maintainability
Performance:
- Disabled animations for users who prefer reduced motion
- Optimized transitions to respect user preferences
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix dependency lock file management
- Keep yarn.lock in source control for consistent dependency versions
- Remove yarn.lock from .gitignore (only package-lock.json should be ignored)
- Regenerate yarn.lock using yarn install
- Remove conflicting package-lock.json from docs directory
This ensures all developers and CI/CD get the same dependency versions
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent b3debcc commit 077779c
File tree
11 files changed
+3468
-2612
lines changed- docs
- src
- components/HomepageFeatures
- css
- pages
- static
- img
11 files changed
+3468
-2612
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | | - | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | | - | |
23 | | - | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | | - | |
| 35 | + | |
27 | 36 | | |
28 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
29 | 46 | | |
30 | 47 | | |
31 | | - | |
32 | | - | |
| 48 | + | |
| 49 | + | |
33 | 50 | | |
34 | 51 | | |
35 | | - | |
| 52 | + | |
36 | 53 | | |
37 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
38 | 63 | | |
39 | 64 | | |
40 | 65 | | |
41 | | - | |
| 66 | + | |
42 | 67 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
50 | 82 | | |
51 | 83 | | |
52 | 84 | | |
| |||
56 | 88 | | |
57 | 89 | | |
58 | 90 | | |
59 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
60 | 96 | | |
61 | 97 | | |
62 | 98 | | |
| |||
0 commit comments