From fb11cc3c60f3d0bc9f2aa1df8b695215809d9296 Mon Sep 17 00:00:00 2001 From: Aliza Held Date: Thu, 25 Sep 2025 12:05:54 +0200 Subject: [PATCH 1/2] refactor: change hardcoded colour values to variables from theme Signed-off-by: Aliza Held --- lib/templates/email/bodyBegin.html | 2 +- lib/templates/email/bodyEnd.html | 2 +- lib/templates/email/bodyText.html | 2 +- lib/templates/email/button.html | 2 +- lib/templates/email/buttonGroup.html | 4 ++-- lib/templates/email/footer.html | 6 +++--- lib/templates/email/head.html | 22 +++++++++++----------- lib/templates/email/header.html | 4 ++-- lib/templates/email/heading.html | 4 ++-- lib/templates/email/listItem.html | 8 ++++---- 10 files changed, 28 insertions(+), 28 deletions(-) diff --git a/lib/templates/email/bodyBegin.html b/lib/templates/email/bodyBegin.html index 86b4f67..65bed99 100644 --- a/lib/templates/email/bodyBegin.html +++ b/lib/templates/email/bodyBegin.html @@ -1,5 +1,5 @@ - +
diff --git a/lib/templates/email/bodyEnd.html b/lib/templates/email/bodyEnd.html index 64ddfe7..230489e 100644 --- a/lib/templates/email/bodyEnd.html +++ b/lib/templates/email/bodyEnd.html @@ -1,6 +1,6 @@
diff --git a/lib/templates/email/bodyText.html b/lib/templates/email/bodyText.html index 4f01c61..5681251 100644 --- a/lib/templates/email/bodyText.html +++ b/lib/templates/email/bodyText.html @@ -1,6 +1,6 @@

- + %s

diff --git a/lib/templates/email/button.html b/lib/templates/email/button.html index 9d3a09b..5c67262 100644 --- a/lib/templates/email/button.html +++ b/lib/templates/email/button.html @@ -2,7 +2,7 @@ diff --git a/lib/templates/email/buttonGroup.html b/lib/templates/email/buttonGroup.html index 6c675de..0a1c49a 100644 --- a/lib/templates/email/buttonGroup.html +++ b/lib/templates/email/buttonGroup.html @@ -2,12 +2,12 @@
- + %7$s
diff --git a/lib/templates/email/footer.html b/lib/templates/email/footer.html index 4b46387..6515fa5 100644 --- a/lib/templates/email/footer.html +++ b/lib/templates/email/footer.html @@ -1,5 +1,5 @@ -
- + %7$s - + %9$s
+
@@ -23,14 +23,14 @@

- t('Further information')?> + t('Further information')?>

diff --git a/lib/templates/email/head.html b/lib/templates/email/head.html index a6153c3..51d0984 100644 --- a/lib/templates/email/head.html +++ b/lib/templates/email/head.html @@ -74,17 +74,17 @@ } } .button { - background-color: rgb(17, 199, 230); - border: 2px solid rgb(17, 199, 230); + background-color: var(--ion-color-sky-s3); + border: 2px solid var(--ion-color-sky-s3); border-radius: 40px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; - box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 2px 12px 0px; + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 2px 12px 0px; /* no correspondent variable to box-shadow values in theme */ box-sizing: border-box; - color: rgb(11, 42, 99); + color: var(--ion-color-blue-b7); cursor: pointer; display: inline-grid; font-feature-settings: normal; @@ -93,19 +93,19 @@ font-weight: 600; height: 36px; line-height: 20px; - outline-color: rgba(0, 0, 0, 0); + outline-color: transparent; outline-offset: 2px; outline-style: solid; outline-width: 2px; padding: 6px 12px; tab-size: 4; text-align: center; - text-decoration-color: rgb(11, 42, 99); + text-decoration-color: var(--ion-color-blue-b7); text-decoration-line: none; text-decoration-style: solid; text-decoration-thickness: auto; text-size-adjust: 100%; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -webkit-tap-highlight-color: transparent; } @media all { .inline-block {display:inline-block !important;} @@ -120,14 +120,14 @@ 96 - -
+ +
-
-
+ diff --git a/lib/templates/email/header.html b/lib/templates/email/header.html index c6557a3..3f80526 100644 --- a/lib/templates/email/header.html +++ b/lib/templates/email/header.html @@ -6,7 +6,7 @@
- +
@@ -22,7 +22,7 @@
- IONOS Logo + IONOS Logo  diff --git a/lib/templates/email/heading.html b/lib/templates/email/heading.html index 719844d..418b512 100644 --- a/lib/templates/email/heading.html +++ b/lib/templates/email/heading.html @@ -19,7 +19,7 @@

- + %s

@@ -31,7 +31,7 @@
-  +
diff --git a/lib/templates/email/listItem.html b/lib/templates/email/listItem.html index c555762..ab30183 100644 --- a/lib/templates/email/listItem.html +++ b/lib/templates/email/listItem.html @@ -2,10 +2,10 @@ - - - From c923856b71453a331a5aa95b1882b70db340a6e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 09:27:02 +0000 Subject: [PATCH 2/2] build(deps-dev): bump vite from 7.1.5 to 7.1.7 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.1.5 to 7.1.7. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v7.1.7/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 7.1.7 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 ++++------ package.json | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b786e0..36d3c84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@nextcloud/eslint-config": "^8.4.2", "@nextcloud/stylelint-config": "^3.1.0", "@nextcloud/vite-config": "^1.5.2", - "vite": "^7.1.3" + "vite": "^7.1.7" }, "engines": { "node": "^22.0.0", @@ -3404,7 +3404,6 @@ "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue2/-/plugin-vue2-2.3.3.tgz", "integrity": "sha512-qexY6+bbwY8h0AZerzUuGywNTi0cLOkbiSbggr0R3WEW95iB2hblQFyv4MAkkc2vm4gZN1cO5kzT1Kp6xlVzZw==", "dev": true, - "license": "MIT", "engines": { "node": "^14.18.0 || >= 16.0.0" }, @@ -12545,11 +12544,10 @@ } }, "node_modules/vite": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.5.tgz", - "integrity": "sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.7.tgz", + "integrity": "sha512-VbA8ScMvAISJNJVbRDTJdCwqQoAareR/wutevKanhR2/1EkoXVZVkkORaYm/tNVCjP/UDTKtcw3bAkwOUdedmA==", "dev": true, - "license": "MIT", "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", diff --git a/package.json b/package.json index 262408d..56f6a5b 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,6 @@ "@nextcloud/eslint-config": "^8.4.2", "@nextcloud/stylelint-config": "^3.1.0", "@nextcloud/vite-config": "^1.5.2", - "vite": "^7.1.3" + "vite": "^7.1.7" } }
+  + @@ -31,7 +31,7 @@

- + %s

@@ -52,7 +52,7 @@
+