mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
68 lines
1.9 KiB
TypeScript
68 lines
1.9 KiB
TypeScript
|
export const defaultTheme = {
|
||
|
ltr: "ltr",
|
||
|
rtl: "rtl",
|
||
|
placeholder: "editor-placeholder",
|
||
|
paragraph: "mb-1",
|
||
|
quote: "editor-quote",
|
||
|
heading: {
|
||
|
h1: "text-3xl font-bold",
|
||
|
h2: "text-2xl font-bold",
|
||
|
h3: "text-xl font-bold",
|
||
|
h4: "text-lg font-bold",
|
||
|
h5: "text-base font-bold",
|
||
|
},
|
||
|
list: {
|
||
|
nested: {
|
||
|
listitem: "list-item",
|
||
|
},
|
||
|
ol: "list-decimal pl-4",
|
||
|
ul: "list-disc pl-4",
|
||
|
listitem: "list-item",
|
||
|
},
|
||
|
image: "editor-image",
|
||
|
link: "editor-link",
|
||
|
text: {
|
||
|
bold: "font-bold",
|
||
|
italic: "italic",
|
||
|
overflowed: "editor-text-overflowed",
|
||
|
hashtag: "editor-text-hashtag",
|
||
|
underline: "underline",
|
||
|
strikethrough: "line-through",
|
||
|
underlineStrikethrough: "editor-text-underlineStrikethrough",
|
||
|
code: "editor-text-code",
|
||
|
},
|
||
|
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",
|
||
|
},
|
||
|
};
|