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

Handle Sass deprecation warnings #40

Open
Not-A-Normal-Robot opened this issue Nov 7, 2024 · 0 comments
Open

Handle Sass deprecation warnings #40

Not-A-Normal-Robot opened this issue Nov 7, 2024 · 0 comments

Comments

@Not-A-Normal-Robot
Copy link
Member

Currently there are two to worry about:
https://sass-lang.com/documentation/breaking-changes/color-functions/
https://sass-lang.com/documentation/breaking-changes/legacy-js-api/

Deprecation Warning: darken() is deprecated. Suggestions:           8:49:12 PM

color.scale($color, $lightness: -69.1525423729%)
color.adjust($color, $lightness: -40%)

More info: https://sass-lang.com/d/color-functions

    ╷
196 │         background-color: darken(colors.$secondary-color-alpha75, 40%);
    │                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    components/header.vue 196:27  root stylesheet
Deprecation Warning: darken() is deprecated. Suggestions:           8:49:12 PM

color.scale($color, $lightness: -62.5830508475%)
color.adjust($color, $lightness: -36.2%)

More info: https://sass-lang.com/d/color-functions

    ╷
265 │         background-color: darken(colors.$secondary-color-alpha50, 36.2%);
    │                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    components/header.vue 265:27  root stylesheet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant