From 8ed3415b1e67804e0020012a827d6f06674384cd Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 6 Sep 2020 00:24:22 +0200 Subject: [PATCH] Add skinVariants in settings --- conf/settings.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/conf/settings.json b/conf/settings.json index a8ad120..18bb941 100644 --- a/conf/settings.json +++ b/conf/settings.json @@ -82,6 +82,32 @@ */ "skinName": "colibris", + /* + * Skin Variants + * + * Use the UI skin variants builder at /p/test#skinvariantsbuilder + * + * For the colibris skin only, you can choose how to render the three main + * containers: + * - toolbar (top menu with icons) + * - editor (containing the text of the pad) + * - background (area outside of editor, mostly visible when using page style) + * + * For each of the 3 containers you can choose 4 color combinations: + * super-light, light, dark, super-dark. + * + * For example, to make the toolbar dark, you will include "dark-toolbar" into + * skinVariants. + * + * You can provide multiple skin variants separated by spaces. Default + * skinVariant is "super-light-toolbar super-light-editor light-background". + * + * For the editor container, you can also make it full width by adding + * "full-width-editor" variant (by default editor is rendered as a page, with + * a max-width of 900px). + */ + "skinVariants": "super-light-toolbar super-light-editor light-background", + /* * IP and port which etherpad should bind at */