<!DOCTYPE html>
<html>
<head>
    <meta name="color-scheme" content="dark"/>
    <style>
        body {
            background-color: white;
        }

        input {
            background-color: black;
        }
    </style>
</head>
<body>
<input type="number">
</body>
</html>
