adapt theme