Open hamishgibbs opened 3 years ago
Currently, colours are embedded in the visualisation:
https://github.com/hamishgibbs/rt_vis/blob/022a1eb9392a6e951b7aa8e7e62b3ac12926bd40/src/js/map.ts#L57-L70
and:
https://github.com/hamishgibbs/rt_vis/blob/022a1eb9392a6e951b7aa8e7e62b3ac12926bd40/src/css/ts.css#L3-L46
https://github.com/hamishgibbs/rt_vis/blob/022a1eb9392a6e951b7aa8e7e62b3ac12926bd40/src/css/setup.css#L114-L124
These should be lifted out of rt_vis and passed as a config variable from RtD3 (With defaults included in the package). Or included in the config in index.html in rt_vis for development.
rt_vis
RtD3
index.html
Currently, colours are embedded in the visualisation:
https://github.com/hamishgibbs/rt_vis/blob/022a1eb9392a6e951b7aa8e7e62b3ac12926bd40/src/js/map.ts#L57-L70
and:
https://github.com/hamishgibbs/rt_vis/blob/022a1eb9392a6e951b7aa8e7e62b3ac12926bd40/src/css/ts.css#L3-L46
and:
https://github.com/hamishgibbs/rt_vis/blob/022a1eb9392a6e951b7aa8e7e62b3ac12926bd40/src/css/setup.css#L114-L124
These should be lifted out of
rt_vis
and passed as a config variable fromRtD3
(With defaults included in the package). Or included in the config inindex.html
inrt_vis
for development.