-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
40 lines (37 loc) · 931 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// UMD boilerplate from Rollup.
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.vizhubVegaLiteConfig = factory());
}(this, function () { 'use strict';
// Appearance customization for Vega-Lite in VizHub (and beyond!).
// See https://vega.github.io/vega-lite/docs/
const dark = 'rgb(22, 21, 20)';
const config = {
mark: {
color: 'black'
},
point: {
filled: true,
size: 100
},
axis: {
domain: false,
tickColor: 'lightGray'
},
style: {
"guide-label": {
font: 'Poppins',
fontSize: 20,
fill: dark
},
"guide-title": {
font: 'Poppins',
fontSize: 30,
fontWeight: 500,
fill: dark
}
}
};
return config;
}));