Cory LaViska
3cb6625c1d
update changelog
2025-02-21 12:52:51 -05:00
Lea Verou
c4b5446d01
Fix boundingClientRect issue for elements whose host is display: contents
2025-02-21 12:02:20 -05:00
Lindsay M
41affca083
Allow color tweak tags to wrap ( #769 )
2025-02-21 11:50:13 -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
lindsaym-fa
4fc6224464
Fix missing listbox border
2025-02-19 14:54:11 -05:00
Lea Verou
4921d1c32e
Save palette MVP, fixes #746 ( #755 )
2025-02-18 16:11:40 -05:00
Lindsay M
54d71d2319
Use tintless and clamped brand colors in themes ( #754 )
...
* Use tintless `brand` colors, cutoffs in themes
* Re-add `40-min`, add `70-max`
* Fix mistakes in Mellow theme
* Revert accidental Premium brand color change
* Add changelog
2025-02-18 10:22:32 -05:00
Cory LaViska
c1ecca0169
fix select hint ( #760 )
2025-02-18 15:09:52 +00: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
4621094ea1
[Tab] Avoid sprouting attributes in the constructor
2025-02-14 13:04:39 -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
4bfebf3249
Improve color ranges script ( #752 )
2025-02-13 18:15:47 -05:00
Lea Verou
99ad0abdd3
Palette icons, take 4
2025-02-13 10:52:40 -05:00
Cory LaViska
902e2b6367
Fix invalid CSS property in <wa-select> ( #751 )
...
* remove empty selectors
* fix invalid property
* update changelog
2025-02-13 15:45:57 +00:00
Lea Verou
7f3210b12d
Update changelog
2025-02-13 09:44:27 -05:00
Lea Verou
eee63bdecd
Clamped brand color tokens ( #741 )
2025-02-12 15:13:03 -05:00
Lindsay M
a91fd07ed7
Add pink, closes #658 ( #742 )
2025-02-11 10:52:51 -05:00
Lindsay M
34aa8917a6
Revisit default palette, closes #706 ( #731 )
...
* Adjust ✨ everything ✨ (but not grays)
* Update keys
* Tweak green
* Update lighter `green` tints
2025-02-10 22:37:14 -05:00
Lindsay M
715c2c0def
Revisit bright palette, closes #697 ( #705 )
...
* Adjust red and yellow
* Update remaining colors
* Correct Awesome theme success colors
* Adjust `red`
* Redefine `indigo` and `purple`
* Tweak `indigo`
2025-02-10 17:11:34 -05:00
Lea Verou
13b5385633
Radio improvements
...
- Drop `base` part (rel #207 )
- Add `hint` slot and attribute (it was the only form control that did not support that)
- Refactor `@watch` calls to `updated()` per @claviska's plan for them
2025-02-10 14:19:53 -05:00
Lea Verou
d25f3748c4
Analyze color components ( #732 )
...
Also refactored existing color scripts (moved to separate directory, extracted utils to separate file)
2025-02-10 13:54:54 -05:00
Lindsay M
b6620ddf7e
Revisit vogue palette, closes #723 ( #738 )
2025-02-10 13:23:57 -05:00
Lindsay M
d70d4a91b1
Revisit mild palette, closes #720 ( #737 )
...
* Adjust `cyan`, `indigo`, and `purple`
* Skew `indigo` more towards blue
* Better matching to Material tonal palettes
2025-02-10 13:20:44 -05:00
Lindsay M
bb1f7b2b7a
Adjust ✨ everything ✨ ( #734 )
2025-02-10 11:42:31 -05:00
Lindsay M
9921c17d63
Revisit natural palette, closes #721 ( #735 )
...
* Adjust `cyan`
* Adjust `blue` and `purple`
* Adjust `red` and `yellow`
2025-02-10 11:42:11 -05:00
Lindsay M
7f964f9b56
Adjust ✨ everything ✨ ( #736 )
2025-02-10 11:41:36 -05:00
Lindsay M
31eeea1630
Revisit anodized palette, closes #718 ( #733 )
...
* Adjust ✨ everything ✨
* Shift `red` towards orange in darker tints
* Tweak `green` balance
2025-02-10 11:41:17 -05:00
Lea Verou
ffda52a7cf
Theme remixing: Dynamic code snippets ( #729 )
2025-02-07 23:03:34 -05:00
Lea Verou
9be7919c60
Implement brand stylesheets for missing hues
2025-02-07 17:59:18 -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
7e8f13b5cb
Add accent color tint as separate variable ( #725 )
...
Co-authored-by: lindsaym-fa <dev@lindsaym.design >
2025-02-06 18:30:43 -05:00
Lindsay M
97ab986425
Revise classic palette, closes #707 ( #716 )
...
* Change ✨ everything ✨
* No changes to `gray`
2025-02-06 17:58:33 -05:00
Lea Verou
f1fa7f713e
Add label attribute to option & menu-item ( #704 )
...
* Add `label` attribute and `defaultLabel` getter to option and menu-item, drop `getTextLabel()`
- Add `label` attribute to option and menu-item, closes #698
- [Option] Add `defaultLabel` cached property to both
- [Option] Remove `getTextLabel()` method from both (people can just set `el.label`)
- Refactor: Merge utils to get text content into one more powerful utility function
- Fixed typo in `slot.ts`
.
Add `label` attribute to menu, remove `getTextLabel`
* Update filename
2025-02-06 10:58:09 -05:00
lindsaym-fa
3394a95057
Remove visual test failure markers
2025-02-06 10:57:33 -05:00
Lea Verou
eed9ddb9b3
Fix #622
2025-02-06 10:57:33 -05:00
Lea Verou
daf5e7734d
Support opting out of anchor headings with data-no-anchor
2025-02-06 10:56:56 -05:00
Lea Verou
63133d0e33
Card fixes
2025-02-06 10:25:02 -05:00
Lea Verou
b2d74145b8
Remove stray console.log()
2025-02-05 11:35:55 -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
Lea Verou
68f645e776
[Option] Drop base part, rel #207
2025-02-05 09:29:50 -05:00
Cory LaViska
b3e4c59197
add secure context notice ( #683 )
2025-02-04 16:27:35 +00:00
Lindsay M
6080a85035
Replace teal with cyan, fixes #659 ( #671 )
...
Co-authored-by: Lea Verou <lea@verou.me >
2025-02-03 19:01:23 -05:00
lindsaym-fa
f7e088c8df
Rename violet to purple, fixes #656
2025-02-03 18:47:03 -05:00
Lea Verou
80e1c05b37
Add --wa-color-brand-* tokens, fixes #655 ( #662 )
2025-02-03 15:39:59 -05:00
Cory LaViska
99f0273783
fix placeholder token ( #652 )
2025-02-03 17:03:34 +00:00
Cory LaViska
8e13683a30
Select tag fix ( #651 )
...
* add tag-counter part to wa-select
* on second thought
2025-02-03 16:48:46 +00:00
Cory LaViska
fd73542d2c
restore slot detection for non-SSR environments ( #649 )
2025-02-03 16:21:53 +00:00
Cory LaViska
bde0ed7403
add orientation example and use utils for spacing ( #648 )
2025-02-03 15:46:51 +00:00
Cory LaViska
8dc49f7119
fix event listeners ( #647 )
2025-02-03 10:07:21 -05:00
Cory LaViska
25cb96aa30
3.0.0-alpha.10
2025-01-31 11:23:56 -05:00