Skip to content

$hasLessContrastPreference ​

ts
const $hasLessContrastPreference: Signal<boolean>;

A signal indicating whether the user prefers less contrast.

Example ​

ts
import { $hasLessContrastPreference } from "@monstermann/signals-web";

$hasLessContrastPreference(); // false