openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
651 stars 377 forks source link

Undefined variable in plugin sass when running npm run build on off1 #8147

Open stephanegigandet opened 1 year ago

stephanegigandet commented 1 year ago

This error happens only on off1, when running "npm run build". Changing the order of the imports seems to solve the issue.

Error in plugin "sass"
Message:
    scss/_settings.scss
Error: Undefined variable.
    ╷
115 │ $primary-color: $primary-button-color;
    │                 ^^^^^^^^^^^^^^^^^^^^^
    ╵
  scss/_settings.scss 115:17  @import
  scss/app.scss 1:9           root stylesheet
[14:59:36] Finished 'css' after 7.45 s
[14:59:36] Finished 'default' after 22 s
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity.