Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final touchups till v3 #224

Merged
merged 30 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b71cca1
🏗️ build: initialised codespace
prjctimg Aug 10, 2024
edc5650
💎 style: renamed variable names for the collection methods module (re…
prjctimg Aug 11, 2024
8699bd5
🐛 fix: discover utility now returns valid palettes. must deduplicate …
prjctimg Aug 13, 2024
a93a1dc
🧹 chore: i dont know where i left the codebase at, mann
prjctimg Aug 16, 2024
c2aa181
📦 ci: i don't know what its about
prjctimg Aug 17, 2024
c38611e
chore: simplified docs in progress
prjctimg Aug 20, 2024
f2577e5
Squashed commit of the following:
prjctimg Aug 22, 2024
45ea76b
📝 docs: simplified docs
prjctimg Aug 22, 2024
fab5012
📝 docs: documentation is now rendering as expected. must fix toc
prjctimg Aug 22, 2024
2826c5c
📝 docs: changed to rehype-pretty-code
prjctimg Aug 22, 2024
a0e24a2
📝 docs: i don't even know what I tweaked
prjctimg Aug 23, 2024
38b8cb9
🐛 fix: fixed color token parser to handle conversation and normalizat…
prjctimg Aug 24, 2024
361a682
♻️ refactor: still trying to properly configure the token parser
prjctimg Aug 25, 2024
266654c
🐛 fix: fixed bug when removing non-channel characters from the passed…
prjctimg Aug 25, 2024
5b44880
🐛 fix: added truthy check for the targetMode before normalizing as rg…
prjctimg Aug 25, 2024
d30a230
🧪 test: reduced number of fails to 2 and working on it
prjctimg Aug 26, 2024
72e1034
💎 style: added generic types to token(). now working on the remaining…
prjctimg Aug 26, 2024
713dca7
🧹 chore: fixing bugs and refactoring types
prjctimg Aug 26, 2024
cdca8fe
🧪 test: all tests are now passing
prjctimg Aug 26, 2024
af4cb88
🏗️ build: use tsx for executing ts files. migrate tests to ts as well
prjctimg Aug 26, 2024
90f1e45
📝 docs: some kinda commit
prjctimg Aug 27, 2024
ca7bdcd
🧹 chore: still scaffolding the docs
prjctimg Aug 27, 2024
ba84c94
🧹 chore: whole lotta changes and refactors in progress
prjctimg Aug 27, 2024
137de27
🧹 chore: reconfiguring stuff
prjctimg Aug 28, 2024
90f292a
📝 docs: new docs.just testing them out
prjctimg Aug 28, 2024
60cb531
📝 docs: stash the changes bro
prjctimg Aug 28, 2024
da7ed35
📝 docs: wrote the introduction document. awaiting grammar checks
prjctimg Aug 29, 2024
947e180
📝 docs: wrote the behaviour.mdx file
prjctimg Aug 29, 2024
41060a3
📝 docs: added commitizen,docusaurus-typedoc-plugin
prjctimg Aug 30, 2024
ff0d4b0
📝 docs: fixed docusaurus config
prjctimg Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- run: npm i
if: ${{ steps.release.outputs.release_created }}
- run: |
npm test
npm run code:publish
npm publish
env:
Expand Down
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
app.js
huetiful.code-workspace
/old.wiki
package-lock.json
**/package-lock.json
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
/app
# dependencies
**/node_modules
/.pnp
.pnp.js
# Production
/build

# Generated files
**/.docusaurus
**/.cache-loader

roadmap
lodash-main
Expand All @@ -25,7 +31,7 @@ emoji.md
source/lib
# production
/build
lib


# misc
.DS_Store
Expand Down
6 changes: 1 addition & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"recommendations": [
"github.vscode-pull-request-github",
"github.remotehub",
"ms-vscode.remote-repositories",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"ronnidc.nunjucks"
"dbaeumer.vscode-eslint"
]
}
76 changes: 0 additions & 76 deletions CHANGELOG.md

This file was deleted.

128 changes: 0 additions & 128 deletions CODE_OF_CONDUCT.md

This file was deleted.

30 changes: 30 additions & 0 deletions app.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env ts-node

import { formatHex8 } from 'culori';
import {
deficiency,
family,
achromatic,
token,
sortBy,
complimentary,
pair,
mc,
colors,
filterBy
} from './src/index.ts';
import { log } from 'node:console';
//log(achromatic('cyan'));
// log(token('cyan', { kind: 'obj' }));

// log(
// filterBy(colors('all', '500'), {
// ranges: { lightness: [20, 50] },
// factor: 'lightness'
// })
// );

// log(complimentary('cyan'));
// //log(mc('lch.h')('cyan', 10));
const val = mc('lch.h')('blue', 10);
log(val)
8 changes: 8 additions & 0 deletions color.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion huetiful.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
}
],
"settings": {
"liveServer.settings.multiRootWorkspaceName": "huetiful"
"liveServer.settings.multiRootWorkspaceName": "color"
}
}
37 changes: 0 additions & 37 deletions jobs/build.cjs

This file was deleted.

Loading
Loading