diff --git a/src/static/css/custom.css b/src/static/css/custom.css index d6d71f0..5cb7fc1 100644 --- a/src/static/css/custom.css +++ b/src/static/css/custom.css @@ -49,15 +49,15 @@ body{ .c3 .c3-axis-x path, .c3 .c3-axis-x line, .c3 .c3-axis-y path, .c3 .c3-axis-y line, .c3 .c3-axis-y2 path, .c3 .c3-axis-y2 line { - stroke: var(--axis-color); + stroke: #0071A7; } .c3 .c3-axis-x g, .c3 .c3-axis-y g, .c3 .c3-axis-y2 g, .c3 .c3-legend-item-data text { - color: var(--axis-color); - fill: var(--axis-color); + color: #0071A7; + fill: #0071A7; } #timeseries-chart .c3-line { stroke-width: 2px; @@ -94,12 +94,14 @@ body{ } #score{ - color: var(--score-color); + /*color: var(--score-color);*/ + color: #0071A7; /*color: var(--light-blue);*/ } #gross{ - color: var(--gross-color); + /*color: var(--gross-color);*/ + color: #4D9913; } .chosen{ @@ -143,7 +145,8 @@ body{ .title{ font-size:22px; - color:var(--dark-blue); + /*color:var(--dark-blue);*/ + color:#0C243B; font: bold; } @@ -151,7 +154,8 @@ body{ text-align:center; float: center; margin: auto; - color:var(--dark-blue); + /*color:var(--dark-blue);*/ + color:#0C243B; } diff --git a/src/static/js/enthusiast.js b/src/static/js/enthusiast.js index 26a5aba..759e1f3 100644 --- a/src/static/js/enthusiast.js +++ b/src/static/js/enthusiast.js @@ -7,6 +7,9 @@ var update_freq = 200 var style = getComputedStyle(document.body); score_color = style.getPropertyValue('--score-color'); gross_color = style.getPropertyValue('--gross-color'); + +score_color = '#0071A7'; +gross_color = '#4D9913'; // } @@ -105,7 +108,7 @@ var sentiment_data = { bindto:'#sentiment-chart', data: { colors: { - polarity: chroma(score_color).darken().hex(), + polarity: "#000016",//chroma(score_color).darken().hex(), subjectivity: score_color, }, columns: [ ['polarity', 10], @@ -154,11 +157,11 @@ word_coud_settings = { height: wc_height, classPattern: null, colors: [score_color, - // gross_color, - chroma(score_color).darken().hex(), - // chroma(gross_color).darken().hex(), - chroma(score_color).darken().darken().hex(), - ],// '#ffeda0', '#ffffcc'], + // chroma(score_color).darken().hex(), + "#000016", + // chroma(score_color).darken().darken().hex(), + "#000000", + ], fontSize: { from: 0.1, to: 0.02 diff --git a/src/templates/enthusiast.html b/src/templates/enthusiast.html index 108adb1..01dcb93 100644 --- a/src/templates/enthusiast.html +++ b/src/templates/enthusiast.html @@ -11,8 +11,8 @@ - - + + {% endblock %} @@ -115,5 +115,5 @@ - + {% endblock %} \ No newline at end of file