mirror of https://github.com/vizality/vizality
Update eslintrc, fix up codeblocks plugin, shift codeblock CSS towards BEM style, start adding codeblock theme styles
parent
e0c6d0bb38
commit
920b9a6860
@ -0,0 +1,73 @@
|
||||
.vz-code-block {
|
||||
&#{&}--theme-dracula {
|
||||
.hljs {
|
||||
&,
|
||||
&-subst {
|
||||
color: #f8f8f2;
|
||||
}
|
||||
&-built_in,
|
||||
&-selector-id,
|
||||
&-attribute,
|
||||
&-link,
|
||||
&-meta-string,
|
||||
&-doctag {
|
||||
color: #8be9fd;
|
||||
}
|
||||
&-keyword,
|
||||
&-selector-tag,
|
||||
&-subst,
|
||||
&-meta {
|
||||
color: #ff79c6;
|
||||
}
|
||||
&-title,
|
||||
&-selector-pseudo,
|
||||
&-selector-class {
|
||||
color: #50fa7b;
|
||||
}
|
||||
&-params,
|
||||
&-strong {
|
||||
font-style: italic;
|
||||
color: #ffb86c;
|
||||
}
|
||||
&-string,
|
||||
&-name,
|
||||
&-type,
|
||||
&-attr,
|
||||
&-emphasis,
|
||||
&-symbol,
|
||||
&-regexp,
|
||||
&-bullet,
|
||||
&-addition,
|
||||
&-variable,
|
||||
&-selector-attr,
|
||||
&-template-tag,
|
||||
&-template-variable {
|
||||
color: #f1fa8c;
|
||||
}
|
||||
&-comment,
|
||||
&-quote,
|
||||
&-deletion {
|
||||
color: #6272a4;
|
||||
}
|
||||
&-keyword,
|
||||
&-selector-tag,
|
||||
&-literal,
|
||||
&-title,
|
||||
&-section,
|
||||
&-doctag,
|
||||
&-type,
|
||||
&-name,
|
||||
&-strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
&-literal,
|
||||
&-number,
|
||||
&-section {
|
||||
color: #bd93f9;
|
||||
}
|
||||
&-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
@use 'dracula';
|
||||
@use 'monokai-sublime';
|
@ -0,0 +1,66 @@
|
||||
.vz-code-block {
|
||||
&#{&}--theme-monokai-sublime {
|
||||
.hljs {
|
||||
&,
|
||||
&-subst,
|
||||
&-tag {
|
||||
color: #f8f8f2;
|
||||
}
|
||||
&-emphasis,
|
||||
&-strong {
|
||||
color: #a8a8a2;
|
||||
}
|
||||
&-bullet,
|
||||
&-link,
|
||||
&-literal,
|
||||
&-number,
|
||||
&-quote,
|
||||
&-regexp {
|
||||
color: #ae81ff;
|
||||
}
|
||||
&-code,
|
||||
&-section,
|
||||
&-selector-class,
|
||||
&-title {
|
||||
color: #a6e22e;
|
||||
}
|
||||
&-strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
&-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
&-attr,
|
||||
&-keyword,
|
||||
&-name,
|
||||
&-selector-tag {
|
||||
color: #f92672;
|
||||
}
|
||||
&-attribute,
|
||||
&-symbol {
|
||||
color: #66d9ef;
|
||||
}
|
||||
&-class &-title,
|
||||
&-params {
|
||||
color: #f8f8f2;
|
||||
}
|
||||
&-addition,
|
||||
&-built_in,
|
||||
&-builtin-name,
|
||||
&-selector-attr,
|
||||
&-selector-id,
|
||||
&-selector-pseudo,
|
||||
&-string,
|
||||
&-template-variable,
|
||||
&-type,
|
||||
&-variable {
|
||||
color: #e6db74;
|
||||
}
|
||||
&-comment,
|
||||
&-deletion,
|
||||
&-meta {
|
||||
color: #75715e;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue