@visactor/vchart
Version:
charts lib based @visactor/VGrammar
113 lines (109 loc) • 2.58 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.DEFAULT_CONTINUOUS_LEGEND_THEME = void 0;
const getTextTheme = () => ({
style: {
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
fontWeight: "normal",
fill: {
type: "palette",
key: "secondaryFontColor",
default: "#89909d"
}
},
space: 6
});
exports.DEFAULT_CONTINUOUS_LEGEND_THEME = {
orient: "right",
position: "middle",
padding: [ 16, 24 ],
title: {
visible: !1,
padding: 0,
textStyle: {
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
fontWeight: "normal",
fill: {
type: "palette",
key: "primaryFontColor"
}
},
space: 12
},
handler: {
visible: !0
},
startText: {
style: {
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
fontWeight: "normal",
fill: {
type: "palette",
key: "secondaryFontColor",
default: "#89909d"
}
},
space: 6
},
endText: {
style: {
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
fontWeight: "normal",
fill: {
type: "palette",
key: "secondaryFontColor",
default: "#89909d"
}
},
space: 6
},
handlerText: {
style: {
fontSize: {
type: "token",
key: "l5FontSize"
},
lineHeight: {
type: "token",
key: "l5LineHeight"
},
fontWeight: "normal",
fill: {
type: "palette",
key: "secondaryFontColor",
default: "#89909d"
}
},
space: 6
}
};
//# sourceMappingURL=continuous.js.map