From 2a3ee5e5b6799720d752e595e248a18f62fa9a70 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 25 Sep 2024 09:47:46 -0400 Subject: [PATCH] docs(README): Add config reset / occ answer to README Fixes #30 Fixes #20 Signed-off-by: Josh --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6a10daf..9bfe900 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,13 @@ Example: color: var(--color-primary); } ``` + +## *How can I recover if my customized CSS code has broken the user interface?* + +The css configuration is stored in the app config database table, but you can use the `occ config:app:*` commands to obtain, modify or reset it as well. e.g. + +``` +occ config:app:get theming_customcss customcss +occ config:app:set theming_customcss customcss --value "body { background-color: red; }" +occ config:app:delete theming_customcss customcss +```