@formant/ava-react
Version:
React components of AVA.
65 lines (63 loc) • 2.19 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/NarrativeTextVis/theme/seed.ts
var seed_exports = {};
__export(seed_exports, {
seedToken: () => seedToken
});
module.exports = __toCommonJS(seed_exports);
var presetLightColors = {
colorBase: "rgba(0, 0, 0, 0.65)",
colorEntityBase: "rgba(0, 0, 0, 0.65)",
colorPositive: "#FA541C",
colorNegative: "#13A8A8",
colorConclusion: "#1F0352",
colorDimensionValue: "rgba(0, 0, 0, 0.88)",
colorMetricName: "rgba(0, 0, 0, 0.88)",
colorMetricValue: "#1677FF",
colorOtherValue: "rgba(0, 0, 0, 0.88)",
colorProportionShadow: "#CDDDFD",
colorProportionFill: "#3471F9",
colorLineStroke: "#5B8FF9"
};
var presetDarkColors = {
colorBaseDark: "rgba(255, 255, 255, 0.65)",
colorEntityBaseDark: "rgba(255, 255, 255, 0.65)",
colorPositiveDark: "#FA541C",
colorNegativeDark: "#13A8A8",
colorConclusionDark: "#D8C3F3",
colorDimensionValueDark: "rgba(255, 255, 255, 0.88)",
colorMetricNameDark: "rgba(255, 255, 255, 0.88)",
colorMetricValueDark: "#4B91FF",
colorOtherValueDark: "rgba(255, 255, 255, 0.88)",
colorProportionShadowDark: "#CDDDFD",
colorProportionFillDark: "#3471F9",
colorLineStrokeDark: "#5B8FF9"
};
var seedToken = {
...presetLightColors,
...presetDarkColors,
fontSizeBase: 14,
fontSizeSmall: 12,
lineHeightBase: 24,
lineHeightSmall: 20
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
seedToken
});