Skip to content

developer.android.com by devolt

Screenshot of developer.android.com

Details

Authordevolt

LicenseWTFPL - http://www.wtfpl.net/about/

Categorydeveloper.android.com

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dark css Style for Android Developer pages for use with the Stylus browser extension for Firefox and Chromium/Chrome.

Notes

Instructions

Get Stylus and install the style, by using the “find styles” feature.

Changelog

v1

  • Created initial version. Should work for most pages, but maybe I missed something. If there’s a problem, feel free to edit this css and upload an improved version. No need to credit the original author or anything.

Source code

/* ==UserStyle==
@name         developer.android.com
@version      20211117.13.18
@namespace    userstyles.world/user/devolt
@description  Dark css Style for Android Developer pages for use with the Stylus browser extension for Firefox and Chromium/Chrome.
@author       devolt
@license      WTFPL - http://www.wtfpl.net/about/
==/UserStyle== */

@-moz-document domain("developer.android.com") {
body {
    color: white !important;
    background-color:#1e1e1e !important;
}

body devsite-content, :root, devsite-book-nav, [layout="docs"] {
--devsite-code-background: grey;
--devsite-background-0: #1e1e1e;
--devsite-background-1: #1e1e1e;
--devsite-background-2: #1e1e1e;
--devsite-background-3: #1e1e1e;
--devsite-background-4: #1e1e1e;
--devsite-background-5: #1e1e1e;
--devsite-body-background: grey;
--devsite-primary-text-color: white;
--devsite-secondary-text-color: white;
--devsite-tertiary-text-color: #bdc1c6;
}

devsite-header .devsite-collapsible-section {
    background-color: #003f52;
}

li {
    color: white;
}

code {
    --devsite-var-color: cyan;
}

table {
    --devsite-table-cell-background: grey;
}

devsite-product-name-wrapper {
    background-color:grey;
}

h1, h2, h3 {
   color: #00de7a !important
}

devsite-header .devsite-doc-set-nav-row .devsite-breadcrumb-link, devsite-header .devsite-product-description-row .devsite-breadcrumb-guillemet, devsite-header .devsite-product-description-row .devsite-breadcrumb-link {
    color: #00de7a !important;
    fill: #00de7a !important;
}

devsite-book-nav {
    background-color: grey;
}

devsite-toc {
    --devsite-nav-heading-color: #006989;
    --devsite-nav-title-color: #006989;
    --devsite-nav-title-nested-color: #006989;
}
}

Reviews

No reviews yet.