@trackunit/css-core 1.14.80 → 1.14.81
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/package.json +1 -1
- package/src/lib/manager.css +15 -0
package/package.json
CHANGED
package/src/lib/manager.css
CHANGED
|
@@ -28,3 +28,18 @@ html {
|
|
|
28
28
|
.TanStackRouterDevtools button {
|
|
29
29
|
left: 100px;
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* The View Transition API's root snapshot pseudo-elements paint after all other
|
|
34
|
+
* document content, including modals/drawers rendered in a top layer or portal.
|
|
35
|
+
* Their default cross-fade (mix-blend-mode: plus-lighter) makes translucent
|
|
36
|
+
* backdrops appear to briefly wash out/flash, revealing the page behind them.
|
|
37
|
+
* We rely on per-element CSS transitions (e.g. nav item opacity) and named
|
|
38
|
+
* view-transition-name groups for the actual animated content, so the
|
|
39
|
+
* whole-page root snapshot doesn't need to animate at all - disable it.
|
|
40
|
+
*/
|
|
41
|
+
::view-transition-old(root),
|
|
42
|
+
::view-transition-new(root) {
|
|
43
|
+
animation: none;
|
|
44
|
+
mix-blend-mode: normal;
|
|
45
|
+
}
|