From ba701d0fc48b15bceaf11eca9af2a9aa826d5e24 Mon Sep 17 00:00:00 2001 From: Bruno Crosier Date: Tue, 26 Jul 2022 22:34:29 +0100 Subject: [PATCH] Update documentation around `defaultTheme` The previous documentation referred to using ``, but this is no longer necessary --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 082c699..045baff 100644 --- a/README.md +++ b/README.md @@ -131,10 +131,10 @@ The [Live Example](https://next-themes-example.vercel.app/) shows next-themes in ### Use System preference by default -The `defaultTheme` is "light". If you want to respect the System preference instead, set it to "system": +For versions above v0.0.12, the `defaultTheme` is automatically set to "system", so to use System preference you can simply use: ```js - + ``` ### Ignore System preference