Provided herein is a composition for treating keratin fibers that comprises at least one silicone copolymer based on at least one silicone resin and at least one fluid silicone, and at least one liquid volatile linear alkanes. Also provided herein is a method of treating keratin fibers, comprising applying the composition to the keratin fibers.