reveal-sdk-node
Version:
RevealBI Node.js SDK
21 lines (20 loc) • 851 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultDashboardTheme = void 0;
class DefaultDashboardTheme {
constructor(theme) {
this.brandingColor = -1226087;
this.brandGreenColor = -8271997;
this.brandRedColor = -1348759;
this.neutralColor = 16777216;
this.seriesColor = [-10842935, -6501276, -30107, -5667351, -18611, -1023342, -10177033, -6190977, -7941963, -2174009];
if (theme != null) {
this.brandGreenColor = theme.brandGreenColor;
this.brandRedColor = theme.brandRedColor;
this.brandingColor = theme.brandingColor;
this.neutralColor = theme.neutralColor;
this.seriesColor = [...theme.seriesColor];
}
}
}
exports.DefaultDashboardTheme = DefaultDashboardTheme;
;