Add Refresh method

Adds the `refresh` method to recompute the styles.

Includes tests and docs.

Fixes #45