-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.js
39 lines (32 loc) · 846 Bytes
/
constants.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
// basic colors
var crimson = '#a82931';
var blue1 = '#004e6a';
var blue2 = '#7799b7';
var blue3 = '#b0cfe7';
var green = '#298848';
var yellow = '#dbd300';
var white = '#ffffff';
var black = '#000000';
// fonts
var labelFontSize = 10;
var headlineFontSize = 24;
var descriptionFontSize = 12;
// color assignments
var bgColor = crimson;
var textColor = white;
var glowColor = yellow;
// size constants
var enforcedWidth = 600;
var maxWidth = 1000;
var mobileThreshold = 450;
var aspectRatio = 5/3;
var semicircleStart = 1/2; // semicircle starts 1/2 way down view
var horizontalLabelPadding = 15;
var verticalLabelPadding = 15;
var maxCircleSize = 80;
var glowSize = 15;
var detailHeadPadding = 30;
var detailHeadHeight = 90;
var mainFont = '"Merriweather", serif';
// strings
var instructions = 'Click on a person above to see details.';