Closed Youyou-smiles closed 1 month ago
The changes involve modifications to CSS variables and properties within the image viewer and image components. Specifically, a CSS variable for the mask background color in the image viewer is removed, and its usage is replaced with a fixed RGBA color. Additionally, the error background image variable for the image component is updated to use a base64-encoded JPEG image instead of a non-existent value.
File | Change Summary |
---|---|
packages/theme/src/image-viewer/index.less |
Background property changed from var(--ti-image-viewer-mask-bg-color) to rgba(0,0,0,0.5) . |
packages/theme/src/image-viewer/vars.less |
CSS variable --ti-image-viewer-mask-bg-color removed, previously set to var(--ti-common-border-color-transparent-8) . |
packages/theme/src/image/vars.less |
CSS variable --ti-image-error-bg-image-url updated from none;base64,... to url('data:image/jpeg;base64,...') . |
bug
In the viewer's realm, a mask so bold,
A shade of night, a story told.
With errors now dressed in JPEG's grace,
Our images shine in a brighter space.
Hops of joy, let changes ring,
For every fix, a rabbit's spring! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Duplicate #2188
Bot detected the issue body's language is not English, translate it automatically.
Duplicate #2188
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
Bug Fixes