Skip to content

HN Dark by byhemechi

Details

Authorbyhemechi

LicenseNo License

Categorynews.ycombinator.com

Created

Updated

Size684 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

hacker news dark theme

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         news.ycombinator.com - Jan 2024
@version      20240101.06.21
@namespace    ?
==/UserStyle== */

@-moz-document domain("news.ycombinator.com") {
:root {
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    html {
        background: hsl(240deg, 28%, 5%);
    }

    #hnmain {
        background: hsl(240deg, 28%, 7%);
        color: #fff;

        /* Keep header items black */
        & > tbody > tr:first-child a {
            color: black;
        }
    }

    .titleline > a:first-of-type {
        color: #ddd;
    }

    .c00 {
        color: hsl(0 0 80%);
    }

    a:link,
    .c00 a:link {
        color: #828282
    }
}
}

Reviews

No reviews yet.