Commit Graph

2593 Commits

Author SHA1 Message Date
Lea Verou
33f3f8d4c0 Colorfulness sliders 2025-03-17 04:30:16 -04:00
Lea Verou
2bdfcae9ba Fix 2025-03-17 04:15:26 -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
c9a1e21cdb Refactor: Move exposed properties to array 2025-03-16 23:06:23 -04:00
Lea Verou
d649d2ee3b More slider bugfixes 2025-03-16 22:31:54 -04:00
Lea Verou
44469183cb Oopsie 2025-03-16 21:12:20 -04:00
Lea Verou
d30149e718 Fix normalizeAngle(), which fixes generated pinks 2025-03-16 21:11:32 -04:00
Lea Verou
416aaee672 Maximize distance between generated hue and both hues before and after it 2025-03-16 21:11:14 -04:00
Lea Verou
e9ea0b7f1c Simplify color-slider and fix a bunch of bugs around it 2025-03-16 20:20:01 -04:00
Lea Verou
5d97db178a Remove more tweaking stuff 2025-03-16 18:35:11 -04:00
Lea Verou
45b3a8e76e More hueBefore/hueAfter to data 2025-03-16 18:32:06 -04:00
Lea Verou
550df496e1 Fix tweaking sliders for predefined palettes 2025-03-16 18:13:35 -04:00
Lea Verou
cde67b7984 Reduce visual impact of Save button when saved 2025-03-16 18:09:31 -04:00
Lea Verou
fd6e7e19f0 Remove unused tweaking classes 2025-03-16 18:06:23 -04:00
Lea Verou
c442e52c63 Easier pinning of generated colors 2025-03-16 17:47:10 -04:00
Lea Verou
9c57646f48 Fix bug where edges where unintentionally added to my colors 2025-03-16 17:37:24 -04:00
Lea Verou
344e693c8b Fix bug where saving colors changed their order 2025-03-16 17:36:43 -04:00
Lea Verou
12b2ab133a Prevent bug where edges where auto-added 2025-03-16 17:25:22 -04:00
Lea Verou
1b26bee1af Tweak edges 2025-03-16 17:12:48 -04:00
Lea Verou
27c7e56a7e Hide general colorfulness slider from custom palettes (for now) 2025-03-16 17:12:32 -04:00
Lea Verou
22e5850a3f Move delete button inside popup 2025-03-16 17:12:20 -04:00
Lea Verou
f4897dcabe Show default values, make color tweak sliders work properly 2025-03-16 16:51:38 -04:00
Lea Verou
3dd5e0e8aa Refactor 2025-03-16 15:32:48 -04:00
Lea Verou
515b48f8a5 Make seed tweak popup wider 2025-03-16 15:27:59 -04:00
Lea Verou
9f141dbc4a Fix clear button 2025-03-16 02:14:03 -04:00
Lea Verou
ca60751cb8 decorated-slider -> color-slider, move template to top 2025-03-16 01:14:16 -04:00
Lea Verou
7dfa2f6a93 Sliders to tweak key colors 2025-03-16 00:22:49 -04:00
Lea Verou
82c34a8fe6 Merge branch 'next' into custom-palettes 2025-03-15 15:35:11 -04:00
Lea Verou
15ac2d169d Pin any color 2025-03-15 01:13:55 -04:00
Lea Verou
412670a21d Show experimental and pro badges on palette index 2025-03-15 01:13:27 -04:00
Lea Verou
c70ea3627c Prevent scales not in palette from showing up in contrast tables 2025-03-14 17:39:24 -04:00
Lea Verou
0a938d5cf3 Drop functionality where we show the old color in the swatch
Too disorienting and adds complexity
2025-03-14 17:18:57 -04:00
Lea Verou
1a9372839c Color popup 2025-03-14 17:18:57 -04:00
Lea Verou
12c5747cd2 Various changes around tweaks 2025-03-14 16:33:14 -04:00
Lea Verou
bb24db30b5 Update slider.ts 2025-03-14 16:32:53 -04:00
Lea Verou
48d7e45d30 Update custom.njk 2025-03-14 15:23:40 -04:00
Lea Verou
6dd2fbec74 Presentational 2025-03-14 15:23:26 -04:00
Lea Verou
d7dbf0f3f9 Nicer loading 2025-03-14 14:09:30 -04:00
Lea Verou
ba9d4c1f21 Button 2025-03-13 18:16:36 -04:00
Lindsay M
a9bf1bd838 Add --wa-color-{role}-N variables, closes #785 (#797)
* Initial comment, based on #768

* Add `neutral` color variables

* Add `success`, `warning`, and `danger` variables

* Theme touch-ups

* Remove unused clamped tokens

* Re-add clamped tokens test page, refactor to be based on hue instead of `brand`
2025-03-13 17:07:03 -04:00
Lea Verou
d4131095a8 Rework seed colors to support undoable tweaks 2025-03-13 16:44:40 -04:00
Lea Verou
1dd47557c0 Persist roles in permalink 2025-03-12 17:22:43 -04:00
Lea Verou
054058a52c Remove color from roles if its scale is deleted 2025-03-12 17:22:35 -04:00
Lea Verou
9f0d1df974 Do not wrap when a color has multiple roles 2025-03-12 17:00:54 -04:00
Lea Verou
a918c2297d Mark as experimental 2025-03-12 16:58:23 -04:00
Lea Verou
96704a2d7e Merge branch 'next' into custom-palettes 2025-03-12 16:53:10 -04:00
Lea Verou
3ae89b827f Role multiselect in seed colors 2025-03-12 16:20:43 -04:00
Cory LaViska
a6745602d6 fix color picker light dismiss (#794)
* fix color picker light dismiss

* update changelog
2025-03-12 15:59:37 -04:00
Cory LaViska
da4f619d95 prevent card example from overflowing (#795) 2025-03-12 14:44:39 -04:00
Cory LaViska
1283a696a5 fix switch + tooltip behavior (#793) 2025-03-12 18:22:23 +00:00