@grafana/ui
Version:
Grafana Components Library
26 lines (23 loc) • 612 B
JavaScript
import { css } from '@emotion/react';
;
function getUplotStyles(theme) {
return css({
".uplot": {
fontFamily: "inherit"
},
".u-select": {
background: "rgba(120, 120, 130, 0.2)"
},
".u-hz .u-cursor-x, .u-vt .u-cursor-y": {
borderRight: "1px dashed rgba(120, 120, 130, 0.5)"
},
".u-hz .u-cursor-y, .u-vt .u-cursor-x": {
borderBottom: "1px dashed rgba(120, 120, 130, 0.5)"
},
".shared-crosshair:not(.plot-active) .u-cursor-pt": {
display: "none !important"
}
});
}
export { getUplotStyles };
//# sourceMappingURL=uPlot.mjs.map