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

lighten is deprecated #836

Open
mathieujobin opened this issue Jan 30, 2025 · 3 comments
Open

lighten is deprecated #836

mathieujobin opened this issue Jan 30, 2025 · 3 comments

Comments

@mathieujobin
Copy link

Hi,

I am not sure why they deprecate such a simple and useful function.
I'm kind of tempted to just silence it by doing a local redefinition, but I am not a scss expert.

I am getting this deprecation warning...

Deprecation Warning [color-functions]: lighten() is deprecated. Suggestions:

color.scale($color, $lightness: 66.5217391304%)
color.adjust($color, $lightness: 6%)

I believe its from the auto.scss file ?
anybody has a strong opinion on which direction we should take?

@ashmaroli
Copy link
Member

Have you tried the following in order to silence deprecations?:

# in _config.yml

sass:
  quiet_deps: true

@bobrocke
Copy link

bobrocke commented Feb 6, 2025

That should quiet the warnings. But do you expect the released version of 3.0.0 to eliminate those depreciations?

@ashmaroli
Copy link
Member

No. v3.0 won't remove the deprecated usage for the benefit of users consuming this theme via github-pages with jekyll-remote-theme.
(GHP flow is locked to use the legacy Ruby Sass syntax(es)).

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

3 participants