Skip to content

Commit

Permalink
Complete $source options and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Jul 26, 2018
1 parent 70c900c commit 827404c
Show file tree
Hide file tree
Showing 18 changed files with 667 additions and 563 deletions.
49 changes: 49 additions & 0 deletions docs/CHANGELOG.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,53 @@ <h3 class="nav-title">
<div class="text-block">
<h1 id="accoutrement-changelog">Accoutrement Changelog</h1>
<h2 id="1-0-0-unreleased">1.0.0 - UNRELEASED</h2>
<ul>
<li><a href="http://oddbird.net/accoutrement/docs/core.html">Core</a>:
<ul>
<li>NEW: <code>ratio()</code> function accepts <code>$source</code> argument,
for passing in a custom source<span class="widont">&nbsp;</span>map</li>
</ul>
</li>
<li><a href="http://oddbird.net/accoutrement/docs/animate.html">Plugin: Animate</a>
<ul>
<li>NEW: <code>ease()</code>, <code>time()</code>, and <code>change()</code> functions all
accept <code>$source</code> argument,
for passing in a custom source<span class="widont">&nbsp;</span>map</li>
</ul>
</li>
<li><a href="http://oddbird.net/accoutrement/docs/layout.html">Plugin: Layout</a>
<ul>
<li>NEW: <code>break()</code> function accepts <code>$source</code> argument,
for passing in a custom source<span class="widont">&nbsp;</span>map</li>
<li>NEW: <code>break()</code> function accepts <code>$scale</code> boolean,
to turn off access to the scale-plugin <code>$sizes</code> map</li>
<li>NEW: <code>fluid-ratio()</code> function and mixin both accept <code>$source</code> argument,
for passing in a custom source<span class="widont">&nbsp;</span>map</li>
</ul>
</li>
<li><a href="http://oddbird.net/accoutrement/docs/scale.html">Plugin: Scale</a>
<ul>
<li>BREAKING: <code>negative()</code> function and <code>square()</code> mixin
both accept <code>$do</code> argument for on-the-fly adjustments –
replacing the old <code>$units…</code> variable argument.
Non-map <code>$do</code> values are converted to
<code>('convert-units': $do)</code> before processing,
to provide a shortcut for unit-conversions.
<code>negative('root', 'cm')</code> will continue to work,
but <code>negative('root', 'em', 10px)</code> should be changed to
<code>negative('root', 'em' 10px)</code> (with all unit args in a single<span class="widont">&nbsp;</span>list)</li>
<li>NEW: <code>size()</code>/<code>negative()</code> functions and <code>square()</code> mixin
accept <code>$source</code> argument, for passing in a custom source<span class="widont">&nbsp;</span>map</li>
</ul>
</li>
<li><a href="http://oddbird.net/accoutrement/docs/type.html">Plugin: Type</a>
<ul>
<li>NEW: <code>font()</code>/<code>font-family()</code> functions and <code>font-family()</code> mixin
accept <code>$source</code> argument,
for passing in a custom font-source<span class="widont">&nbsp;</span>map</li>
</ul>
</li>
</ul>
<h3 id="1-0-0-beta-1-07-18-18">1.0.0-beta.1 - 07/18/18</h3>
<ul>
<li>NEW: Add <code>_index.scss</code> to simplify default “tools” import (core + plugins)
Expand All @@ -384,6 +431,8 @@ <h3 id="1-0-0-beta-1-07-18-18">1.0.0-beta.1 - 07/18/18</h3>
<li>BREAKING: <code>color()</code> functions accept <code>$do</code> arg
for on-the-fly adjustments – 
<em>before</em> existing <code>$palette</code> argument</li>
<li>BREAKING: <code>$palette</code> argument renamed <code>$source</code>
for consistency across<span class="widont">&nbsp;</span>plugins</li>
</ul>
</li>
<li><a href="http://oddbird.net/accoutrement/docs/layout.html">Plugin: Layout</a>
Expand Down
95 changes: 29 additions & 66 deletions docs/animate-change.html
Original file line number Diff line number Diff line change
Expand Up @@ -603,37 +603,6 @@ <h3 class="item-subtitle">



<div class="param-list">
<h4 class="param-title">
<span class="item-type">@function</span>

<a href="
animate-change.html#function--change" class="item-name">change()</a>




</h4>


</div>

















<div class="param-list">
<h4 class="param-title">
<span class="item-type">@mixin</span>
Expand Down Expand Up @@ -737,6 +706,8 @@ <h3 class="summary-subtitle">Since <code>1.0.0</code>:</h3>
<div class="subsection-details"><ul>
<li>NEW: Accepts <code>$do</code> map argument,
for on-the-fly<span class="widont">&nbsp;</span>adjustments</li>
<li>NEW: Accepts <code>$source</code> map argument,
for custom<span class="widont">&nbsp;</span>source-palette</li>
</ul>
</div>
</section>
Expand Down Expand Up @@ -829,6 +800,33 @@ <h4 class="param-title">








<div class="param-list">
<h4 class="param-title">


<span class="item-name">$source:</span>

<span class="item-value">$changes</span>
<span class="value-type">(map)</span>

</h4>



<div class="param-details text-block">
<p>Optional accoutrement-format map of changes to use as the origin<span class="widont">&nbsp;</span>palette</p>

</div>

</div>






Expand Down Expand Up @@ -927,41 +925,6 @@ <h4 class="param-title">




















<div class="param-list">
<h4 class="param-title">


<a href="
animate-change.html#variable--changes" class="item-name">$changes</a>




</h4>


</div>





</div>

Expand Down
96 changes: 30 additions & 66 deletions docs/animate-ease.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,37 +592,6 @@ <h3 class="item-subtitle">



<div class="param-list">
<h4 class="param-title">
<span class="item-type">@function</span>

<a href="
animate-ease.html#function--ease" class="item-name">ease()</a>




</h4>


</div>

















<div class="param-list">
<h4 class="param-title">
<span class="item-type">@mixin</span>
Expand Down Expand Up @@ -931,6 +900,8 @@ <h3 class="summary-subtitle">Since <code>1.0.0</code>:</h3>
<div class="subsection-details"><ul>
<li>NEW: Accepts <code>$do</code> map argument,
for on-the-fly<span class="widont">&nbsp;</span>adjustments</li>
<li>NEW: Accepts <code>$source</code> map argument,
for custom<span class="widont">&nbsp;</span>source-palette</li>
</ul>
</div>
</section>
Expand Down Expand Up @@ -1023,6 +994,34 @@ <h4 class="param-title">








<div class="param-list">
<h4 class="param-title">


<span class="item-name">$source:</span>

<span class="item-value">$easing</span>
<span class="value-type">(map)</span>

</h4>



<div class="param-details text-block">
<p>Optional accoutrement-format map of easings to use as the origin palette
(in additional to the provided<span class="widont">&nbsp;</span>defaults)</p>

</div>

</div>






Expand Down Expand Up @@ -1155,41 +1154,6 @@ <h4 class="param-title">




















<div class="param-list">
<h4 class="param-title">


<a href="
animate-ease.html#variable--easing" class="item-name">$easing</a>




</h4>


</div>





</div>

Expand Down
Loading

0 comments on commit 827404c

Please sign in to comment.