Because you say you aren't going to do it, the verb is in the conditional tense, meaning it isn't actually going to happen in the future. IF you did study in the dark, you WOULD strain your eyes.
If you were saying, "I am going to study in the dark even though I will strain my eyes," you would use will. But, you are saying you aren't going to do it so the verb is in the conditional ten