Skip to content

Commit

Permalink
First pass
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Aug 31, 2019
1 parent 96deace commit 9936eb9
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
40 changes: 40 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,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;

}));
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "vizhub-vega-lite-config",
"version": "1.0.0",
"description": "Theme configuration for Vega-Lite for use in VizHub and beyond!",
"main": "index.js",
"dependencies": {
"rollup": "^1.20.3"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/datavis-tech/vizhub-vega-lite-config.git"
},
"keywords": [
"Vega",
"Visualization",
"Vega-Lite"
],
"author": "Curran Kelleher",
"license": "MIT",
"bugs": {
"url": "https://github.com/datavis-tech/vizhub-vega-lite-config/issues"
},
"homepage": "https://github.com/datavis-tech/vizhub-vega-lite-config#readme"
}

0 comments on commit 9936eb9

Please sign in to comment.