diff --git a/docs/3-customizing/02-theme.md b/docs/3-customizing/02-theme.md index d196b73d118c..9a104e1c3cdd 100644 --- a/docs/3-customizing/02-theme.md +++ b/docs/3-customizing/02-theme.md @@ -1,4 +1,4 @@ -# Custom Theming with `UI Theme Designer` +# Custom Theming with UI Theme Designer UI5 Web Components are fully compatible with `UI Theme Designer`, a tool for building a custom theme. You can create your own theme and effortlessly integrate it in your UI5 Web Components project on HTML level. On top, this does not prevent you from switching to and from officially supported themes, while having your own. diff --git a/docs/5-development/04-understanding-hbs-templates.md b/docs/5-development/04-understanding-hbs-templates.md index bd01088d0e69..d726e90e5150 100644 --- a/docs/5-development/04-understanding-hbs-templates.md +++ b/docs/5-development/04-understanding-hbs-templates.md @@ -1,4 +1,4 @@ -# Understanding the Handlebars (`.hbs`) templates +# Understanding the Handlebars (.hbs) templates The preferred way to write the renderers for UI5 Web Components (and supported directly by the build tools) is to use standard Handlebars templates with some additional custom syntax. diff --git a/packages/website/build-scripts/icons-generation/index.mjs b/packages/website/build-scripts/icons-generation/index.mjs index 542517c70609..07036beb5748 100644 --- a/packages/website/build-scripts/icons-generation/index.mjs +++ b/packages/website/build-scripts/icons-generation/index.mjs @@ -18,6 +18,13 @@ const capitalize = (str) => { return capitalizedWord; } +const commonImports = ` +import React from 'react'; +import clsx from "clsx"; +import Heading from '@theme/Heading'; +import Link from '@docusaurus/Link'; +` + const _generateIconsPage = (sourceDir, collection, version) => { let imports = ``; let icons = ``; @@ -36,17 +43,22 @@ import ${svgImport} from "../local-cdn/local-cdn/${collection}/dist/${version}/$ `; icons += ` -