Skip to content

fix(theme/Llms): use SvgWrapper in Llms#3045

Merged
SoonIter merged 2 commits intoweb-infra-dev:mainfrom
jaworek:fix-llm-button-icons
Jan 22, 2026
Merged

fix(theme/Llms): use SvgWrapper in Llms#3045
SoonIter merged 2 commits intoweb-infra-dev:mainfrom
jaworek:fix-llm-button-icons

Conversation

@jaworek
Copy link
Copy Markdown
Contributor

@jaworek jaworek commented Jan 22, 2026

Summary

This PR fixes the issue were LlmsCopyButton and LlmsViewOptions would fail to render when replacing theme assets (as demonstrated here: https://v2.rspress.rs/guide/advanced/custom-theme#4-custom-icon). This is because it was not using SvgWrapper like every other theme component.

Aditionally, I extracted IconExternalLink to assets folder to be able to override it with custom theme.

Related Issue

This is similar issue to what @jbroma posted before: #2381

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link
Copy Markdown
Member

@SoonIter SoonIter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks ❤️️ I can merge it with #3046

@SoonIter SoonIter enabled auto-merge (squash) January 22, 2026 15:20
@SoonIter SoonIter disabled auto-merge January 22, 2026 15:20
@SoonIter SoonIter changed the title fix: use SvgWrapper in Llms fix(theme/Llms): use SvgWrapper in Llms Jan 22, 2026
@SoonIter SoonIter enabled auto-merge (squash) January 22, 2026 15:20
@SoonIter SoonIter merged commit a2890df into web-infra-dev:main Jan 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants