Skip to content

Commit

Permalink
Add auto light/dark docs to README
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisdoesstuff authored Mar 19, 2022
1 parent 4d2458d commit 5cabe95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ In the `app.css` file you can change the variables for both themes (Dark and Lig

### 🌑 Auto change theme

The theme can be automatically changed by the OS' current theme or personalized hours
The theme can be automatically changed by the OS' current theme, set hours, or following sunrise/sunset.
that you can change in the `config.js` file:

```js
Expand All @@ -276,6 +276,9 @@ that you can change in the `config.js` file:
changeThemeByHour: true, // If it's true, it will use the values below:
hourDarkThemeActive: '18:30', // Turn on the dark theme after this hour
hourDarkThemeInactive: '07:00', // Turn off the dark theme after this hour and before the above hour

// Autochange automatically based on location (sunrise/sunset). Openweathermap API key required.
changeThemeByLocation: false,
```

![](assets/img/darkMode.png)

0 comments on commit 5cabe95

Please sign in to comment.