Skip to content

Commit

Permalink
Allow theme name to be set in the arrows helper
Browse files Browse the repository at this point in the history
  • Loading branch information
adamschwartz committed Jan 14, 2014
1 parent ffee54b commit ac07962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sass/helpers/_tether-theme-arrows.sass
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import compass/css3

=tether-theme-arrows($themePrefix: "tether", $arrowSize: 16px, $backgroundColor: #fff, $color: inherit, $useDropShadow: false)
.#{ $themePrefix }-element.#{ $themePrefix }-theme-arrows
=tether-theme-arrows($themePrefix: "tether", $themeName: "arrows", $arrowSize: 16px, $backgroundColor: #fff, $color: inherit, $useDropShadow: false)
.#{ $themePrefix }-element.#{ $themePrefix }-theme-#{ $themeName }
max-width: 100%
max-height: 100%

Expand Down
3 changes: 2 additions & 1 deletion sass/tether-theme-arrows.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
@import helpers/tether-theme-arrows

$themePrefix: "tether"
$themeName: "arrows"
$arrowSize: 16px
$backgroundColor: #fff
$color: inherit
$useDropShadow: true

+tether($themePrefix: $themePrefix)
+tether-theme-arrows($themePrefix: $themePrefix, $arrowSize: $arrowSize, $backgroundColor: $backgroundColor, $color: $color, $useDropShadow: $useDropShadow)
+tether-theme-arrows($themePrefix: $themePrefix, $themeName: $themeName, $arrowSize: $arrowSize, $backgroundColor: $backgroundColor, $color: $color, $useDropShadow: $useDropShadow)

0 comments on commit ac07962

Please sign in to comment.