Skip to content

HackerRank - Fix for dark theme command color by denilsonsa

Screenshot of HackerRank - Fix for dark theme command color

Details

Authordenilsonsa

LicensePublic Domain

Categoryhackerrank

Created

Updated

Size644 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

When using the dark theme, the Vim-style command input was unreadable due to dark text on dark background.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           hackerrank.com - Dark theme command input color fix
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    When using the dark theme, the Vim-style command input is unreadable due to dark text on dark background.
@author         Denilson
==/UserStyle== */

@-moz-document domain("hackerrank.com") {
    /* Fixed unreadable vim-style command input if using dark theme. */
    html .hr-monaco-editor-statusbar .statusbar-message-container .statusbar-command-input {
        color: inherit;
    }
    html .custom-input.theme-old .input {
        color: inherit;
    }
}

Reviews

No reviews yet.