From 6fbfd5c90d77922768cf1363342e2b56c30a7301 Mon Sep 17 00:00:00 2001 From: wujekbogdan Date: Wed, 9 Dec 2015 22:01:10 +0100 Subject: [PATCH] updated README.md file. Added documentation for 'theme' parameter. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 28f4b3b..508b079 100644 --- a/README.md +++ b/README.md @@ -316,6 +316,10 @@ When set to false, when clicking on a rail, the click event will be allowed to p When set to true, you can scroll the container by selecting text and move the cursor. **Default: false** +### theme +A string. It's a class name added to the container element. The class name is prepended with `ps-theme-`. So default theme class name is `ps-theme-default`. In order to create custom themes with scss use `.ps-container($theme)` mixin, where `$theme` is a scss map. Look at `themes.scss` as a reference for how to create custom themes. +**Default: default** + ## Events perfect-scrollbar dispatches custom events.