--ifm-color-primary not used unless USE_SIMPLE_CSS_MINIFIER=true is set #10504
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
The custom theme colours (and possibly other CSS) is not applied after
yarn build
. The custom css is used foryarn start
. If I set the environment variableUSE_SIMPLE_CSS_MINIFIER
totrue
, the custom css is available in the production build.Workaround
Sent the environment variable
USE_SIMPLE_CSS_MINIFIER
to true.Reproducible demo
CodeSandbox-Demo
Steps to reproduce
Steps to Reproduce
USE_SIMPLE_CSS_MINIFIER
is not set (or set to false).yarn start
and observe the hero background and links are orange.yarn build
yarn serve
Expected behavior
The hero background and links are orange.
Actual behavior
The hero background and links are blue.
Your environment
Self-service
The text was updated successfully, but these errors were encountered: