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

Fix sass deprecation warnings #12314

Open
LukasHirt opened this issue Mar 14, 2025 · 0 comments
Open

Fix sass deprecation warnings #12314

LukasHirt opened this issue Mar 14, 2025 · 0 comments

Comments

@LukasHirt
Copy link
Collaborator

During build, we are getting several sass deprecation warnings. We need to adjust the code.

Deprecation Warning [global-builtin]: In future versions of Sass, round() will be interpreted as a CSS round() calculation. This requires an explicit modulus when rounding numbers with units. If you want to use the Sass function, call math.round() instead.

See https://sass-lang.com/d/import

  ╷
4 │   width: round(calc($oc-size-icon-default * $factor / 2)) * 2;
  │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    packages/design-system/src/components/OcSpinner/OcSpinner.vue 4:10  oc-spinner-size()
    packages/design-system/src/components/OcSpinner/OcSpinner.vue 8:3   root stylesheet
@LukasHirt LukasHirt moved this from Qualification to Prio 3 or less in Infinite Scale Team Board Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Prio 3 or less
Development

No branches or pull requests

1 participant