Hi, I’m new to Jekyll and Ruby. Recently (with a lot of effort), I got my site working locally and through GitHub Pages. Currently, the build process shows me deprecation warnings:
../../../../minima-2.5.2/_sass/minima/_base.scss 240:25 @import
minima.scss 48:3 @import
/<path-to-project>/assets/main.scss 1:9 root stylesheet
Deprecation Warning [color-functions]: lighten() is deprecated. Suggestions:
color.scale($color, $lightness: 66.5217391304%)
color.adjust($color, $lightness: 6%)
More info: https://sass-lang.com/d/color-functions
╷
240 │ background-color: lighten($grey-color-light, 6%);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
../../../../minima-2.5.2/_sass/minima/_base.scss 240:25 @import
minima.scss 48:3 @import
/<path-to-project>/assets/main.scss 1:9 root stylesheet
Warning: 6 repetitive deprecation warnings omitted.
Many approaches are suggested: one is to simply ignore and silence the warnings, and another is to change the compiler version.
However, the approach suggested by vadimkantorov here sounds promising to me: lighten is deprecated · Issue #836 · jekyll/minima · GitHub. My current understanding is that it suggests using plain CSS to avoid these kinds of problems.
What I’ve tried so far is prompting an AI to solve the issue. I could solve it locally but completely messed up my GitHub Page. In the end, I didn’t understand where the issue was, so I reverted everything to a fresh Minima site instance.
Why am I concerned about this? Well, I don’t understand the underlying chain (Jekyll SCSS compilation - GitHub Actions performed - final CSS produced and rendered), so I can’t really judge how close or far I am from a breaking change by the compiler maintainer or theme maintainer. I want to change a few things in the style to personalize the site (color palettes, a few sizes, and small effects on certain actions), all of which I can do with my limited knowledge of CSS, where I feel more comfortable.
To summarize, I think it’s a good idea to just rely on plain CSS for styling (though this isn’t a fixed idea). So, how can I achieve this and skip the CSS compilation process? Or is it okay to just silence the warnings and edit the default files provided? I couldn’t figure out the steps to make it work from the README on the following GitHub repo: GitHub - vadimkantorov/minimacss: Compiled SASS styles from https://github.com/jekyll/minima for use "as is" in CSS-only small static website projects