Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SASS Fixes #1459

Merged
merged 5 commits into from
Sep 6, 2024
Merged

SASS Fixes #1459

merged 5 commits into from
Sep 6, 2024

Conversation

jakobvogel
Copy link
Member

@jakobvogel jakobvogel commented Sep 5, 2024

Description

Primarily fixes the way the SASS parser handles the import of other stylesheets. This is now done via a Sirius helper class, Resources, in order to also cover files in the /default/ directory. Along with that, the code of the SASS implementation is generally revised.

Additional Notes

  • This PR fixes or works on following ticket(s): OX-10783

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices

…by using proper variable names (rather than single letters and such) and removing unnecessary fully qualified type names. The code has been reformatted afterwards. No other (intended) changes in this commit.

OX-10783
The generator was missing assets in the /default directory under certain circumstances. It generally seems safer to resolve resources via our framework anyway.

OX-10783
@jakobvogel jakobvogel added the 🐛 Bugfix Contains only a small fix for an existing bug label Sep 5, 2024
src/main/java/sirius/web/sass/Generator.java Outdated Show resolved Hide resolved
…as extending the path with a leading slash is already done in the `Resources` class.

OX-10783

Co-authored-by: Sascha Bieberstein <sbi@scireum.de>
@jakobvogel jakobvogel merged commit 65087c6 into develop Sep 6, 2024
3 checks passed
@jakobvogel jakobvogel deleted the feature/jvo/OX-10783-Sass-Fixes branch September 6, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bugfix Contains only a small fix for an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants