airport-one-widgets 0.2.98 → 0.2.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/airport-one-widgets.iife.js +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,6 +96,11 @@ the subscribing airport.
|
|
|
96
96
|
Styling hooks: the `airfare-search-card` and `airfare-search-button` parts, and an
|
|
97
97
|
`--afs-font-family` custom property (the card otherwise inherits the host page's font).
|
|
98
98
|
|
|
99
|
+
A background color on the element itself (the portal's Background Color) becomes the
|
|
100
|
+
card's background: the card drops its own surface, border and shadow and sits on that
|
|
101
|
+
color, as the earlier widget did. It keeps its surface when its text would not read on
|
|
102
|
+
the color (below WCAG AA, 4.5:1), or when the color is not opaque.
|
|
103
|
+
|
|
99
104
|
## Airfare Content
|
|
100
105
|
|
|
101
106
|
Core Purpose:
|