Skip to content

Commit

Permalink
Deploying to docs from @ da281b9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Dec 13, 2024
1 parent 1bcb3a6 commit 557b023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
}
}
}" data-collapsed="@mixin target-anchor-offset($offset) { ... }"><code>@mixin target-anchor-offset($offset) { ... }</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>Adds an offset for the targeted link(s)</p></div><h3 class="item__sub-heading">Parameters</h3><table class="item__parameters"><thead><tr><th scope="col"><span class="visually-hidden">parameter </span>Name</th><th scope="col"><span class="visually-hidden">parameter </span>Description</th><th scope="col"><span class="visually-hidden">parameter </span>Type</th><th scope="col"><span class="visually-hidden">parameter </span>Default value</th></tr></thead><tbody><tr class="item__parameter"><th scope="row" data-label="name"><code>$offset</code></th><td data-label="desc"><p>the offset in any value</p></td><td data-label="type"><code>Number</code></td><td data-label="default">&mdash;<span class="visually-hidden"> none</span></td></tr></tbody></table><h3 class="item__sub-heading">Requires</h3><ul class="list-unstyled"><li class="item__description item__description--inline"><span class="item__cross-type">[function]</span> <a href="#number-function-number-invert"><code>number-invert</code></a></li></ul><h3 class="item__sub-heading">Author</h3><ul class="list-unstyled"><li><p>Felix Scholze</p></li></ul></section></section></section><section class="main__section"><h1 class="main__heading" id="color"><div class="container">color</div></h1><section class="main__sub-section" id="color-function"><h2 class="main__heading--secondary"><div class="container">functions</div></h2><section class="main__item container item" id="color-function-hex-to-rgb-values"><h3 class="item__heading"><a class="item__name" href="#color-function-hex-to-rgb-values">hex-to-rgb-values</a></h3><span class="item__since">Since v1.5.0</span><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function hex-to-rgb-values($color) {
@return color.red($color) + &quot;, &quot; + color.green($color) + &quot;, &quot; + color.blue($color);
@return color.channel($color, &#39;red&#39;, $space: rgb) + &quot;, &quot; + color.channel($color, &#39;green&#39;, $space: rgb) + &quot;, &quot; + color.channel($color, &#39;blue&#39;, $space: rgb);
}" data-collapsed="@function hex-to-rgb-values($color) { ... }"><code>@function hex-to-rgb-values($color) { ... }</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>Convert HEX colors to R, G, B values</p></div><h3 class="item__sub-heading">Parameters</h3><table class="item__parameters"><thead><tr><th scope="col"><span class="visually-hidden">parameter </span>Name</th><th scope="col"><span class="visually-hidden">parameter </span>Description</th><th scope="col"><span class="visually-hidden">parameter </span>Type</th><th scope="col"><span class="visually-hidden">parameter </span>Default value</th></tr></thead><tbody><tr class="item__parameter"><th scope="row" data-label="name"><code>$color</code></th><td data-label="desc">&mdash;<span class="visually-hidden"> none</span></td><td data-label="type"><code>Color</code></td><td data-label="default">&mdash;<span class="visually-hidden"> none</span></td></tr></tbody></table><h3 class="item__sub-heading">Returns</h3><div class="item__description item__description--inline"><code>String</code></div><h3 class="item__sub-heading">Author</h3><ul class="list-unstyled"><li><p>Felix Scholze</p></li></ul></section><section class="main__item container item" id="color-function-hex-to-rgb"><h3 class="item__heading"><a class="item__name" href="#color-function-hex-to-rgb">hex-to-rgb</a></h3><span class="item__since">Since v1.5.0</span><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function hex-to-rgb($color, $alpha) {
@return string.unquote(&quot;rgb&quot;) + &quot;(&quot; + (color.red($color) color.green($color) color.blue($color)) + if($alpha, &quot; / &quot; + $alpha, &quot;&quot;) + &quot;)&quot;;
@return string.unquote(&quot;rgb&quot;) + &quot;(&quot; + (color.channel($color, &#39;red&#39;, $space: rgb) color.channel($color, &#39;green&#39;, $space: rgb) color.channel($color, &#39;blue&#39;, $space: rgb)) + if($alpha, &quot; / &quot; + $alpha, &quot;&quot;) + &quot;)&quot;;
}" data-collapsed="@function hex-to-rgb($color, $alpha) { ... }"><code>@function hex-to-rgb($color, $alpha) { ... }</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>Convert HEX colors to RGB (space-separated values)</p></div><h3 class="item__sub-heading">Parameters</h3><table class="item__parameters"><thead><tr><th scope="col"><span class="visually-hidden">parameter </span>Name</th><th scope="col"><span class="visually-hidden">parameter </span>Description</th><th scope="col"><span class="visually-hidden">parameter </span>Type</th><th scope="col"><span class="visually-hidden">parameter </span>Default value</th></tr></thead><tbody><tr class="item__parameter"><th scope="row" data-label="name"><code>$color</code></th><td data-label="desc"><p>HEX color</p></td><td data-label="type"><code>Color</code></td><td data-label="default">&mdash;<span class="visually-hidden"> none</span></td></tr><tr class="item__parameter"><th scope="row" data-label="name"><code>$alpha</code></th><td data-label="desc"><p>Alpha</p></td><td data-label="type"><code>Number</code></td><td data-label="default">&mdash;<span class="visually-hidden"> none</span></td></tr></tbody></table><h3 class="item__sub-heading">Returns</h3><div class="item__description item__description--inline"><code>String</code></div><h3 class="item__sub-heading">Author</h3><ul class="list-unstyled"><li><p>Felix Scholze</p></li></ul></section><section class="main__item container item" id="color-function-generate-color-shades"><h3 class="item__heading"><a class="item__name" href="#color-function-generate-color-shades">generate-color-shades</a></h3><span class="item__since">Since v2.4.0</span><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function generate-color-shades($base-color, $num-shades: 5, $lighten-percent: 0.5, $darken-percent: 0.5, $color-key-name: &quot;color&quot;, $color-key-separator: &quot;-&quot;) {
$shades: ();
Expand Down

0 comments on commit 557b023

Please sign in to comment.