You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for providing this beautiful theme! I've been using it for a project and wanted to let you know about some deprecation warnings that appeared when running jekyll serve locally. These warnings are related to Sass and could potentially cause issues in the future as Dart Sass evolves. Here are the details:
1. Deprecation Warning: @import is deprecated
Sass has deprecated the @import rule and plans to remove it entirely in Dart Sass 3.0.0. This affects the following lines in the file /assets/css/style.scss:
There are additional warnings related to global built-in functions like mix() and map-merge, as well as red(), green(), and blue(). While they don't currently break functionality, updating them to the latest standards would ensure compatibility with future Sass releases.
What Works
The theme works perfectly fine for now despite these warnings. However, addressing these issues will make the theme future-proof and compliant with Sass best practices.
The text was updated successfully, but these errors were encountered:
Hi there,
First of all, thank you for providing this beautiful theme! I've been using it for a project and wanted to let you know about some deprecation warnings that appeared when running
jekyll serve
locally. These warnings are related to Sass and could potentially cause issues in the future as Dart Sass evolves. Here are the details:1. Deprecation Warning:
@import
is deprecatedSass has deprecated the
@import
rule and plans to remove it entirely in Dart Sass 3.0.0. This affects the following lines in the file/assets/css/style.scss
:Suggested Solution: Replace
@import
with@use
. Example:You can read more about this in the [official Sass documentation](https://sass-lang.com/d/import).
2. Deprecation Warning: Color Functions (
lighten
,darken
)Functions like
lighten()
anddarken()
are also deprecated. Here's an example from/assets/css/style.scss
(line 13):Suggested Solution: Replace these functions with
color.adjust
orcolor.scale
. Example:More details can be found in the [color functions documentation](https://sass-lang.com/d/color-functions).
3. Other Deprecations
There are additional warnings related to global built-in functions like
mix()
andmap-merge
, as well asred()
,green()
, andblue()
. While they don't currently break functionality, updating them to the latest standards would ensure compatibility with future Sass releases.What Works
The theme works perfectly fine for now despite these warnings. However, addressing these issues will make the theme future-proof and compliant with Sass best practices.
The text was updated successfully, but these errors were encountered: