Skip to content

cinni.net scrollbar fix for firefox by Barracuda

Screenshot of cinni.net scrollbar fix for firefox

Details

AuthorBarracuda

LicenseNo License

Categoryhttps://cinni.net

Created

Updated

Size606 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

All it does is add color to the scrollbars for users using firefox ¯_(ツ)_/¯

Notes

Like I said in the title, this extension only works in firefox!

Source code

/* ==UserStyle==
@name           cinni.net scrollbar fix for firefox
@namespace      github.com/openstyles/stylus
@version        2.0.0
@description    All it does is add color to the scrollbars for users using firefox ¯\_(ツ)_/¯
@author         Barracuda
==/UserStyle== */
@-moz-document domain("cinni.net") {
    :root,
    html[data-theme="light"] {
        --scrollbar-color: #B255FF rgba(0, 0, 0, 0);
    }

    html[data-theme="dark"] {
        --scrollbar-color: #FFC0CB rgba(0, 0, 0, 0);
    }



    html {
        scrollbar-color: var(--scrollbar-color);
        scrollbar-width: thin;
    }
}

Reviews

No reviews yet.