candy canes are tough,
i am embarrassed to say this but when i first started i kept them in a tank with nothing but 1 stock t5 light then my tank crashed, so i kept them in a 1 gallon tank with a small led light for 3 weeks and now they are back in my tank and doing good.
time, good water, and they sould come back for you.