UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

56 lines (54 loc) 1.39 kB
export const getFunnelTheme = is3d => { const res = { label: { style: { fill: "white", textBaseline: "middle", lineWidth: 2 } }, outerLabel: { style: { fontSize: { type: "token", key: "l4FontSize" }, fill: { type: "palette", key: "secondaryFontColor" } }, line: { style: { stroke: { type: "palette", key: "axisDomainColor" } } } }, transformLabel: { style: { fontSize: { type: "token", key: "l4FontSize" }, fill: { type: "palette", key: "secondaryFontColor" }, textBaseline: "middle" } } }; return res[is3d ? "transform3d" : "transform"] = { style: { fill: { type: "palette", key: "axisGridColor" } } }, res; }; export const funnel = getFunnelTheme(); //# sourceMappingURL=funnel.js.map