Zurb Foundation の Section Mixin を使用しようとしています
http://foundation.zurb.com/docs/components/section.html
ソースにあるように:
https://github.com/zurb/foundation/blob/master/scss/foundation/components/_section.scss
セクション mixin を次のように呼び出すことができます。
.section-container {
@include section-container($section-type:accordion);
& > section { @include section($section-type:accordion, $title-selector:".title-sample", $content-selector:".content-sample"); }
}
次のエラーが発生します。
Mixin section doesn't have the following arguments: $title_selector, $content_selector.
インクルードのみを使用してみましたが、パラメーターなしで機能します。しかし、色とそこにあるすべてのプロパティをカスタマイズしたいです。
ヒントを教えてください。
SASS gem、Compass、および Zurb Foundation gem がインストールおよびセットアップされた Rails アプリを使用しています。