@kalem-editor/themes
v1.0.0
Published
Typography and theme tokens for Kalem — plain CSS, no build step
Readme
@kalem-editor/themes
Typography and theme tokens for Kalem — plain CSS, no build step.
Part of Kalem — a WYSIWYG editor for people who don't know Markdown, that saves Markdown.
npm i @kalem-editor/themesimport '@kalem-editor/themes/tokens.css'; // color, type and spacing tokens
import '@kalem-editor/themes/viewer.css'; // document typography
import '@kalem-editor/themes/editor.css'; // editing layer
import '@kalem-editor/themes/ui.css'; // toolbars and menusPlain CSS with custom properties, scoped to Kalem's own elements. Dark mode follows prefers-color-scheme and [data-theme]; minimal.css removes shadows and rounding.
Documentation, guides and the full API: see the Kalem repository.
License
MIT
