After upgrading to Evidence, with a custom app.css file defined in the root of the project, the following error is thrown, and the dev server will not start
Pre-transform error: [postcss] /xxx/.evidence/template/src/app.css:234:3: 'colors.color.1' does not exist in your theme config.
Steps to Reproduce
Define an app.css file in the root of your project, containing the previously defined colour constants
Describe the bug
After upgrading to Evidence, with a custom app.css file defined in the root of the project, the following error is thrown, and the dev server will not start
Steps to Reproduce
Define an app.css file in the root of your project, containing the previously defined colour constants
Severity
blocking all usage of Evidence
Workarounds
This is caused by: https://github.com/evidence-dev/evidence/commit/f50f8c4c2759340303ef5733d021a46a7b05fdd1
To work around it either:
--colorX: theme(colors.color.X);
in your theme file