What's Changed
Note: There are no CSS changes in this release. It primarily improves distribution and updates some of the documentation dependencies.
Distribution Changes
- Icon Distribution by @Jeremy-Walton in #323
- Optics can now be imported with one of the supported icon library addons directly instead of having to import it in addition.
- This resolves the issue of the default material symbols library always being loaded even if you exclusively use a different icon library
- Add no icons distribution version by @Jeremy-Walton in #325
- If your application uses an icon library that is not directly supported by Optics, you can load Optics with no icon library. This resolves the issue of the default material symbols library always being loaded.
- Prevent color method changing when minifying css by @Jeremy-Walton in #321
- For better consistency, we want the minified version to still use hsl for colors instead of converting to rgb.
For more details on these distribution changes, See the following documentation sections
Dependencies
- Update dev dependencies by @Jeremy-Walton in #322
- Bump svgo from 4.0.0 to 4.0.1 by @dependabot[bot] in #324
Repository Changes
- Fix workflow permissions by @Jeremy-Walton in #316
- Split jobs into separate actions with triggers by @Jeremy-Walton in #317
Full Changelog: v2.3.0...v2.3.1