@notty/theme-api
v1.0.0
Published
Theme API and testing toolkit for Notty CMS themes
Readme
@notty/theme-api
Public SDK for building Notty admin themes.
Current Status
- Theme authoring workflow is available through
defineTheme() - Includes theme manifest types, branding tokens, layout overrides, and white-label metadata
- Active theme branding now flows into the admin
ui-configendpoint and white-label branding pipeline - The API is usable now, but should still be treated as early-stage and evolving, especially for full token/layout runtime application
- Distribution remains restricted to the
@nottynpm scope
Usage
import { defineTheme } from '@notty/theme-api';
export default defineTheme({
manifest: {
name: '@acme/theme-brand',
displayName: 'Brand Theme',
version: '0.1.0',
kind: 'theme',
engines: { notty: '>=0.16.0' },
branding: {
title: 'Acme CMS',
},
},
});For scaffolding, use create-notty --theme.
License
MIT
Part of Notty CMS
