Skip to content

fix: styling on first load#6

Merged
SwenSchaeferjohann merged 1 commit intomainfrom
fix-first-paint
Dec 26, 2025
Merged

fix: styling on first load#6
SwenSchaeferjohann merged 1 commit intomainfrom
fix-first-paint

Conversation

@SwenSchaeferjohann
Copy link
Contributor

@SwenSchaeferjohann SwenSchaeferjohann commented Dec 26, 2025

Summary by CodeRabbit

  • Refactor
    • Consolidated font configuration into a centralized system for improved consistency across the application. Optimized font loading mechanisms to eliminate visual flashes during page initialization, enhancing overall user experience.

✏️ Tip: You can customize this high-level summary in your review settings.

@SwenSchaeferjohann SwenSchaeferjohann merged commit de95b25 into main Dec 26, 2025
3 of 4 checks passed
@SwenSchaeferjohann SwenSchaeferjohann deleted the fix-first-paint branch December 26, 2025 08:35
@coderabbitai
Copy link

coderabbitai bot commented Dec 26, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Font configuration is being centralized from CSS to a JSON-based configuration file. External font imports and CSS font-family declarations are removed from the stylesheet and replaced with a reference to the docs.json fonts configuration section.

Changes

Cohort / File(s) Summary
Font Configuration Centralization
docs.json
Added new top-level fonts object with "family": "Inter" property to centralize font configuration
Style Cleanup
style.css
Removed @import statements for external fonts and font-family declarations; replaced with comment indicating fonts are configured in docs.json

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Fonts now live in JSON's care,
No more scattered here and there,
Inter dancing, bold and bright,
Configuration done just right!
CSS freed from font's old weight, 🎀

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-first-paint

📜 Recent review details

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c62f6de and 88e3246.

📒 Files selected for processing (2)
  • docs.json
  • style.css

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant