Skip to content

feat: add support for office-compatible colors in SVG output#135

Merged
erweixin merged 1 commit into
mainfrom
fix-svg-alpha
Jul 12, 2026
Merged

feat: add support for office-compatible colors in SVG output#135
erweixin merged 1 commit into
mainfrom
fix-svg-alpha

Conversation

@erweixin

Copy link
Copy Markdown
Owner
  • Introduced --office-compatible-colors flag to render-svg CLI, allowing SVG paint colors to be emitted as rgb(...) with opacity attributes instead of the default rgba(...).
  • Updated SvgOptions struct to include color_syntax field, enabling users to specify the desired color syntax.
  • Enhanced documentation to reflect the new color syntax options and their usage.

- Introduced `--office-compatible-colors` flag to `render-svg` CLI, allowing SVG paint colors to be emitted as `rgb(...)` with opacity attributes instead of the default `rgba(...)`.
- Updated `SvgOptions` struct to include `color_syntax` field, enabling users to specify the desired color syntax.
- Enhanced documentation to reflect the new color syntax options and their usage.
@erweixin erweixin merged commit ac9be23 into main Jul 12, 2026
6 checks passed
@erweixin erweixin deleted the fix-svg-alpha branch July 12, 2026 17:42
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