UNPKG

@churchapps/apphelper-markdown

Version:

ChurchApps markdown/lexical editor components

75 lines (74 loc) 2.6 kB
const theme = { placeholder: "editor-placeholder", paragraph: "editor-paragraph", quote: "editor-quote", heading: { h1: "editor-heading-h1", h2: "editor-heading-h2", h3: "editor-heading-h3", h4: "editor-heading-h4", h5: "editor-heading-h5", h6: "editor-heading-h6" }, list: { nested: { listitem: "editor-nested-listitem" }, ol: "editor-list-ol", ul: "editor-list-ul", listitem: "editor-listitem", listitemChecked: "editor-listitem-checked", listitemUnchecked: "editor-listitem-unchecked" }, hashtag: "editor-hashtag", image: "editor-image", link: "editor-link", text: { bold: "editor-text-bold", italic: "editor-text-italic", overflowed: "editor-text-overflowed", hashtag: "editor-text-hashtag", underline: "editor-text-underline", strikethrough: "editor-text-strikethrough", underlineStrikethrough: "editor-text-underlineStrikethrough", code: "editor-text-code", subscript: "editor-text-subscript", superscript: "editor-text-superscript" }, code: "editor-code", codeHighlight: { atrule: "editor-tokenAttr", attr: "editor-tokenAttr", boolean: "editor-tokenProperty", builtin: "editor-tokenSelector", cdata: "editor-tokenComment", char: "editor-tokenSelector", class: "editor-tokenFunction", "class-name": "editor-tokenFunction", comment: "editor-tokenComment", constant: "editor-tokenProperty", deleted: "editor-tokenProperty", doctype: "editor-tokenComment", entity: "editor-tokenOperator", function: "editor-tokenFunction", important: "editor-tokenVariable", inserted: "editor-tokenSelector", keyword: "editor-tokenAttr", namespace: "editor-tokenVariable", number: "editor-tokenProperty", operator: "editor-tokenOperator", prolog: "editor-tokenComment", property: "editor-tokenProperty", punctuation: "editor-tokenPunctuation", regex: "editor-tokenVariable", selector: "editor-tokenSelector", string: "editor-tokenSelector", symbol: "editor-tokenProperty", tag: "editor-tokenProperty", url: "editor-tokenOperator", variable: "editor-tokenVariable" }, table: "editor-table", tableRow: "editor-table-row", tableCell: "editor-table-cell", tableCellHeader: "editor-table-cell-header" }; export default theme;