Skip to content

Commit

Permalink
v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Dec 14, 2022
1 parent 5293a0b commit 52b0d01
Show file tree
Hide file tree
Showing 9 changed files with 1,169 additions and 3,617 deletions.
6 changes: 3 additions & 3 deletions .sassdocrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ groups:

herman:
sass:
implementation: sass
includepaths: ['sass']
sassOptions:
loadPaths: ['sass']
use: ['blend']
jsonfile: 'src/json.css'
jsonFile: 'src/json.css'
extraDocs:
- name: 'Changelog'
path: CHANGELOG.md
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Blend Changelog

## UNRELEASED
## v0.2.4 - 2022.12.14

- 🏠 INTERNAL: Remove documentation from npm package
- 🏠 INTERNAL: Upgrade dependencies

## v0.2.3 - 2021.09.18

Expand Down
4 changes: 2 additions & 2 deletions demo/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oddbird/blend",
"version": "0.2.3",
"version": "0.2.4",
"title": "Blend",
"description": "New color formats, adjustments, and conversions in Sass",
"publishConfig": {
Expand Down Expand Up @@ -37,10 +37,10 @@
"commit": "yarn test; yarn docs; yarn sass"
},
"devDependencies": {
"mocha": "^8.0.1",
"sass": "^1.41.1",
"sass-true": "^5.0.0",
"sassdoc": "^2.7.2",
"sassdoc-theme-herman": "^3.2.0"
"mocha": "^10.2.0",
"sass": "^1.56.2",
"sass-true": "^7.0.0",
"sassdoc": "^2.7.4",
"sassdoc-theme-herman": "^5.0.0"
}
}
2 changes: 1 addition & 1 deletion src/json.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/json.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/json.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,38 @@
@use '../node_modules/sassdoc-theme-herman/scss/utilities' as *;

// CIE
@include herman-add('colors', 'cie-lch', (
@include add('colors', 'cie-lch', (
'lch': blend.lch(32.39% 61.25 308.86deg),
'lch-a': blend.lch(32.39% 61.25 308.86deg, 60%),
));

@include herman-add('colors', 'cie-lab', (
@include add('colors', 'cie-lab', (
'lab': blend.lab(32.39% 38.43 -47.69),
'lab-a': blend.lab(32.39% 38.43 -47.69, 0.6),
));

// Inspect
@include herman-add('colors', 'inspect-contrast', (
@include add('colors', 'inspect-contrast', (
'papayawhip': papayawhip,
'default': blend.contrast(papayawhip),
'highest': blend.contrast(papayawhip, rebeccapurple, maroon),
'first': blend.contrast(papayawhip, rebeccapurple, maroon, 4.5),
));

@include herman-add('colors', 'inspect-cie', (
@include add('colors', 'inspect-cie', (
'papayawhip': papayawhip,
'rebeccapurple': rebeccapurple,
'yellow': yellow,
'deeppink': deeppink,
));

// Adjust
@include herman-add('colors', 'adjust-from', (
@include add('colors', 'adjust-from', (
'rebeccapurple': rebeccapurple,
'set chroma 20': blend.from(rebeccapurple, l, 20, h),
'adjust hue -60': blend.from(rebeccapurple, l, c, h -60),
'scale lightness 50%': blend.from(rebeccapurple, l 50%, c, h),
'multiply lightness * 2': blend.from(rebeccapurple, 2l, c, h),
));

@include herman-export($herman);
@include export($herman);
11 changes: 1 addition & 10 deletions test/test_sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,4 @@ var path = require('path');
var sassTrue = require('sass-true');

var sassFile = path.join(__dirname, '.', 'index.scss');
sassTrue.runSass(
{
file: sassFile,
},
{
sass: require('sass'),
describe,
it,
}
);
sassTrue.runSass({ describe, it }, sassFile);
Loading

0 comments on commit 52b0d01

Please sign in to comment.