Skip to content

Commit

Permalink
Merge pull request #14 from TheBnl/linear-gradient-support
Browse files Browse the repository at this point in the history
Linear gradient support
  • Loading branch information
wilr authored May 22, 2023
2 parents f49a91d + 858fd1f commit 35cbf45
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/Heyday/ColorPalette/Fields/ColorPaletteField.ss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% loop $Options %>
<li class="$Class">
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
<label for="$ID" style="background-color: $Title"></label>
<label for="$ID" style="background: $Title"></label>
</li>
<% end_loop %>
</ul>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul $AttributesHTML>
<li>
<input name="$Name" type="hidden" value="$InputValue" />
<label for="$ID" style="background-color: $AttrValue"></label>
<label for="$ID" style="background: $AttrValue"></label>
</li>
</ul>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<% loop $Options %>
<li class="$Class">
<input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
<label for="$ID" style="background-color: $Title"></label>
<label for="$ID" style="background: $Title"></label>
</li>
<% end_loop %>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<ul $AttributesHTML>
<li class="$Class">
<input name="$Name" type="hidden" value="$InputValue" />
<label for="$ID" style="background-color: $AttrValue"></label>
<label for="$ID" style="background: $AttrValue"></label>
</li>
</ul>

0 comments on commit 35cbf45

Please sign in to comment.