From 9866d16774e974891b7e3290e3fd792f976f8f17 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Mon, 25 Nov 2024 13:49:33 -0800 Subject: [PATCH] Replace diff with js syntax and emphasize-lines --- .../installing-vlt.md | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/docs/customizing-volto-light-theme/installing-vlt.md b/docs/customizing-volto-light-theme/installing-vlt.md index ca0ba698..d9bc4b81 100644 --- a/docs/customizing-volto-light-theme/installing-vlt.md +++ b/docs/customizing-volto-light-theme/installing-vlt.md @@ -53,24 +53,19 @@ Here is the list of recommended addons to install, including VLT, which should b To leverage a cohesive set of styles, components, and design patterns that align with Volto's best practices, you need to set VLT as your theme provider. -Open the {file}`volto.config.js` file in your {file}`frontend` folder, and modify it as shown below: - -```diff -diff --git a/frontend/volto.config.js b/frontend/volto.config.js -index 56feec6..41aa96b 100644 ---- a/frontend/volto.config.js -+++ b/frontend/volto.config.js -@@ -1,7 +1,7 @@ - const addons = ['volto-my-project']; --const theme = ''; -+const theme = '@kitconcept/volto-light-theme'; - - module.exports = { - addons, -- theme -+ theme, - }; - ``` +Open the {file}`volto.config.js` file in your {file}`frontend` folder, and modify it as shown below. + +```{code-block} js +:emphasize-lines: 2 + +const addons = ['volto-project-title']; +const theme = '@kitconcept/volto-light-theme'; + +module.exports = { + addons, + theme +}; +``` You'll need to restart your Plone frontend to see the changes.