Skip to content

hexdocs pre-0.27 by jamesvl

Screenshot of hexdocs pre-0.27

Details

Authorjamesvl

LicenseNo License

CategoryHexDocs, Elixir

Created

Updated

Size1.0 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         hexdocs pre-0.27
@version      20220510.19.41
@namespace    userstyles.world/user/jamesvl
@description  Modifies hexdocs.pm so Elixir docs in the dark theme look like the pre-0.27 styles.

If the new dark mode is too high-contrast for you, this may help out.

Hat tip to https://gist.github.com/martosaur/f8a43ddf6ce4612f38d351c6d6e842f1
which I found via the forum thread: https://elixirforum.com/t/how-do-you-feel-about-the-newish-exdoc-dark-theme/47597
@author       jamesvl
@license      No License
==/UserStyle== */

@-moz-document domain("hexdocs.pm") {
/* CSS to make ExDoc look like pre-0.27.0  */
body.dark .content-inner, body.dark .content-outer{
    background: #212127;
    color: #ccc;
}

.sidebar, .sidebar-header {
  background: #373f52;
  color: #d5dae6
}

body.dark .content-inner code {
    background-color: #2c2c31;
    border-color: #44444c;
}

body.dark .content-inner blockquote code {
    background-color: #f7f9fc;
}
}

Reviews

No reviews yet.