Inject dependency for UserPreferences
Use asset_path helper for gradient images.