Text this: Phase field modelling of crack propagation in functionally graded materials