Skip to content

Prevent white flash, enforce dark theme | PixAI by bruno

Screenshot of Prevent white flash, enforce dark theme | PixAI

Details

Authorbruno

LicenseNo License

Categorypixai

Created

Updated

Size637 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

No flashes, no flickering, no white torches in your face

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Prevent white flash, enforce dark theme | PixAI
@namespace      github.com/openstyles/stylus
@version        0.0.1
@description    No flashes, no flickering, no white torches in your face
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://pixai.art/") {
    :root, html, body, #root {
        background-color: rgb(37, 38, 40) !important;
    }

    #app .bg-white {
        background-color: hsla(0, 0%, 0%, 0.09);
    }

    #app .border-gray-300 {
        border-color: rgba(0, 0, 0, 0.72);
    }

    #app .bg-purple-100 {
        background-color: hsl(276, 5.5%, 17.8%);
    }
}

Reviews

No reviews yet.