Skip to content

Conversation

@caio-pizzol
Copy link
Contributor

@caio-pizzol caio-pizzol commented Jan 27, 2026

image

…ithout fill

SD-1651: When a text box or shape has no explicit fill color specified in
spPr and no style element, extractFillColor was returning the default
blue (#5b9bd5) instead of null (transparent).

Per ECMA-376 spec, shapes without fill specification should be transparent.
This fix changes three return statements from returning blue to returning
null when:
- No style element exists
- Style exists but no fillRef
- fillRef exists but no schemeClr

This fixes text boxes appearing with blue backgrounds when they should be
transparent.
@linear
Copy link

linear bot commented Jan 27, 2026

@caio-pizzol caio-pizzol requested review from artem-harbour and harbournick and removed request for harbournick January 27, 2026 18:27
@caio-pizzol caio-pizzol self-assigned this Jan 27, 2026
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.

2 participants