remove `calculateStyles`