Lea Verou
fe2829698a
Update data.js
2025-03-20 10:58:52 -04:00
Lea Verou
d0a60d2c30
Fix gray tweaks
2025-03-18 10:31:44 -04:00
Lea Verou
0cca25a118
Move log to utils
2025-03-17 09:32:07 -04:00
Lea Verou
badc6c9dc2
Refactor: allHues = hues + gray
2025-03-17 04:52:10 -04:00
Lea Verou
f369916f01
Ability to pin hue so that colors don't jump to another scale when pinned
2025-03-16 23:06:47 -04:00
Lea Verou
d30149e718
Fix normalizeAngle(), which fixes generated pinks
2025-03-16 21:11:32 -04:00
Lea Verou
45b3a8e76e
More hueBefore/hueAfter to data
2025-03-16 18:32:06 -04:00
Lea Verou
344e693c8b
Fix bug where saving colors changed their order
2025-03-16 17:36:43 -04:00
Lea Verou
7dfa2f6a93
Sliders to tweak key colors
2025-03-16 00:22:49 -04:00
Lea Verou
d4131095a8
Rework seed colors to support undoable tweaks
2025-03-13 16:44:40 -04:00
Lea Verou
6523925eaf
Dynamic default roles
2025-03-11 22:10:12 -04:00
Lea Verou
d778013667
Identify gray
2025-03-11 14:17:42 -04:00
Lea Verou
29aeb078b7
Fix bug
2025-03-10 17:22:44 -04:00
Lea Verou
b966f57a83
Custom class name, align new palette UX closer to sketches
2025-03-10 16:28:46 -04:00
Lea Verou
baae409bfc
Less cluttered default indication
2025-03-10 15:33:39 -04:00
Lea Verou
353c053153
MVP for assigning roles to palettes, rel ##782
2025-03-07 19:43:52 -05:00
Lea Verou
08876bbda9
Fix bug with seed color order
2025-03-07 15:25:20 -05:00
Lea Verou
a73daf9426
Orange
2025-03-07 15:25:12 -05:00
Lea Verou
f2e8a71567
Uncomment orange
2025-03-07 10:23:55 -05:00
Lea Verou
08f652f0dc
Start show saved variations, rework renaming/saving UI
2025-03-05 13:18:05 -05:00
Lea Verou
a0069c9783
Improve chroma curves
2025-03-04 12:55:04 -05:00
Lea Verou
7ed3e5e92b
Another attempt to improve yellows + cleanup
...
- Generate yellow based on most vibrant scale, even if not neighboring
- Only take seed hues into account, not generated hues (which would compound any error)
- General cleanup
2025-03-04 11:58:14 -05:00
Lea Verou
01b697d9e6
Avoid premature optimization
2025-03-04 10:25:26 -05:00
Lea Verou
cb5f8433d5
Interpolate % of chroma from gamut boundary rather than absolute chroma
...
Produces brighter, more balanced colors overall
2025-02-28 16:22:55 -05:00
Lea Verou
1fa95f66e8
Evaluate palette lightness relative to hue, better capping of consecutive hue shifts
2025-02-28 14:34:20 -05:00
Lea Verou
f682293c38
Cap hue shift for consecutive tints
2025-02-28 12:26:43 -05:00
Lea Verou
1993182f43
Reorder
2025-02-28 09:18:55 -05:00
Lea Verou
6f39781f1f
Reorder
2025-02-28 09:17:57 -05:00
Lea Verou
27af62591f
Simplify permalinks
2025-02-27 19:25:14 -05:00
Lea Verou
668666e1c9
Fixes
2025-02-26 21:43:29 -05:00
Lea Verou
a679693128
First stab at generating other hues based on seed colors
2025-02-26 19:02:30 -05:00
Lea Verou
3c02ce245e
Refactor
2025-02-26 13:22:45 -05:00
Lea Verou
6693cafe8e
Interpolate subsequent hues
2025-02-26 11:01:24 -05:00
Lea Verou
d04e3d860e
Moar Vue
2025-02-26 11:01:24 -05:00
Lea Verou
e26af1c293
Iterate
2025-02-26 11:01:24 -05:00
Lea Verou
71e7227763
Theme remixing fix: Order of params should not matter ( #772 )
...
Also renamed the `theme` export to `getThemeCode` since it was being renamed everywhere it was imported.
2025-02-21 14:03:55 -05:00
Lea Verou
132dbfabcc
Gray tweaks prototype ( #761 )
...
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-02-20 12:10:43 -05:00
Lea Verou
4921d1c32e
Save palette MVP, fixes #746 ( #755 )
2025-02-18 16:11:40 -05:00
Lea Verou
d6a91919e0
Code block improvements
...
- Add ids, use ids to link copy button. No need for client-side script or updating the copy button manually for dynamic code snippets.
- Add button to link to code block
- Slight refactor on copy plugin to use the 11ty API properly
2025-02-14 15:09:02 -05:00
Lea Verou
726dc73e2a
Hue tweaking & chroma scaling, closes #669 #670 ( #747 )
...
- General infrastructure to support palette tweaking
- Hue shifts per color scale (UI, permalinks, dynamic code snippets)
- Scale overall chroma up/down (UI, permalinks, dynamic code snippets)
- Update contrast ratio tables (styling for contrast up/down/fail could use improvement, but it's a starting point)
- Make sure it works with Turbo (i.e. things don't break when we navigate to another page)
2025-02-13 19:28:20 -05:00
Lea Verou
ffda52a7cf
Theme remixing: Dynamic code snippets ( #729 )
2025-02-07 23:03:34 -05:00
Lea Verou
c30f3c4b09
Improve theme remixing UI ( #724 )
...
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
Co-authored-by: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com >
2025-02-07 11:35:12 -05:00
Lea Verou
17eeccbc5d
Better infrastructure for core colors, show core colors in docs, closes #668
2025-02-05 11:24:13 -05:00
Cory LaViska
e1bf5471bf
Use native events when possible ( #590 )
...
* fix filename
* <wa-input> input + change (change not working)
* compose that horribly misleading change event
* use native blur/focus events
* update checkbox
* update color picker events
* update color picker events
* update radio group events
* update button events
* remove event options
* update select events
* update image comparer events
* update icon button events
* update slider events
* update rating events
* update radio events
* update switch event
* update textarea events
* update radio button events
* remove unused events
* cleanup
* fix react wrappers
* fix react events for real this time
* update changelog
* add note
* Update src/components/input/input.ts
Co-authored-by: Lea Verou <lea@verou.me >
* delete unused close event
* use same event type
* fix tests
* remove wa- from events in docs and examples
* fix comment
* Update docs/docs/resources/changelog.md
Co-authored-by: Lea Verou <lea@verou.me >
---------
Co-authored-by: Lea Verou <lea@verou.me >
2025-01-23 17:52:41 -05:00
Lea Verou
099edc5186
Implement wide page-level data
2025-01-22 13:25:29 -05:00
Lea Verou
7258c001a7
Demo for mixing and matching ( #565 )
2025-01-17 10:38:03 -05:00
Lea Verou
15344c2a2a
Appease Turbo for the color scheme picker too, fixes #520
2025-01-16 10:15:52 -05:00
lindsaym-fa
3974aa5130
Decrease line height on swatches
2025-01-16 10:15:16 -05:00
Lea Verou
7d089bbe2f
Palette Docs
2025-01-16 10:15:16 -05:00
Lea Verou
89c0667e9c
Improve maintainability of color docs
2025-01-14 14:44:30 -05:00