Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change deprecated methods in sanity config #2607

Closed
BorghildSelle opened this issue Oct 30, 2024 · 1 comment
Closed

Change deprecated methods in sanity config #2607

BorghildSelle opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
🛠 technical Technical stuffs like reducing debt, refactor or improve code base

Comments

@BorghildSelle
Copy link
Contributor

BorghildSelle commented Oct 30, 2024

sanity.config.tsx

'deskTool' is deprecated.ts(6385)
desk.d.ts(1682, 4): The declaration was marked as deprecated here.
(alias) deskTool(options: void | StructureToolOptions): PluginOptions
import deskTool
@deprecated — Import structureTool from sanity/structure instead!

export const customTheme = buildLegacyTheme(partialStudioTheme)

The signature '(partialLegacyTheme: Partial<LegacyThemeProps>): StudioTheme' of 'buildLegacyTheme' is deprecated.

@BorghildSelle BorghildSelle changed the title Change deprecated desktool in sanity config Change deprecated methods in sanity config Oct 30, 2024
@BorghildSelle BorghildSelle added the 🛠 technical Technical stuffs like reducing debt, refactor or improve code base label Oct 30, 2024
@millianapia millianapia self-assigned this Oct 30, 2024
@millianapia
Copy link
Contributor

we have to use the deprecated theming solution due to our custom button colors ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 technical Technical stuffs like reducing debt, refactor or improve code base
Projects
None yet
Development

No branches or pull requests

2 participants