@nevescloud/pip 2.11.1 → 2.11.2
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/pip-core.esm.js +8 -6
package/package.json
CHANGED
package/pip-core.esm.js
CHANGED
|
@@ -154,12 +154,14 @@ const CSS = `
|
|
|
154
154
|
overflow: visible;
|
|
155
155
|
margin: 0;
|
|
156
156
|
padding: 14px;
|
|
157
|
-
/*
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
157
|
+
/* Force light as the default scheme for pip's chrome. The fallbacks
|
|
158
|
+
below use light-dark(); without an explicit value here CSS treats
|
|
159
|
+
the element as "normal", which lets the browser pick the dark
|
|
160
|
+
branch based on the visitor's OS preference — painting pip dark
|
|
161
|
+
even when the host page is rendering light. Hosts that want dark
|
|
162
|
+
pip set --pip-* variables explicitly or override color-scheme to
|
|
163
|
+
dark on this rule. */
|
|
164
|
+
color-scheme: light;
|
|
163
165
|
border: 1px solid var(--pip-border, light-dark(rgba(0,0,0,0.10), rgba(255,255,255,0.12)));
|
|
164
166
|
border-radius: 14px;
|
|
165
167
|
background: var(--pip-surface, light-dark(#fff, #212529));
|