Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanMTech committed Aug 1, 2020
1 parent 82af1a6 commit 52c93b0
Showing 1 changed file with 74 additions and 2 deletions.
76 changes: 74 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,74 @@
# ios_dark_mode_theme
🎨 By JuanMTech -- A Home Assistant theme inspired on the iOS dark mode interface.
# iOS Dark Mode

A Home Assistant theme inspired on the iOS dark mode interface.
<br />
<br />

[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)


[![Subscribe to YouTube channel][youtube-sub-shield]][youtubesubscribe]

[![Become a Patron][become-a-patron-shield]][becomeapatron]

[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
<br />
<br />

### Screenshots

![iOS Dark Mode 1](https://raw.githubusercontent.com/JuanMTech/ios_dark_mode_theme/master/images/iOS%20Dark%20Mode%201.jpg)<br />
<br />
![iOS Dark Mode 2](https://raw.githubusercontent.com/JuanMTech/ios_dark_mode_theme/master/images/iOS%20Dark%20Mode%202.jpg)<br />
<br />
![iOS Dark Mode 3](https://raw.githubusercontent.com/JuanMTech/ios_dark_mode_theme/master/images/iOS%20Dark%20Mode%203.jpg)<br />
<br />

### Preparation
1. Make sure that under the **configuration.yaml** file you have the following:

```
frontend:
themes: !include_dir_merge_named themes
```

2. Under the Home Assistant **Config** folder, create a new folder named **themes**
3. **Restart** Home assistant to apply the changes.

### HACS installation
1. Go into the Community Store (HACS)
2. Search for **iOS Dark Mode**
3. Open the theme
4. Press Install
5. Restart Home Assistant

### Manual installation
1. In the Home assistant **themes** folder, create a file named `ios_dark_mode.yaml`
2. In this GitHub repo, go into the **themes** folder, open the `ios_dark_mode.yaml` file and copy the content
3. Paste the content in the `ios_dark_mode.yaml` file created under your Home Assistant themes folder

### Enable theme
1. Open your Home Assistant **Profile**
2. Under, **Themes**, select the new **iOS Dark Mode** theme


### Custom Header settings
When using the [Custom Header](https://github.com/maykar/custom-header) plugin, add the following to make sure that the header matches the theme.

```
custom_header:
compact_mode: true
background: var(--app-header-background-color)
elements_color: var(--app-header-text-color)
active_tab_color: var(--state-icon-active-color)
tab_indicator_color: var(--state-icon-active-color)
```



[buymeacoffee-shield]: https://i.imgur.com/Hzn2rM8.png
[buymeacoffee]: https://www.buymeacoffee.com/JuanMTech
[become-a-patron-shield]: https://i.imgur.com/U9BjCfc.png
[becomeapatron]: https://www.patreon.com/JuanMTech
[youtube-sub-shield]: https://i.imgur.com/6TAqHgi.png
[youtubesubscribe]: https://www.youtube.com/c/JuanMTech?sub_confirmation=1

0 comments on commit 52c93b0

Please sign in to comment.