From 20ef67df8d04f9e9860182daeb1873fb44813028 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 13 Nov 2020 15:54:54 +0100 Subject: [PATCH] Update README.md --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 34fde7a..8586711 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,29 @@ Because the config includes Content-Security-Policy which reduces risk of XSS, y For example to use Kaleidochromic you need to do [this](https://github.com/CTalvio/Kaleidochromic/blob/main/README.md#using-with-reverse-proxy) + +## JSON + ## Skin Properties + - name //The name of the skin + - author //The author of the skin + - defaultCss //The base css of the skin + - options //An array of options that will modified the skin + - ## Options Properties + - type //the type of the input (checkBox, number, select, colorPicker) + - name // the name of the option + - description // the description of the option + - css //The css code that will modified the skin $ symbols in this code will be replaced by the value selected by the user (in number, select and color picer) + + Some option have custom properties: + + - ## number properties + - default //Default value + - step //step of the input + - ## selector properties + - selections //Array of options + - ## selections properties + - name // name of the option + - value // value of the option + + +