Self hosted FLOSS fitness/workout, nutrition and weight tracker
Don't hard code colours in the custom CSS file
Roland Geider3be25ddd5e80
diff --git a/wger/core/static/css/metricsgraphics-custom.css b/wger/core/static/css/metricsgraphics-custom.cssindex a19754a75..6fa2feb48 100644--- a/wger/core/static/css/metricsgraphics-custom.css+++ b/wger/core/static/css/metricsgraphics-custom.css@@ -6,46 +6,4 @@.mg-y-axis text,.mg-histogram .axis text {font-size: 1.3rem;-}---.mg-active-datapoint {- fill: black;- font-size: 0.9rem;- font-weight: 400;- opacity: 0.8;-}--.mg-area1-color {- fill: #729fcf;-}--.mg-area2-color {- fill: #8ae234;-}--.mg-area3-color {- fill: #ef2929;-}--.mg-area4-color {- fill: #fcaf3e;-}--.mg-area5-color {- fill: #888a85;-}--path.mg-main-area {- opacity: 0.9;- stroke: none;-}--.mg-line1-color{- stroke: black;-}---.mg-line-rollover-circle{- fill: black;}\ No newline at end of filediff --git a/wger/weight/static/js/weight.js b/wger/weight/static/js/weight.jsindex 86d43afa6..21cce2a2e 100644--- a/wger/weight/static/js/weight.js+++ b/wger/weight/static/js/weight.js@@ -28,7 +28,8 @@ $(document).ready(function () {target: '#weight_diagram',x_accessor: 'date',y_accessor: 'weight',- min_y_from_data: true+ min_y_from_data: true,+ colors: ['#3465a4']}