Skip to content

Conversation

gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Jul 15, 2025

Brand logo shortcode

  • automatically applies .light-content or .dark-content class
  • inserts both light and dark logo if brand mode is not specified
  • uses alt text from brand logo spec

Fixes #13004

I also noticed that I had previously added tests in the directory tests/docs/shortcodes, where they were not run automatically. So this PR moves them to a new directory tests/docs/smoke-all/shortcodes

@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jul 15, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

and include both if no brand-mode specified
also use alt text from brand logo spec

fixes #13004
@gordonwoodhull gordonwoodhull force-pushed the feature/brand-logo-shortcode-light-dark branch from b9d8deb to 0b59c92 Compare July 15, 2025 18:37
@gordonwoodhull gordonwoodhull merged commit eec03d4 into main Jul 15, 2025
51 checks passed
@gordonwoodhull gordonwoodhull deleted the feature/brand-logo-shortcode-light-dark branch July 15, 2025 19:10
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.

light and dark brand logo shortcode

2 participants