Skip to content

style(docs): Improve theme styling for Jekyll highlight blocks#2106

Merged
another-rex merged 1 commit into
google:mainfrom
ashmod:fix/theme-styling
Jul 24, 2025
Merged

style(docs): Improve theme styling for Jekyll highlight blocks#2106
another-rex merged 1 commit into
google:mainfrom
ashmod:fix/theme-styling

Conversation

@ashmod
Copy link
Copy Markdown
Contributor

@ashmod ashmod commented Jul 23, 2025

This PR adjusts the Callout block colors for better visibility, most notably affecting the highlight callouts on the guided remediation page

Resolves #1291

@ashmod
Copy link
Copy Markdown
Contributor Author

ashmod commented Jul 23, 2025

imgdiff

@ashmod ashmod changed the title style(docs): Improve theme styling for Jekyll callout blocks style(docs): Improve theme styling for Jekyll highlight blocks Jul 23, 2025
@another-rex
Copy link
Copy Markdown
Collaborator

Thanks! Looks great!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.54%. Comparing base (6345522) to head (c19873a).
⚠️ Report is 434 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2106   +/-   ##
=======================================
  Coverage   67.54%   67.54%           
=======================================
  Files         173      173           
  Lines       16338    16338           
=======================================
  Hits        11035    11035           
  Misses       4625     4625           
  Partials      678      678           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@another-rex another-rex merged commit f99009a into google:main Jul 24, 2025
18 checks passed
another-rex added a commit to google/osv.dev that referenced this pull request Mar 6, 2026
…lity (#4956)

A recent just-the-docs update [broke callout block
styling](https://google.github.io/osv.dev/post-v1-query/#:~:text=dev/v1/query%22-,The%20API,-has%20a%20response)
on the docs pages.
This PR adds a custom override to restore callouts to their original
styles.

Also improved highlight block readability to match [the one applied in
osv-scanner docs](google/osv-scanner#2106) a
while back.

(Warning and Highlight blocks are not used anywhere in the osv.dev docs
yet, but this should help ensure the styles are ready for future
updates.)

---------

Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>
tymzd pushed a commit to tymzd/osv.dev that referenced this pull request Apr 13, 2026
…lity (google#4956)

A recent just-the-docs update [broke callout block
styling](https://google.github.io/osv.dev/post-v1-query/#:~:text=dev/v1/query%22-,The%20API,-has%20a%20response)
on the docs pages.
This PR adds a custom override to restore callouts to their original
styles.

Also improved highlight block readability to match [the one applied in
osv-scanner docs](google/osv-scanner#2106) a
while back.

(Warning and Highlight blocks are not used anywhere in the osv.dev docs
yet, but this should help ensure the styles are ready for future
updates.)

---------

Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>
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.

docs: Callouts are hard to read

3 participants