@bitovi/vybit 0.13.4 → 0.13.5
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/panel/dist/index.html
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
font-size: 12px;
|
|
17
17
|
}
|
|
18
18
|
</style>
|
|
19
|
-
<script type="module" crossorigin src="/panel/assets/index-
|
|
19
|
+
<script type="module" crossorigin src="/panel/assets/index-bk-Onymy.js"></script>
|
|
20
20
|
<link rel="stylesheet" crossorigin href="/panel/assets/index-rvhMGLF5.css">
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
package/shared/css-utils.ts
CHANGED
|
@@ -19,3 +19,14 @@ export function rewriteRootToHost(css: string): string {
|
|
|
19
19
|
export function rewriteHostToRoot(css: string): string {
|
|
20
20
|
return css.replace(/:host/g, ':root');
|
|
21
21
|
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Reset inherited properties that leak from the panel's dark theme.
|
|
25
|
+
* The panel body sets color (#e5e5e5), font-family (Inter), and
|
|
26
|
+
* font-size (12px) — all of which inherit across shadow boundaries
|
|
27
|
+
* and into child elements appended to document.body.
|
|
28
|
+
*
|
|
29
|
+
* Used as a :host rule in shadow DOM (ShadowGhost) and as inline
|
|
30
|
+
* styles in document-context rendering (rasterizeHtml).
|
|
31
|
+
*/
|
|
32
|
+
export const GHOST_STYLE_RESET = 'color:CanvasText;font-family:system-ui,sans-serif;font-size:16px;line-height:1.5';
|