Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 1, 2020
1 parent 868feac commit e80bdd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Sass-extras - v0.5.0</title><link rel="stylesheet" href="assets/css/main.css"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,500,700" rel="stylesheet" type="text/css"><meta name="viewport" content="width=device-width"><meta content="IE=edge, chrome=1" http-equiv="X-UA-Compatible"><!-- Open Graph tags --><meta property="og:title" content="Sass-extras - SassDoc"><meta property="og:type" content="website"><meta property="og:description" content="<p>Useful utilities for working with Sass</p>
"><!-- Thanks to Sass-lang.com for the icons --><link href="assets/images/favicon.png" rel="shortcut icon"></head><body><aside class="sidebar" role="nav"><div class="sidebar__header"><h1 class="sidebar__title">Sass-extras - 0.5.0</h1></div><div class="sidebar__body"><button type="button" class="btn-toggle js-btn-toggle" data-alt="Open all">Close all</button><p class="sidebar__item sidebar__item--heading" data-slug="color"><a href="#color">Color</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="color-function"><a href="#color-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="color" data-name="tint" data-type="function"><a href="#color-function-tint">tint</a></li><li class="sidebar__item sassdoc__item" data-group="color" data-name="shade" data-type="function"><a href="#color-function-shade">shade</a></li><li class="sidebar__item sassdoc__item" data-group="color" data-name="black" data-type="function"><a href="#color-function-black">black</a></li><li class="sidebar__item sassdoc__item" data-group="color" data-name="white" data-type="function"><a href="#color-function-white">white</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="list"><a href="#list">List</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="list-function"><a href="#list-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="list" data-name="list-first" data-type="function"><a href="#list-function-list-first">list-first</a></li><li class="sidebar__item sassdoc__item" data-group="list" data-name="list-last" data-type="function"><a href="#list-function-list-last">list-last</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="number"><a href="#number">Number</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="number-function"><a href="#number-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="number" data-name="strip-unit" data-type="function"><a href="#number-function-strip-unit">strip-unit</a></li><li class="sidebar__item sassdoc__item" data-group="number" data-name="number-clamp" data-type="function"><a href="#number-function-number-clamp">number-clamp</a></li><li class="sidebar__item sassdoc__item" data-group="number" data-name="number-invert" data-type="function"><a href="#number-function-number-invert">number-invert</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="random"><a href="#random">Random</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="random-function"><a href="#random-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="random" data-name="seed-random-integer" data-type="function"><a href="#random-function-seed-random-integer">seed-random-integer</a></li><li class="sidebar__item sassdoc__item" data-group="random" data-name="seed-random-float" data-type="function"><a href="#random-function-seed-random-float">seed-random-float</a></li><li class="sidebar__item sassdoc__item" data-group="random" data-name="seed-random-boolean" data-type="function"><a href="#random-function-seed-random-boolean">seed-random-boolean</a></li><li class="sidebar__item sassdoc__item" data-group="random" data-name="random-color" data-type="function"><a href="#random-function-random-color">random-color</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="string"><a href="#string">String</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="string-function"><a href="#string-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-contains" data-type="function"><a href="#string-function-string-contains">string-contains</a></li><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-starts-with" data-type="function"><a href="#string-function-string-starts-with">string-starts-with</a></li><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-ends-with" data-type="function"><a href="#string-function-string-ends-with">string-ends-with</a></li><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-replace" data-type="function"><a href="#string-function-string-replace">string-replace</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="undefined"><a href="#undefined">General</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="undefined-function"><a href="#undefined-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="url-encode" data-type="function"><a href="#undefined-function-url-encode">url-encode</a></li><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="svg-url" data-type="function"><a href="#undefined-function-svg-url">svg-url</a></li></ul><p class="sidebar__item sidebar__item--sub-heading" data-slug="undefined-mixin"><a href="#undefined-mixin">mixins</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="background-svg" data-type="mixin"><a href="#undefined-mixin-background-svg">background-svg</a></li><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="context" data-type="mixin"><a href="#undefined-mixin-context">context</a></li></ul><p class="sidebar__item sidebar__item--sub-heading" data-slug="undefined-variable"><a href="#undefined-variable">variables</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="system-fonts" data-type="variable"><a href="#undefined-variable-system-fonts">system-fonts</a></li></ul></div></div></aside><article class="main" role="main"><header class="header" role="banner"><div class="container"><div class="sassdoc__searchbar searchbar"><label for="js-search-input" class="visually-hidden">Search</label><div class="searchbar__form" id="js-search"><input name="search" type="search" class="searchbar__field" autocomplete="off" autofocus id="js-search-input" placeholder="Search"><ul class="searchbar__suggestions" id="js-search-suggestions"></ul></div></div></div></header><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-tint"><h3 class="item__heading"><a class="item__name" href="#function-tint">tint</a></h3><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function tint($color, $percentage) {
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Sass-extras - v1.0.0</title><link rel="stylesheet" href="assets/css/main.css"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,500,700" rel="stylesheet" type="text/css"><meta name="viewport" content="width=device-width"><meta content="IE=edge, chrome=1" http-equiv="X-UA-Compatible"><!-- Open Graph tags --><meta property="og:title" content="Sass-extras - SassDoc"><meta property="og:type" content="website"><meta property="og:description" content="<p>Useful utilities for working with Sass</p>
"><!-- Thanks to Sass-lang.com for the icons --><link href="assets/images/favicon.png" rel="shortcut icon"></head><body><aside class="sidebar" role="nav"><div class="sidebar__header"><h1 class="sidebar__title">Sass-extras - 1.0.0</h1></div><div class="sidebar__body"><button type="button" class="btn-toggle js-btn-toggle" data-alt="Open all">Close all</button><p class="sidebar__item sidebar__item--heading" data-slug="color"><a href="#color">Color</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="color-function"><a href="#color-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="color" data-name="tint" data-type="function"><a href="#color-function-tint">tint</a></li><li class="sidebar__item sassdoc__item" data-group="color" data-name="shade" data-type="function"><a href="#color-function-shade">shade</a></li><li class="sidebar__item sassdoc__item" data-group="color" data-name="black" data-type="function"><a href="#color-function-black">black</a></li><li class="sidebar__item sassdoc__item" data-group="color" data-name="white" data-type="function"><a href="#color-function-white">white</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="list"><a href="#list">List</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="list-function"><a href="#list-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="list" data-name="list-first" data-type="function"><a href="#list-function-list-first">list-first</a></li><li class="sidebar__item sassdoc__item" data-group="list" data-name="list-last" data-type="function"><a href="#list-function-list-last">list-last</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="number"><a href="#number">Number</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="number-function"><a href="#number-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="number" data-name="strip-unit" data-type="function"><a href="#number-function-strip-unit">strip-unit</a></li><li class="sidebar__item sassdoc__item" data-group="number" data-name="number-clamp" data-type="function"><a href="#number-function-number-clamp">number-clamp</a></li><li class="sidebar__item sassdoc__item" data-group="number" data-name="number-invert" data-type="function"><a href="#number-function-number-invert">number-invert</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="random"><a href="#random">Random</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="random-function"><a href="#random-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="random" data-name="seed-random-integer" data-type="function"><a href="#random-function-seed-random-integer">seed-random-integer</a></li><li class="sidebar__item sassdoc__item" data-group="random" data-name="seed-random-float" data-type="function"><a href="#random-function-seed-random-float">seed-random-float</a></li><li class="sidebar__item sassdoc__item" data-group="random" data-name="seed-random-boolean" data-type="function"><a href="#random-function-seed-random-boolean">seed-random-boolean</a></li><li class="sidebar__item sassdoc__item" data-group="random" data-name="random-color" data-type="function"><a href="#random-function-random-color">random-color</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="string"><a href="#string">String</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="string-function"><a href="#string-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-contains" data-type="function"><a href="#string-function-string-contains">string-contains</a></li><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-starts-with" data-type="function"><a href="#string-function-string-starts-with">string-starts-with</a></li><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-ends-with" data-type="function"><a href="#string-function-string-ends-with">string-ends-with</a></li><li class="sidebar__item sassdoc__item" data-group="string" data-name="string-replace" data-type="function"><a href="#string-function-string-replace">string-replace</a></li></ul></div><p class="sidebar__item sidebar__item--heading" data-slug="undefined"><a href="#undefined">General</a></p><div><p class="sidebar__item sidebar__item--sub-heading" data-slug="undefined-function"><a href="#undefined-function">functions</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="url-encode" data-type="function"><a href="#undefined-function-url-encode">url-encode</a></li><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="svg-url" data-type="function"><a href="#undefined-function-svg-url">svg-url</a></li></ul><p class="sidebar__item sidebar__item--sub-heading" data-slug="undefined-mixin"><a href="#undefined-mixin">mixins</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="background-svg" data-type="mixin"><a href="#undefined-mixin-background-svg">background-svg</a></li><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="context" data-type="mixin"><a href="#undefined-mixin-context">context</a></li></ul><p class="sidebar__item sidebar__item--sub-heading" data-slug="undefined-variable"><a href="#undefined-variable">variables</a></p><ul class="list-unstyled"><li class="sidebar__item sassdoc__item" data-group="undefined" data-name="system-fonts" data-type="variable"><a href="#undefined-variable-system-fonts">system-fonts</a></li></ul></div></div></aside><article class="main" role="main"><header class="header" role="banner"><div class="container"><div class="sassdoc__searchbar searchbar"><label for="js-search-input" class="visually-hidden">Search</label><div class="searchbar__form" id="js-search"><input name="search" type="search" class="searchbar__field" autocomplete="off" autofocus id="js-search-input" placeholder="Search"><ul class="searchbar__suggestions" id="js-search-suggestions"></ul></div></div></div></header><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-tint"><h3 class="item__heading"><a class="item__name" href="#function-tint">tint</a></h3><div class="item__code-wrapper"><pre class="item__code item__code--togglable language-scss" data-current-state="collapsed" data-expanded="@function tint($color, $percentage) {
@return mix(#fff, $color, $percentage);
}" data-collapsed="@function tint($color, $percentage) { ... }"><code>@function tint($color, $percentage) { ... }</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>Lighten a color by mixing it with white.</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>Color to lighten</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>$percentage</code></th><td data-label="desc"><p>Amount of white color to mix in</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>Color</code></div><h3 class="item__sub-heading">Example</h3><div class="item__example example"><pre class="example__code language-scss"><code>a {
color: tint(pink, 10%);
Expand Down Expand Up @@ -168,4 +168,4 @@
&#39;Apple Color Emoji&#39;,
&#39;Segoe UI Emoji&#39; !default;</code></pre></div><h3 class="item__sub-heading">Description</h3><div class="item__description"><p>System font stack.</p></div><h3 class="item__sub-heading">Type</h3><p><code>List</code></p><h3 class="item__sub-heading">Example</h3><div class="item__example example"><pre class="example__code language-scss"><code>body {
font-family: $system-fonts;
}</code></pre></div></section></section></section><footer class="footer" role="contentinfo"><div class="container"><div class="footer__project-info project-info"><!-- Name and URL --> <span class="project-info__name">Sass-extras</span><!-- Version --> <span class="project-info__version">- v0.5.0</span><!-- License --> <span class="project-info__license">, under MIT</span></div><a class="footer__watermark" href="http://sassdoc.com"><img src="assets/images/logo_light_inline.svg" alt="SassDoc Logo"></a></div></footer></article><script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><script>window.jQuery || document.write('<script src="assets/js/vendor/jquery.min.js"><\/script>')</script><script src="assets/js/main.min.js"></script></body></html>
}</code></pre></div></section></section></section><footer class="footer" role="contentinfo"><div class="container"><div class="footer__project-info project-info"><!-- Name and URL --> <span class="project-info__name">Sass-extras</span><!-- Version --> <span class="project-info__version">- v1.0.0</span><!-- License --> <span class="project-info__license">, under MIT</span></div><a class="footer__watermark" href="http://sassdoc.com"><img src="assets/images/logo_light_inline.svg" alt="SassDoc Logo"></a></div></footer></article><script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><script>window.jQuery || document.write('<script src="assets/js/vendor/jquery.min.js"><\/script>')</script><script src="assets/js/main.min.js"></script></body></html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-extras",
"version": "0.5.0",
"version": "1.0.0",
"description": "Useful utilities for working with Sass",
"license": "MIT",
"repository": "sindresorhus/sass-extras",
Expand Down

0 comments on commit e80bdd1

Please sign in to comment.