Fix custom-theme example to be more useful

Not it provides a meaningful example. It also just includes pre-built
css file for the example.
This commit is contained in:
Jun
2016-07-13 01:11:30 +09:00
parent 26852236cc
commit fdc8d64fd9
5 changed files with 212 additions and 23 deletions

View File

@@ -1,11 +1,23 @@
@import '../src/css/main';
.ps-theme-custom-theme {
/*
this file is built into custom-theme.css
$ node-sass examples/custom-theme.scss -o examples/
*/
.ps-theme-square {
@include ps-container(map-merge($ps-theme-default, (
scrollbar-rail-scale-hover: 1.5,
scrollbar-y-rail-width: 8px,
scrollbar-y-width: 6px,
scrollbar-x-rail-height: 8px,
scrollbar-x-height: 6px
border-radius: 0,
scrollbar-x-rail-bottom: 0,
scrollbar-x-rail-height: 10px,
scrollbar-x-bottom: 0,
scrollbar-x-height: 10px,
scrollbar-x-hover-height: 10px,
scrollbar-y-rail-right: 0,
scrollbar-y-rail-width: 10px,
scrollbar-y-right: 0,
scrollbar-y-width: 10px,
scrollbar-y-hover-width: 10px,
)));
}