Closed cadusilva closed 8 months ago
Thank you for reporting. I'm not sure why these selectors would not be supported.
@vmstan Are you also seeing this error on your end? (Asking since I know you're also compiling from the latest commits)
I did one last night and didn't have any issues, I can try one later today and see.
Are you still having this issue @cadusilva as of the latest commits?
Are you still having this issue @cadusilva as of the latest commits?
Yes, the issue persists. Latest result:
Compiling...
Compiled all packs in /home/mastodon/live/public/packs
DEPRECATION WARNING: The selector ".app-body .column-header :is(> button, .column-header__back-button)" is invalid CSS. It will be omitted from the generated CSS.
This will be an error in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/bogus-combinators
╷
3282 │ .app-body .column-header :is(> button, .column-header__back-button) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
app/javascript/styles/tangerineui/tangerineui.scss 3282:1 @import
app/javascript/styles/tangerineui.scss 2:9 root stylesheet
DEPRECATION WARNING: The selector ".app-body .column-header :is(> button, .column-header__back-button)" is invalid CSS. It will be omitted from the generated CSS.
This will be an error in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/bogus-combinators
╷
3282 │ .app-body .column-header :is(> button, .column-header__back-button) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
app/javascript/styles/tangerineui-purple/tangerineui-purple.scss 3282:1 @import
app/javascript/styles/tangerineui-purple.scss 2:9 root stylesheet
DEPRECATION WARNING: The selector ".app-body .column-header :is(> button, .column-header__back-button)" is invalid CSS. It will be omitted from the generated CSS.
This will be an error in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/bogus-combinators
╷
3282 │ .app-body .column-header :is(> button, .column-header__back-button) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
app/javascript/styles/tangerineui-cherry/tangerineui-cherry.scss 3282:1 @import
app/javascript/styles/tangerineui-cherry.scss 2:9 root stylesheet
But when I remove the line in each variant stylesheet file, everything compiles just fine:
sed -i '/^.app-body .column-header :is(> button, .column-header__back-button) /{N;N;d}'
I tried even with a clean installation of Mastodon.
4.1.1
v20.10.0
v4.3.0-alpha.3-e85a2aa
v2.0.0-prerelease
Thank you for that, I just pushed a workaround. Tell me if it's all good now :)
Your workaround did the trick, the compilation was successful! Thank you
Compiling...
Compiled all packs in /home/mastodon/live/public/packs
Today I tried to update Mastodon to the most recent commits (as of March 1st) in the
main
branch, but the process was unable to complete successfully due to the following error:This may have changed in the last couple of days, as I was able to compile everything just fine a week ago.