custom theme settings

How can I customize a custom theme? The current provider is no longer supported https://atlaskit.atlassian.com/packages/design-system/theme/docs/deprecations