The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/client/views/root/lib/codeBlockStyles.ts

76 lines
1.1 KiB

export const codeBlock = `pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
code.hljs {
padding: 3px 5px;
}
.hljs {
background: #1d1f21;
color: #c5c8c6;
}
.hljs span::selection,
.hljs::selection {
background: #373b41;
}
.hljs span::-moz-selection,
.hljs::-moz-selection {
background: #373b41;
}
div.rcx-box span.hljs-name,
div.rcx-box span.hljs-title.function_,
div.rcx-box span.hljs-title {
color: #f0c674;
}
.hljs-comment,
.hljs-meta,
.hljs-meta .hljs-keyword {
color: #707880;
}
.hljs-deletion,
.hljs-link,
.hljs-literal,
.hljs-number,
.hljs-symbol {
color: #c66;
}
.hljs-addition,
.hljs-doctag,
.hljs-regexp,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-string {
color: #b5bd68;
}
.hljs-attribute,
.hljs-code,
.hljs-selector-id {
color: #b294bb;
}
.hljs-bullet,
.hljs-keyword,
.hljs-selector-tag,
.hljs-tag {
color: #81a2be;
}
.hljs-subst,
.hljs-template-tag,
.hljs-template-variable,
.hljs-variable {
color: #8abeb7;
}
.hljs-built_in,
.hljs-quote,
.hljs-section,
.hljs-selector-class,
.hljs-type {
color: #de935f;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: 700;
}`;