-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |