Lesson
5
Bold branding
Log in to mark your progress for each Lesson and Task
Review Studio Components in the Configuration API documentation
Sanity Studio can be configured to be visually unique to your brand.
Review Workspaces in the documentation
If you have multiple Workspaces, they can also be individually branded with an icon
and subtitle
field. These might be contextually unique, for example, indicating the current dataset.
Customise workspace configurations to include unique icons
A complex and dynamic set of Workspace configurations might look something like this:
sanity.config.ts
export default defineConfig([ { name: 'hotels-us', title: 'Hotels USA', basePath: '/us', projectId: '<projectId>', icon: () => <Icon color={process.env.NODE_ENV !== 'production' ? 'purple' : 'red'} emoji="🇺🇸" />, dataset: process.env.NODE_ENV === 'production' ? 'hotels_us_production' : 'hotels_us_development', subtitle: process.env.NODE_ENV === 'production' ? 'Production' : 'Development', plugins: [structureTool()], schema: {types: schemaTypes}, }, // ... and others])
Review Theming and Styling & Branding in the documentation
The Studio’s default colors can be individually replaced with swatches more appropriate to your brand.
For an even more complex coat of paint, try using Studio v3 Themer to build a replacement theme for the Studio.
Each workspace within a Studio can have its own unique theme!
Update the brand colors of the Studio to match your own
You have 2 uncompleted tasks in this lesson
0 of 2