armor-editor
Version:
Advanced rich text editor with premium armor-grade security, real-time collaboration, spell checking, track changes, and framework-agnostic design for React, Vue, Angular, Next.js, Nuxt.js
20 lines (19 loc) • 473 B
TypeScript
export interface Theme {
name: string;
colors: {
background: string;
text: string;
border: string;
toolbar: string;
button: string;
buttonHover: string;
selection: string;
accent: string;
};
fonts: {
primary: string;
monospace: string;
};
}
export declare const themes: Record<string, Theme>;
export declare function applyTheme(container: HTMLElement, theme: Theme): void;