canvasxpress-cli 74.1.0 → 74.1.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/src/canvasXpress.css +4 -2
- package/src/canvasXpress.js +2 -2
package/package.json
CHANGED
package/src/canvasXpress.css
CHANGED
|
@@ -9815,14 +9815,16 @@ body.has-fullscreen {
|
|
|
9815
9815
|
* paints its root with the dark surface: the HTML widgets, primitives and translucent tints around
|
|
9816
9816
|
* the canvas would otherwise sit on the host page (usually white). Only the chart's OWN theme does
|
|
9817
9817
|
* this; inside a dark container (a dark dashboard) the container provides the backdrop.
|
|
9818
|
+
* The fill is the chart's own background (--cx-chart-bg, set at draw) so no strip of a second
|
|
9819
|
+
* colour shows beside the canvas, and a transparent chart background lets the host page through.
|
|
9818
9820
|
*/
|
|
9819
9821
|
.cX-DOM[data-cx-ui-theme="dark"] {
|
|
9820
|
-
background-color: var(--cx-ui-surface);
|
|
9822
|
+
background-color: var(--cx-chart-bg, var(--cx-ui-surface));
|
|
9821
9823
|
}
|
|
9822
9824
|
|
|
9823
9825
|
@media (prefers-color-scheme: dark) {
|
|
9824
9826
|
.cX-DOM[data-cx-ui-theme="auto"] {
|
|
9825
|
-
background-color: var(--cx-ui-surface);
|
|
9827
|
+
background-color: var(--cx-chart-bg, var(--cx-ui-surface));
|
|
9826
9828
|
}
|
|
9827
9829
|
}
|
|
9828
9830
|
|