diff --git a/public/images/fes.svg b/public/images/fes.svg new file mode 100644 index 0000000000..1578b57306 --- /dev/null +++ b/public/images/fes.svg @@ -0,0 +1,21 @@ + + + + + + + + friendly_errors p5._friendlyError() p5._validateParameters() p5._friendlyFileLoadError() p5._friendlyAutoplayError()p5 p5._fesErrorMonitor()test/unit/core/error_helpers.jsused for printing error messagesused for unit testing _report() _friendlyError() _fesErrorMonitor() _friendlyAutoplayError()fes_core.js _validateParameters() _friendlyParamError() _getValidateParamsArgTree() _clearValidateParamsCache() class errvalidate_params.js _friendlyFileLoadError()file_errors.js __getErrorStackParser()stacktrace.js \ No newline at end of file diff --git a/src/content/contributor-docs/en/fes_contribution_guide.mdx b/src/content/contributor-docs/en/fes_contribution_guide.mdx index c68ad15c30..82d27efa86 100644 --- a/src/content/contributor-docs/en/fes_contribution_guide.mdx +++ b/src/content/contributor-docs/en/fes_contribution_guide.mdx @@ -26,7 +26,11 @@ The main functions for generating the Friendly Error messages are: Here is a diagram that outlines the location of all functions in FES and how they connect to others: -![A diagram of the files used in FES and their uses](src/content/contributor-docs/images/fes.svg) +A diagram of the files used in FES and their uses Individual files contain the following main FES functions: diff --git a/styles/global.scss b/styles/global.scss index 5f34f2ec78..facdfac4c2 100644 --- a/styles/global.scss +++ b/styles/global.scss @@ -409,6 +409,10 @@ pre.code-box, } } +.dark-theme .invert-in-dark { + filter: invert(100%); +} + // Grid that switches from 2 to 3 to 4 columns as screen gets bigger // Usually used with items that have a column width of 3 .content-grid {