SCSS variable theme issue after update

AI-generated summary

The user artur-shaik encountered a SCSS variable theme issue after an internal update, resulting in a stack trace related to the red() function in variables.scss. Steven suggested troubleshooting via safe mode and disabling customizations, but artur-shaik confirmed the issue persisted even in safe mode. The problem was isolated to custom color schemes, as switching to the default “Simple Dark” scheme resolved it artur-shaik. The issue appears to have been resolved recently artur-shaik.

Just did internal update, and then rebuild with launcher.

And now have this stacktrace on screen instead of my site:

Error: argument `$color` of `red($color)` must be a color
Backtrace:
app/assets/stylesheets/common/foundation/variables.scss:145, in function `red`
app/assets/stylesheets/common/foundation/variables.scss:145, in function `dc-color-brightness`
app/assets/stylesheets/common/foundation/variables.scss:180, in function `dark-light-diff`
app/assets/stylesheets/common/foundation/variables.scss:207 on line 145 of 
app/assets/stylesheets/common/foundation/variables.scss
(red($color) * 0.299) + (green($color) * 0.587) + (blue($color) * 0.114)\

Where can be issue?

I did a few upgrades last night, so even though it mentions this file : discourse/app/assets/stylesheets/common/foundation/variables.scss at main · discourse/discourse · GitHub

I doubt it’s an issue with core.

Could you try the safe mode in your forum yourforum.com/safe-mode and disable one thing at a time?

I’m not an expert but it could help you find the source of the issue

Yeah, I already tryed it. But have the same issue on safe-mode page, too.
Can I somehow disable my theme?

Strange, but it works only if I choose “Simple Dark” colorscheme. Any other give me this issue. Even if I copy “Simple Dark” scheme.

Seems like it was fixed recently. Thanks.