Sanity
Style Sanity Studio with Data Attributes
Use Sanity’s data attributes for small CSS overrides instead of relying on generated class names.
sanity.overrides.css

by Kahlil Gibran
Practical notes that capture a fix, a shortcut, or a spark of clarity.
Use Sanity’s data attributes for small CSS overrides instead of relying on generated class names.
Sanity ships with features most projects don’t need. Add this to the config:
[data-testid='field-groups'] + [data-testid^='field-'] {
margin-top: -1rem;
}announcements: { enabled: false },
scheduledPublishing: { enabled: false },
tasks: { enabled: false },
releases: { enabled: false },
document: { comments: { enabled: false } },