Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
2.9.0 source code.tar.gz | 2025-10-01 | 71.1 MB | |
2.9.0 source code.zip | 2025-10-01 | 71.5 MB | |
README.md | 2025-10-01 | 814 Bytes | |
Totals: 3 Items | 142.6 MB | 1 |
- fix(lg-zoom): avoid reference error when containerRect in not defined [#1684] - Author - @felix-berlin
- Move all scss
@import
to@use/@forward
[#1697] - Author - @joeworkman
⚠️ Breaking: SCSS migrated to @use
/ @forward
Replaced all deprecated SCSS @import
statements with the modern @use
/ @forward
syntax. This improves maintainability and performance, but may break setups where you override lightGallery variables.
If you're not overriding any SCSS variables, nothing changes for you. But if you are, you'll now need to pass them at the time of use, like this:
:::scss
@use 'lg-variables' as * with (
$lg-theme-color: #f00
);
Overrides must be defined before importing lightGallery styles. Avoid mixing @import
and @use
in the same file.