The issue was that we used the filename of the uploaded file as SCSS variable name but it’s not allowed to have a SCSS variable start with a digit.
Won’t happen again (and sorry about that @Maciej_Orlowski)
https://github.com/discourse/discourse/commit/24e89b6b38a0fc13c0cbbab7fe23d9011e0148dc