feat(highlight): replace Prism with highlight.js and Atom One Dark
This commit is contained in:
1 parent
634ef9fc11
commit
b123ef36db
10 files changed
+72
-134
No files matched your search
@@ -16,8 +16,6 @@
|
||||
--rm-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
|
||||
--rm-inline-code-bg: #202127;
|
||||
--rm-inline-code-text: #f19a58;
|
||||
--rm-code-bg: #2d2d2d;
|
||||
--rm-code-text: #ccc;
|
||||
--rm-highlight-bg: rgba(232, 196, 119, 0.25);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,12 +16,6 @@
|
||||
--rm-shadow: 0 12px 40px -12px rgba(19, 27, 46, 0.18), 0 2px 8px rgba(19, 27, 46, 0.03);
|
||||
--rm-inline-code-bg: #eaedff;
|
||||
--rm-inline-code-text: #3525cd;
|
||||
--rm-code-bg: #ffffff;
|
||||
--rm-code-text: #334155;
|
||||
--rm-code-font-size: 14px;
|
||||
--rm-highlight-bg: rgba(255, 213, 0, 0.35);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
:root { --rm-code-bg: #283044; --rm-code-text: #eef0ff; }
|
||||
}
|
||||
Reference in new issue
Block a user