Skip to content

Commit

Permalink
lint: v0.0.8/palette: v0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Oct 7, 2024
1 parent 9052e5f commit 09dd816
Show file tree
Hide file tree
Showing 7 changed files with 847 additions and 1,228 deletions.
10 changes: 5 additions & 5 deletions packages/palette-lint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "color-buddy-palette-lint",
"version": "0.0.7",
"version": "0.0.8",
"type": "module",
"main": "./dist/palette.js",
"scripts": {
Expand Down Expand Up @@ -37,13 +37,13 @@
],
"exports": {
"default": {
"import": "./src/main.ts",
"require": "./src/main.ts"
},
"lib-build": {
"import": "./dist/color-buddy-palette-lint.js",
"require": "./dist/color-buddy-palette-lint.umd.js",
"types": "./dist/src/main.d.ts"
},
"lib-build": {
"import": "./src/main.ts",
"require": "./src/main.ts"
}
}
}
1 change: 1 addition & 0 deletions packages/palette-lint/src/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const toPal = (colors: string[]): Palette => ({
background: toColors(["#fff"])[0],
colors: toColors(colors),
tags: [],
folder: "",
});

export const toColors = (colors: string[]) =>
Expand Down
2 changes: 1 addition & 1 deletion packages/palette/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "color-buddy-palette",
"version": "0.0.6",
"version": "0.0.7",
"type": "module",
"main": "./dist/palette.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/palette/src/cvd-sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ export default function simulate_cvd(
return simulationCache.get(key)!;
}
const colorIOcolor = color.toColorIO();
const isachroma =
deficiency == "achromatopsia" || deficiency == "achromatomaly";
// const isachroma =
// deficiency == "achromatopsia" || deficiency == "achromatomaly";
// const spaceName = isachroma ? "srgb" : "srgb-linear";
// const spaceName = isachroma ? "srgb" : "srgb-linear";
const spaceName = "srgb-linear";
Expand Down
4 changes: 0 additions & 4 deletions post-refactor-notes.md

This file was deleted.

Empty file removed version-and-release.sh
Empty file.
2,054 changes: 838 additions & 1,216 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 09dd816

Please sign in to comment.