WIP dark mode for Erlang (missing paginated search styles)
Erlang docs dark mode by MonoidMusician
Details
AuthorMonoidMusician
LicenseCC Zero
Categoryerlang
Created
Updated
Size2.8 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Erlang docs dark mode
@namespace github.com/openstyles/stylus
@version 1.0.0
@description WIP dark mode for Erlang (missing paginated search styles)
@author MonoidMusician
==/UserStyle== */
@-moz-document url-prefix("https://www.erlang.org/doc/") {
body {
background: #0f1316;
color: #cbc5ce;
}
.erlang-logo-wrapper {
filter: invert(1) hue-rotate(180deg);
}
a > .code {
color: #226cb6;
}
.code {
background-color: #25282a;
}
.example {
background-color: #3a3d40;
border-color: #596c7f;
}
.hljs-doctag, .hljs-keyword, .hljs-formula {
color: #ac54ab;
}
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {
color: #47b546;
}
:root {
--docsearch-primary-color: #4e5698;
--docsearch-text-color: #ccd0d6;
--docsearch-spacing: 12px;
--docsearch-icon-stroke-width: 1.4;
--docsearch-highlight-color: var(--docsearch-primary-color);
--docsearch-muted-color: #969faf;
--docsearch-container-background: rgb(49 53 65 / 80%);
--docsearch-logo-color: #5468ff;
--docsearch-modal-width: 560px;
--docsearch-modal-height: 600px;
--docsearch-modal-background: #001020;
--docsearch-modal-shadow: inset 1px 1px 0 0 hsla(0,0%,100%,0.5),0 3px 8px 0 #555a64;
--docsearch-searchbox-height: 56px;
--docsearch-searchbox-background: #000000;
--docsearch-searchbox-focus-background: #0e0e11;
--docsearch-searchbox-shadow: inset 0 0 0 2px #3545b9;
--docsearch-hit-height: 56px;
--docsearch-hit-color: #5b7293;
--docsearch-hit-active-color: #fff;
--docsearch-hit-background: #0e0e11;
--docsearch-hit-shadow: 0 1px 3px 0 #d4d9e1;
--docsearch-key-gradient: linear-gradient(-225deg,#d5dbe4,#f8f8f8);
--docsearch-key-shadow: inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,0.4);
--docsearch-footer-height: 44px;
--docsearch-footer-background: #090909;
--docsearch-footer-shadow: 0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,0.12);
}
.ais-Hits-item, .ais-InfiniteHits-item {
}
.note .content {
background-color: #101315;
}
.warning .content {
background-color: #1c181b;
}
.cref-head:hover, .func-head:hover, .data-type-name:hover {
background-color: #21212a;
}
.hljs {
color: #c0c5d9;
}
.pencil-before:before {
color: #ffffff !important;
}
/* TODO hack */
.ais-Hits, .ais-SearchBox, .ais-Pagination {
filter: invert(1);
}
}