diff --git a/README.md b/README.md index a2df341..7b23ff5 100644 --- a/README.md +++ b/README.md @@ -49,27 +49,12 @@ my-theme └─login |_ theme.properties └─ resources - ├─ theme.json ├─ js | └─ config.js └─ img └─ logo.png ``` -#### theme.json - -The `theme.json` file allows you to provide extra informations that can be used by the various fragments. - -By default the `theme.json` provides version informations for the theme as well as for the parent KDK theme: - -```json -{ - "version": { - "theme": "latest", - "kdkTheme": "latest" - } -} -``` > [!NOTE] > These informations are used by the default `footer.ftl` fragment which displays the different version in a tooltip. @@ -87,6 +72,13 @@ locales=fr,en meta=viewport==width=device-width,initial-scale=1 ``` +In addition, this theme provides 2 additional variables: +* `version`: which allows you to define the version of your theme. +* `kdkVersion`: which allows you to define the version of the KDK theme. + +> [!TIP] +> These variables can be useful to customize your CI process. + #### config.js The `config.js` file allows you to configure **Quasar** by defining a [Quasar Config Object](https://quasar.dev/start/umd/#quasar-config-object). diff --git a/themes/kdk/login/fragments/footer.ftl b/themes/kdk/login/fragments/footer.ftl index 1d48eba..dab081d 100644 --- a/themes/kdk/login/fragments/footer.ftl +++ b/themes/kdk/login/fragments/footer.ftl @@ -2,8 +2,8 @@