@trebired/frontend 23.1.1 → 23.2.0
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/CHANGELOG.md +4 -0
- package/dist/config/glass.js +1 -1
- package/dist/src/config/glass.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 23.2.0
|
|
4
|
+
|
|
5
|
+
- The glass is glass again. Its tint drops from 72% to 35%, which was raised too far while chasing text that had become unreadable under a pane with no fill at all. A pane now reads as something you see through rather than as a panel with a colour, and the page behind it is still damped enough for its contents to sit on. `opacity` sets it, as before.
|
|
6
|
+
|
|
3
7
|
## 23.1.1
|
|
4
8
|
|
|
5
9
|
- The glass is declared on every element rather than at the root. A custom property resolves the `var()` inside it where it is declared, so `--tbf-glass-bg` borrowing `--tbf-surface` from the root took the page's surface once and kept it: a pane standing on dark content still painted the light page's white. It now re-resolves on each element, the same way the adaptive colour does, so a pane over dark content is dark and a pane over light content is light.
|
package/dist/config/glass.js
CHANGED
|
@@ -19,7 +19,7 @@ function normalizeGlassConfig(value) {
|
|
|
19
19
|
return {
|
|
20
20
|
blur: glassField(source, "blur", "16px"),
|
|
21
21
|
color: glassField(source, "color", "transparent"),
|
|
22
|
-
opacity: glassField(source, "opacity", "
|
|
22
|
+
opacity: glassField(source, "opacity", "35%"),
|
|
23
23
|
saturate: glassField(source, "saturate", "180%"),
|
|
24
24
|
};
|
|
25
25
|
}
|
package/dist/src/config/glass.js
CHANGED
|
@@ -19,7 +19,7 @@ function normalizeGlassConfig(value) {
|
|
|
19
19
|
return {
|
|
20
20
|
blur: glassField(source, "blur", "16px"),
|
|
21
21
|
color: glassField(source, "color", "transparent"),
|
|
22
|
-
opacity: glassField(source, "opacity", "
|
|
22
|
+
opacity: glassField(source, "opacity", "35%"),
|
|
23
23
|
saturate: glassField(source, "saturate", "180%"),
|
|
24
24
|
};
|
|
25
25
|
}
|