Text this: Non-equilibrium thermodynamics with application to solids