ソースを参照

The Daily theme.

parisminton 7 年 前
コミット
63ef209aa9
共有3 個のファイルを変更した19 個の追加2 個の削除を含む
  1. 1 1
      renderer/patterns.js
  2. BIN
      settings/backgrounds/the_daily_audiogram_background.png
  3. 18 1
      settings/themes.json

+ 1 - 1
renderer/patterns.js ファイルの表示

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

BIN
settings/backgrounds/the_daily_audiogram_background.png ファイルの表示


+ 18 - 1
settings/themes.json ファイルの表示

@@ -16,7 +16,7 @@
16 16
     "captionRight": 1080,
17 17
     "labelFont": "40px 'NYT Karnak'",
18 18
     "labelAlign": "left",
19
-    "labelTop": 480,
19
+    "labelTop": 470,
20 20
     "labelLeft": 60,
21 21
     "labelLineHeight": 20,
22 22
     "labelLineSpacing": 4
@@ -70,5 +70,22 @@
70 70
     "captionRight": 860,
71 71
     "backgroundImage": "t_logo_white_alpha.png",
72 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
 }