Ghost/core/frontend
Kevin Ansfield 04dd409243
Added syncing and theme exposure of custom theme settings (#13354)
refs https://github.com/TryGhost/Team/issues/1070

- added `@tryghost/custom-theme-settings-service` as a dependency
- `core/server/services/custom-theme-settings` creates an instance of the new service passing in the model used for storing the setting keys/values and a cache instance
- requiring `core/shared/services/custom-theme-settings-cache` creates a cache instance, it has no dependencies so can be required anywhere and the first require will initialize the shared instance
- updated the theme activation bridge to trigger the theme settings service to sync the newly activated theme settings and populate the cache
- updated theme validation to pass `labs` through as an option so that we get custom theme settings back as part of the checked theme as that's what is passed to the custom theme settings service
2021-09-23 12:44:39 +01:00
..
apps Refactored proxy imports in frontend helpers 2021-07-07 17:02:58 +04:00
helpers Added new ghost analytics meta tag behind activity alpha flag 2021-09-20 13:55:37 +05:30
meta Fixed missing renames getExcerpt -> generateExcerpt 2021-07-02 09:44:18 +01:00
services Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
views Updated unsubscribe copy 2019-11-26 11:03:14 +01:00