LukaszWatroba / v-accordion

Multi-level accordion component for AngularJS.
http://lukaszwatroba.github.io/v-accordion
MIT License
310 stars 100 forks source link

Customizable? #17

Closed weiway closed 9 years ago

weiway commented 9 years ago

Is there anyway to customize? Like color theme, animation, and etc.. ? Thank you!

krislm commented 9 years ago

+1

LukaszWatroba commented 9 years ago

If you are using SASS, you can override the default variables.

// -------------------------------------
// Settings
// -------------------------------------

$v-accordion-default-theme: true !default;

// Accordion
// -------------------------------------

$v-accordion-spacing: 20px !default;

$v-pane-border-color: #D8D8D8 !default;
$v-pane-expanded-border-color: #2196F3 !default;
$v-pane-icon-color: #2196F3 !default;
$v-pane-hover-color: #2196F3 !default;
$v-pane-disabled-opacity: 0.6 !default;

$v-pane-expand-duration: 0.5s  !default;
$v-pane-hover-duration: 0.25s !default;
GiTweeker commented 8 years ago

Hi; am not using sass.. using angular material and already declared my theme in config.. Its still not the default theme, is there a way to bind it to my theme ?

GiTweeker commented 8 years ago

nevermind .. compiling the sass theme to my app theme . thanks