From 1f68946f18e47c46ba8d5ea1a2f5be361c52b742 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Tue, 8 Jun 2021 10:00:57 +0200
Subject: [PATCH] Add css variable documentation and bump version

---
 README.md    | 10 ++++++++++
 package.json |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 8a2e8df..3a1b558 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,11 @@ Note that you will need a Keycloak server along with a client id for the domain
 - `allow-annotating` (optional): Needs to be set to allow annotating the PDFs
     - example `allow-annotating`
 
+#### Exposed CSS variables
+
+- `--dbp-override-image-nextcloud` is used to override the cloud image on the connection screen of the Nextcloud file picker
+  - example CSS: `html { --dbp-override-image-nextcloud: url(/icons/nextcloud.svg); }`
+
 ### dbp-official-signature-pdf-upload
 
 You can use this activity to officially sign PDF documents like this:
@@ -111,6 +116,11 @@ Note that you will need a Keycloak server along with a client id for the domain
 - `show-clipboard` (optional): Needs to be set to allow using the clipboard in the file picker dialog
     - example `show-clipboard`
 
+#### Exposed CSS variables
+
+- `--dbp-override-image-nextcloud` is used to override the cloud image on the connection screen of the Nextcloud file picker
+  - example CSS: `html { --dbp-override-image-nextcloud: url(/icons/nextcloud.svg); }`
+
 ### dbp-signature-verification
 
 This activity shows an information page where to verify signed documents, you can use it like this:
diff --git a/package.json b/package.json
index 5b5fb7f..cacff0d 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@dbp-topics/signature",
   "internalName": "dbp-signature",
-  "version": "1.0.6",
+  "version": "1.0.7",
   "main": "src/dbp-signature.js",
   "license": "LGPL-2.1-or-later",
   "repository": {
-- 
GitLab