Closed 0xh3LL0 closed 5 years ago
Hello @0xh3LL0, and thank you for reaching out with this report. You can safely ignore this, its CSSlint, because the usercss doesnt conform to the way options/variables are done.
Stylelint says error | 5642 | : | 3 | Unknown word
In this case I think its here
That rule looks unclosed but due to variable and way its implemented all linters complain. Yet nothing is up.
I think we should clean this error up. Maybe with some CSS variables:
.markdown-format pre, .markdown-body pre, .markdown-format .highlight pre,
.markdown-body .highlight pre, #facebox pre, .blob-expanded, .terminal,
.copyable-terminal, #notebook .input_area, .blob-code-context,
.markdown-format code, .api pre, .api code, .hook-delivery-details pre,
.hook-delivery-container pre, .code-list .file-box {
background: var(--ghd-code-background, #181818) !important;
color: var(--ghd-code-color, #ccc) !important;
}
And in the theme:
:root {
--ghd-code-background: #345;
--ghd-code-color: #cde;
}
Edit: Updated to use var fallbacks.
seems that last rule is left open to account for user selections for
/*[[syntax-theme]]*/
/*[[syntax-codemirror]]*/
/*[[syntax-jupyter]]*/
I think its best let a PRO handle that =)
I'm not claiming to be a pro, but it's been fixed.