@oddbird/blend
Advanced tools
Comparing version 0.2.1 to 0.2.2
# Blend Changelog | ||
## v0.2.2 - 2020.06.30 | ||
- Documentation cleanup | ||
- Upgraded dev dependencies | ||
## v0.2.1 - 2020.05.28 | ||
@@ -4,0 +9,0 @@ |
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+3Jt":function(e,n,t){"use strict";t.r(n),function(e){t("AzGU"),t("dYcP"),t("5KAr");var n=t("YEG7"),a=t.n(n),i=t("t3mS");e((function(){window.$=e,a.a.initHighlighting(),i.c(),i.a(),i.b()}))}.call(this,t("26+0"))},"5KAr":function(e,n,t){var a,i,r;i=this,r=window.srcDoc,void 0===(a=function(e){!function(e,n){var t,a,i,r=!!("srcdoc"in document.createElement("iframe")),s="Polyfill may not function in the presence of the `sandbox` attribute. Consider using the `force` option.",o=/\ballow-same-origin\b/,l=function(e,n){var t=e.getAttribute("sandbox");"string"!=typeof t||o.test(t)||(n&&n.force?e.removeAttribute("sandbox"):n&&!1===n.force||(i(s),e.setAttribute("data-srcdoc-polyfill",s)))},c=function(e,n,t){n&&(l(e,t),e.setAttribute("srcdoc",n))},d=function(e,n,t){var a;e&&e.getAttribute&&(n?e.setAttribute("srcdoc",n):n=e.getAttribute("srcdoc"),n&&(l(e,t),a="javascript: window.frameElement.getAttribute('srcdoc');",e.contentWindow&&(e.contentWindow.location=a),e.setAttribute("src",a)))},g=e;if(i=window.console&&window.console.error?function(e){window.console.error("[srcdoc-polyfill] "+e)}:function(){},g.set=c,g.noConflict=function(){return window.srcDoc=n,g},!r)for(g.set=d,a=document.getElementsByTagName("iframe"),t=a.length;t--;)g.set(a[t])}(e,r),i.srcDoc=e}.apply(n,[n]))||(e.exports=a)},AzGU:function(e,n){ | ||
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. MIT license */ | ||
window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var n,t=document.createElement("style"),a=document.getElementsByTagName("script")[0];t.type="text/css",t.id="matchmediajs-test",a?a.parentNode.insertBefore(t,a):document.head.appendChild(t),n="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var a="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=a:t.textContent=a,"1px"===n.width}}}return function(n){return{matches:e.matchMedium(n||"all"),media:n||"all"}}}())},J4ja:function(e,n){e.exports={colors:{"brand-colors":{"brand-orange":"#c75000","brand-blue":"#0d7fa5","brand-pink":"#aa0e5c"},"neutral-colors":{"light-gray":"#dedede",gray:"#555b5e","contrast-light":"#fff","contrast-dark":"#3b4042"},"theme-colors":{"theme-dark":"#0d7fa5","theme-light":"#cfe5ed",background:"#fff",text:"#3b4042","text-light":"#555b5e",action:"#b91e6c",focus:"#0d7fa5",underline:"#eec7da",border:"#555b5e","border-light":"#dedede",shadow:"rgba(85,91,94,0.5)",callout:"#cfe5ed",slight:"#fafcfd",code:"#0d7fa5","code-shadow":"rgba(13,127,165,0.2)"},"hljs-colors":{"hljs-comment":"#93a1a1","hljs-green":"#859900","hljs-cyan":"#2aa198","hljs-blue":"#268bd2","hljs-yellow":"#b58900","hljs-orange":"#cb4b16","hljs-red":"#dc322f","hljs-formula":"#eee8d5"},"demo-colors":{"brand-blue":"#0d7fa5","brand-pink":"#e2127a"},"demo-noncolors":{"light-gray":"#dedede",gray:"#555b5e","contrast-dark":"#3b4042"}},ratios:{"text-ratios":{"line-height":1.4},"demo-ratios":{"line-height":1.4}},sizes:{"root-sizes":{root:"18px",responsive:"calc(1em + 0.125vw)",large:"calc(1rem + 0.5vw)",small:".9rem"},"text-sizes":{reset:"1rem",h1:"calc(1rem + 2vw)",h2:"calc(1rem + 1vw)",h3:"calc(1rem + 0.5vw)",quote:"calc(1rem + 0.5vw)",code:".9rem",footer:".9rem",search:".9rem"},"spacing-sizes":{rhythm:"1.4rem",gutter:"1.4rem","gutter-plus":"2.1rem","double-gutter":"2.8rem","flex-gutter":"calc(.7rem + 2.5vw)",spacer:"calc(4.2rem + 2.5vw)","gutter-minus":"1.05rem",shim:".7rem","half-shim":".35rem","quarter-shim":".175rem"},"pattern-sizes":{"nav-underline":"4px","nav-icon":"28px","arrow-border":"8px","arrow-depth":".7rem","arrow-side":"1.4rem","font-preview":"24em","specimen-aa":"4.2rem","color-preview":"16em","color-swatch":"5.6rem","footer-logo":"2.8rem"},"layout-sizes":{page:"50rem","item-break":"40em","page-break":"50em","nav-break":"65em"},"demo-sizes":{root:"18px",xlarge:"3rem"}},fonts:{sans:{name:"Source Sans Pro",source:"https://fonts.google.com/specimen/Source+Sans+Pro",stack:["Source Sans Pro","Helvetica Neue","Helvetica","Arial","sans-serif"]},code:{name:"Source Code Pro",source:"https://fonts.google.com/specimen/Source+Code+Pro",stack:["Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New","monospace","sans-serif"]},"demo-cdn":{name:"Source Code Pro",source:"https://fonts.google.com/specimen/Source+Code+Pro",stack:["Consolas","Menlo","Courier New","monospace","sans-serif"]},"demo-local":{name:"rockingham",normal:{path:"rockingham/rockingham-regular-webfont",local:"rockingham-regular-webfont"},bold:"rockingham/rockingham-bold-webfont",italic:"rockingham/rockingham-italic-webfont","bold italic":"rockingham/rockingham-bolditalic-webfont",stack:"fantasy",formats:["woff2","woff","ttf"]}}}},YEG7:function(e,n,t){ | ||
window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var n,t=document.createElement("style"),a=document.getElementsByTagName("script")[0];t.type="text/css",t.id="matchmediajs-test",a?a.parentNode.insertBefore(t,a):document.head.appendChild(t),n="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var a="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=a:t.textContent=a,"1px"===n.width}}}return function(n){return{matches:e.matchMedium(n||"all"),media:n||"all"}}}())},J4ja:function(e,n){e.exports={colors:{"brand-colors":{"brand-orange":"#c75000","brand-blue":"#0d7fa5","brand-pink":"#aa0e5c"},"neutral-colors":{"light-gray":"#dedede",gray:"#555b5e","contrast-light":"#fff","contrast-dark":"#3b4042"},"theme-colors":{"theme-dark":"#0d7fa5","theme-light":"#cfe5ed",background:"#fff",text:"#3b4042","text-light":"#555b5e",action:"#b91e6c",focus:"#0d7fa5",underline:"#eec7da",border:"#555b5e","border-light":"#dedede",shadow:"rgba(85,91,94,0.5)",callout:"#cfe5ed",slight:"#fafcfd",code:"#0d7fa5","code-shadow":"rgba(13,127,165,0.2)"},"hljs-colors":{"hljs-comment":"#93a1a1","hljs-green":"#859900","hljs-cyan":"#2aa198","hljs-blue":"#268bd2","hljs-yellow":"#b58900","hljs-orange":"#cb4b16","hljs-red":"#dc322f","hljs-formula":"#eee8d5"},"demo-colors":{"brand-blue":"#0d7fa5","brand-pink":"#e2127a"},"demo-noncolors":{"light-gray":"#dedede",gray:"#555b5e","contrast-dark":"#3b4042"}},ratios:{"text-ratios":{"line-height":1.4},"demo-ratios":{"line-height":1.4}},sizes:{"root-sizes":{root:"18px",responsive:"calc(1em + 0.125vw)",large:"calc(1rem + 0.5vw)",small:".9rem"},"text-sizes":{reset:"1rem",h1:"calc(1rem + 2vw)",h2:"calc(1rem + 1vw)",h3:"calc(1rem + 0.5vw)",quote:"calc(1rem + 0.5vw)",code:".9rem",footer:".9rem",search:".9rem"},"spacing-sizes":{rhythm:"1.4rem",gutter:"1.4rem","gutter-plus":"2.1rem","double-gutter":"2.8rem","flex-gutter":"calc(.7rem + 2.5vw)",spacer:"calc(4.2rem + 2.5vw)","gutter-minus":"1.05rem",shim:".7rem","half-shim":".35rem","quarter-shim":".175rem"},"pattern-sizes":{"nav-underline":"4px","nav-icon":"28px","arrow-border":"8px","arrow-depth":".7rem","arrow-side":"1.4rem","font-preview":"24em","specimen-aa":"4.2rem","color-preview":"16em","color-swatch":"5.6rem","footer-logo":"2.8rem"},"layout-sizes":{page:"50rem","item-break":"40em","page-break":"50em","nav-break":"65em"},"demo-sizes":{root:"18px",responsive:"calc(1.5em + 1vw)",xlarge:"3rem"},"demo-sizes-large":{box:"20em",page:"75ch"}},fonts:{sans:{name:"Source Sans Pro",source:"https://fonts.google.com/specimen/Source+Sans+Pro",stack:["Source Sans Pro","Helvetica Neue","Helvetica","Arial","sans-serif"]},code:{name:"Source Code Pro",source:"https://fonts.google.com/specimen/Source+Code+Pro",stack:["Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New","monospace","sans-serif"]},"demo-cdn":{name:"Source Code Pro",source:"https://fonts.google.com/specimen/Source+Code+Pro",stack:["Consolas","Menlo","Courier New","monospace","sans-serif"]},"demo-local":{name:"rockingham",normal:{path:"rockingham/rockingham-regular-webfont",local:"rockingham-regular-webfont"},bold:"rockingham/rockingham-bold-webfont",italic:"rockingham/rockingham-italic-webfont","bold italic":"rockingham/rockingham-bolditalic-webfont",stack:"fantasy",formats:["woff2","woff","ttf"]}}}},YEG7:function(e,n,t){ | ||
/*! highlight.js v9.13.1 | BSD3 License | git.io/hljslicense */ | ||
@@ -5,0 +5,0 @@ /*! generated with command: |
{ | ||
"name": "@oddbird/blend", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"title": "Blend", | ||
@@ -40,8 +40,8 @@ "description": "New color formats, adjustments, and conversions in Sass", | ||
"devDependencies": { | ||
"mocha": "^7.1.2", | ||
"sass": "^1.26.5", | ||
"mocha": "^8.0.1", | ||
"sass": "^1.26.9", | ||
"sass-true": "^5.0.0", | ||
"sassdoc": "^2.7.1", | ||
"sassdoc-theme-herman": "^3.1.0" | ||
"sassdoc": "^2.7.2", | ||
"sassdoc-theme-herman": "^3.2.0" | ||
} | ||
} |
@@ -24,2 +24,10 @@ # Blend | ||
**Our Top Priority** right now | ||
is full support for `color(display-p3 r g b / a)` | ||
which can already be used for wide-gamut colors | ||
in Safari. | ||
The conversion math is already supported, | ||
we just need to finalize the user-facing API. | ||
Help is welcome. | ||
## Color Picker | ||
@@ -31,3 +39,3 @@ | ||
[LCH Color Picker](https://css.land/lch/) | ||
by [Lea Verou](http://lea.verou.me/). | ||
by [Lea Verou](https://lea.verou.me/). | ||
@@ -34,0 +42,0 @@ We use the same conversion math, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
664914
74
168
2