Lea Verou
12acd2d8eb
[Card] Add variant, closes #609
2025-03-25 14:11:27 -04:00
Lea Verou
10c2f304ee
[Card] Support appearance, rel #609
2025-03-25 13:59:02 -04:00
Cory LaViska
5bad30ec30
fix remove event and return null when empty ( #819 )
...
* fix remove event and return null when empty
* use closest
2025-03-21 13:01:49 -04:00
Lea Verou
87c1762146
Scrub :host-context() from everywhere
2025-03-21 12:55:25 -04:00
Konnor Rogers
872a110b1e
reflect href on buttons ( #817 )
2025-03-20 14:58:21 -04:00
Lindsay M
07fe6d598e
Add curated orange to all palettes, closes #657 ( #798 )
...
* Adjust `orange` in Default palette
* Adjust `orange`, `red`, and `yellow` in Classic palette
* Adjust `orange` in Anodized palette
* Adjust `orange` in Bright palette
* Adjust `orange` in Mild palette
* Adjust `orange` in Natural palette
* Adjust `orange` in Vogue palette
* Adjust `orange` in Rudimentary palette
* Adjust `orange` in Elegant palette
2025-03-18 16:08:31 -04:00
Lea Verou
1d03f7bee0
[Icon-button] Make --background-color-hover work + remaining 3 interaction properties ( #801 )
...
* [Icon-button] Make `--background-color-hover` work, fixes #800
* [Icon-button] Introduce `--text-color-hover`, `--background-color-active`, `--text-color-active`
* Oops
2025-03-14 09:29:04 -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
c0ca739366
More robust dynamic value / options handling, fixes #789
2025-03-12 16:52:50 -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
1283a696a5
fix switch + tooltip behavior ( #793 )
2025-03-12 18:22:23 +00:00
Cory LaViska
d12b97b0b0
fix wa-pill and wa-input[pill] styles ( #791 )
2025-03-12 16:19:50 +00:00
Lea Verou
e5c2884880
[Tooltip] Specify inherited CSS properties on host, fixes #773 ( #774 )
...
* [Tooltip] Specify inherited CSS properties on host, fixes #773
* Remove unused `--show-delay` and `--hide-delay`
2025-03-10 15:08:27 -04:00
Lea Verou
1d600a77c4
Fix #566
2025-03-10 14:15:06 -04:00
lindsaym-fa
db3c568ba2
Add generated orange to Anodized palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
4bb9805ba6
Add generated orange to Bright palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
bd935fa8d5
Add generated orange to Classic palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
c3e582b47b
Add generated orange to Natural palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
4d094a4e19
Add generated orange to Rudimentary palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
782c404bdf
Add generated orange to Default palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
f1438981b2
Add generated orange to Elegant palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
18b88c2f5c
Add generated orange to Mild palette
2025-03-05 22:27:11 -05:00
lindsaym-fa
a2d85f49a3
Add generated orange to Vogue palette
2025-03-05 22:27:11 -05:00
Lea Verou
be00026cd3
Update postprocess.js
2025-03-05 22:27:11 -05:00
Lea Verou
1d14e186f3
Generate missing hues from neighboring hues
2025-03-05 22:27:11 -05:00
Lea Verou
5f672aabc2
Refactor: variable rename for consistency
2025-03-05 22:27:11 -05:00
Lea Verou
db08e12a32
Pave the way for being able to have core colors that are not mapped to any tint
2025-03-05 22:27:11 -05:00
Lea Verou
e0fc639226
Only use hex when color is within sRGB
2025-03-05 22:27:11 -05:00
Lea Verou
e6c662b543
tintless.js -> postprocess.js
2025-03-05 22:27:11 -05:00
lindsaym-fa
d1de9a9a73
Fix incorrect sizing tokens in size utilities
2025-02-26 01:01:39 -05:00
lindsaym-fa
4931de8eb4
Fix text color for filled appearance
2025-02-26 01:01:39 -05:00
Lea Verou
c4b5446d01
Fix boundingClientRect issue for elements whose host is display: contents
2025-02-21 12:02:20 -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
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
4bfebf3249
Improve color ranges script ( #752 )
2025-02-13 18:15:47 -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
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