Skip to content

usePreferredDark

响应式的暗黑主题偏好。

typescript
import { usePreferredDark } from '@uni-helper/uni-use';

const prefersDark = usePreferredDark();

Released under the MIT License.