Browse Source

The Daily theme.

parisminton 7 years ago
parent
commit
63ef209aa9

+ 1 - 1
renderer/patterns.js View File

89
 
89
 
90
     var height = d3.scaleLinear()
90
     var height = d3.scaleLinear()
91
       .domain([0, 1])
91
       .domain([0, 1])
92
-      .range([0, waveHeight * .65]);
92
+      .range([0, waveHeight * .45]);
93
 
93
 
94
     var barWidth = barX.bandwidth();
94
     var barWidth = barX.bandwidth();
95
 
95
 

BIN
settings/backgrounds/the_daily_audiogram_background.png View File


+ 18 - 1
settings/themes.json View File

16
     "captionRight": 1080,
16
     "captionRight": 1080,
17
     "labelFont": "40px 'NYT Karnak'",
17
     "labelFont": "40px 'NYT Karnak'",
18
     "labelAlign": "left",
18
     "labelAlign": "left",
19
-    "labelTop": 480,
19
+    "labelTop": 470,
20
     "labelLeft": 60,
20
     "labelLeft": 60,
21
     "labelLineHeight": 20,
21
     "labelLineHeight": 20,
22
     "labelLineSpacing": 4
22
     "labelLineSpacing": 4
70
     "captionRight": 860,
70
     "captionRight": 860,
71
     "backgroundImage": "t_logo_white_alpha.png",
71
     "backgroundImage": "t_logo_white_alpha.png",
72
     "labelColor": "#fff"
72
     "labelColor": "#fff"
73
+  },
74
+  "The Daily": {
75
+    "width": 1000,
76
+    "height": 560,
77
+    "pattern": "halfbars",
78
+    "waveColor": "rgba(102, 102, 102, 0.25)",
79
+    "waveBottom": 710,
80
+    "foregroundColor": "#fff",
81
+    "backgroundColor": "#f4d7b9",
82
+    "captionFont": "300 71px 'NYT Franklin Light'",
83
+    "captionLineHeight": 80,
84
+    "captionAlign": "left",
85
+    "captionTop": 70,
86
+    "captionLeft": 50,
87
+    "captionRight": 860,
88
+    "backgroundImage": "the_daily_audiogram_background.png",
89
+    "labelColor": "#fff"
73
   }
90
   }
74
 }
91
 }